Try to declare function with standard calling convention, like
extern "C" _declspec (dllexport) WINAPI int AddNums (int a, int b)
Type: Posts; User: pepi
Try to declare function with standard calling convention, like
extern "C" _declspec (dllexport) WINAPI int AddNums (int a, int b)
Hi,
i mean you can move dlls in the other folder, but make sure, that path variable contains target directory. In program code I mean it's no possible, because windows uses fixed searching way.
PePi
Hi,
the function must return value LRESULT:
afx_msg LRESULT OnNewPacket(WPARAM wParam, LPARAM lParam);
and the similar changes in cpp file.
PePi