is this the right way for a dll to call a function ?

Started by
-1 comments, last by Metal Typhoon 21 years, 5 months ago
#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
Metal Typhoon

This topic is closed to new replies.

Advertisement