I need in class like CBitmap..

Jul 29, 2010 at 8:55pm
Where I can get this. Because when i include lib #include "afxwin.h"
next error is appeared:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
Error executing cl.exe.
Jul 30, 2010 at 9:44am
Jul 30, 2010 at 9:58am
Is it an MFC app?
Jul 30, 2010 at 4:26pm
kbw (1965), No
Jul 31, 2010 at 9:34pm
I've never used MFC classes without an MFC app. However, I can't think of a reason why you should be able to use the CBitmap class as it's not involved in message handling.

You could play along with the compiler and use afxwin,h instead of windows.h. Have you decided how you're going to specify linking with MFC libs?
Last edited on Jul 31, 2010 at 9:35pm
Topic archived. No new replies allowed.