Code:
  lProcAdr = (long)(&DoTheWork);
what do if i change DoTheWork to :
Code:
LRESULT CALLBACK GetMsgProc(int nCode, WPARAM wParam, LPARAM lParam)
I got Error when i do this
Code:
  lProcAdr = (long)(GetMsgProc);