is this the right way for a dll to call a function ?
#define DLLIMPORT extern "C"_declspec (dllimport)
DLLIMPORT LRESULT CALLBACK WndProc (HWND,UINT,WPARAM,LPARAM);
and i plan on using this on the window creation...
Wc.lpfnWndProc = WndProc;
but how do i make on my other prog a wndproc function to be sent to the dll so it will use it on one export function "a window wrapper" ??? thx in advance
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement