Wednesday, January 08, 2014

compiling with Visual Studio 2008 Express

Some of the stuff I went through - once again, just a link dump:

fatal error C1083: Cannot open include file: 'afxwin.h'

Apparently this is because MFC is not included with VS Express.
had to google for ddk, found a link at

Similarly, after building in debug mode, there was the error on running the application that MFC42D.DLL was not found. Since I did have  MFC42.DLL, I just rebuilt it in Release configuration, and the application worked fine. Other resources for these are this MS forum thread and this useful tool.

Initializing window size on starting of application using a call to MoveWindow. Unfortunately, it does not allow the window size to be greater than the size of the screen. So, I can't make AVI using AVI generator demo which are 1920 x 1080, since the window decoration makes the client rect smaller than 1920 x 1080 even if my screen resolution is that big. 

Tried with adding scrollbars, but only the part of the window which is visible is rendered in the avi. Rest is black. 
hardcoded to
createwindow() |=   WS_HSCROLL | WS_VSCROLL;

hard coded
and in setbitmapheader in avigenerator

// changing size of image so dimension are multiple of 4
    // hack - hard coding to 1920 x 1080;;

Have stopped working on this for now. Maybe Fluag will work if the developer responds.

No comments:

Post a Comment