I need in class like CBitmap..

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.
Is it an MFC app?
kbw (1965), No
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
Topic archived. No new replies allowed.