I'm not sure which forum is the correct one to post this in. There doesn't seem to be any forums relating directly to directx, or specifially directshow.
I'm trying to build a new user interface on top of the DVD sample app that came in the directx sdk samples. My problem is that for some reason I cannot declare a CBitmapButton.
The error is clear, I haven't added the proper library (afxext), but when I add the include for that library it gives me a windows.h is already included error.
fatal error C1189: #error
: WINDOWS.H already included. MFC apps must not #include
It seems the directshow library includes windows.h as well so when it gets to the ifndef windows line in one of the libraries it gives that neato error. Here is the offending snippet of code:
// afxv_w32.h - target version/configuration control for Win32#ifdef
WINDOWS.H already included. MFC apps must not #include #endif
Am I just forgetting something simple or doing something stupid here? Any help is appreciated!