is there something Im missing?
I have three files: project.h, project.cpp, projectMain.cpp
project.h where I create my class, member function and data. In member function area has drawMyText().
project.cpp where I create the constructor and initialize data member and many more functions. beside that I also add this: #include "project.h"
projectMain.cpp is where my main function is located. I add #include "project.h"
Here is the problem, inside my WinProc it has WM_PAINT to draw out the text which it has to call the drawMyText(), and that is when I have error syaing that drawMyText() is not yet defined. I don't know why. This works when I use console application, but not in WinAPI. Anybody know why I have this error?
thanks

