is there something Im missing?

I can not seem to get this to work in WinAPI because the error saying that my class member function is not defined even though I declare inside my class in the header file.

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
[939 byte] By [mase] at [2007-11-20 11:43:07]
# 1 Re: is there something Im missing?
What does the line that has the compilation error look like ? Please paste that line here and also the compiler's message.
kirants at 2007-11-9 13:32:53 >