|
-
September 23rd, 1999, 06:17 PM
#1
static member function
I'm trying to define a class member function as static. When the class is defined in the .h and the implementation is in the .cpp. I keep getting the following error:
"...error C2724: 'WndProc' : 'static' should not be used on member functions defined at file scope"
Why ?
When writing the implementation in the class, the error does not occur.
Again, why ?
TIA, Ronen.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|