|
-
Jul 19th, 2003, 12:10 AM
#1
Thread Starter
Frenzied Member
Dev will not let me compile function prototype!!
Here is the prototype:
LRESULT CALLBACK WndProc1(HWND, UINT, WPARAM, LPARAM);
Next I have a class (my own window, called Form).
Then I have the actual WndProc1 CALLBACK.
and that is it. No Main or anything.
It is not known if I leave out the prototype.
Error when using the prototype:
main.cpp D:\Files\C__PRO~1\Game\Dev\main.o(.text+0x38)
multiple definition of `_Z8WndProc1P6HWND__jjl@16'
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
|