Re: In the need for some advice!
- From: "Simon Trew" <noneofyour@xxxxxxxxxxxx>
- Date: Wed, 22 Mar 2006 18:22:33 -0000
Declare the callbacks in the header but define them out-of-line in a .cpp
file:
example.h:
// Don't have to specify parameter names if you don't want to.
LRESULT CALLBACK CW1_WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM
lParam);
example.cpp:
#include "example.h"
LRESULT CALLBACK CW1_WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM
lParam)
{
// definition here
};
S.
.
- Prev by Date: Re: Link error converting VC6 to VC8
- Next by Date: Re: Notification when a shared file is closed by other program
- Previous by thread: VC++2005: sometimes compiles very fast and sometime 12(!) fold slower
- Next by thread: Re: In the need for some advice!
- Index(es):
Relevant Pages
|