| Win32 Class Struggle |
[20 Aug 2006|06:42pm] |
To make a long story short I've got a number of very basic .cpp classes where I've got the .h:
class: myclass { public: myclass(); };
and then the .cpp:
#include [ Error: Irreparable invalid markup ('<windows.h>') in entry. Owner must fix manually. Raw contents below.] To make a long story short I've got a number of very basic .cpp classes where I've got the .h:
class: myclass { public: myclass(); };
and then the .cpp:
#include <windows.h> #include "myclass.h"
myclass::myclass() (;)
I know that this works because I have no problem running these classes in a console applicaiton. However, when I make a new project that is a win32 windows app, I can get the window up and running and process messages etc. The only problem is that I'd like to use my classes and I'm trying to just put
#include "myclass.h"
in the #include list but win32 is not having any of it, I am getting "myclass.h" does not exist. I am using .net. Any advice would be appreciated.
|
|