please help....i always seems to have a problem here. i have two functions
that i have in my DLL, my app loads the DLL and uses GetProcAddress to have
the functions. but in the debuger it tells me: The vale of ESP was not
properly saved across a fucntion call. This is usally a result of calling a
function declared with one calling convetion with a function declared with a
different calling conventions
and i cant figure out how i am making them different.....please help! below
is the code
thanks ahead, as always.
sergio
in my DLL
#define XDLL __declspec(dllexport)
XDLL int BringItDown (void)
XDLL int HookItUp (HWND wMainExe)
and this is what i do in my APP
typedef int (WINAPI *pfnHookItUp)(IN HWND hWnd);
pfnHookItUp MyHookItUp;
typedef int (WINAPI *pfnBringItDown)(void);
pfnBringItDown MyBringItDown;