quote:
Originally posted by felipEx
quote:
Originally posted by a0369
c code:
__declspec(dllexport) int __stdcall GetScreenSize(int avar)
I had to use:
c code:
__declspec(dllexport) int GetScreenSize(int avar)
the documentation says you must use __stdcall calling convention.
quote:
FunctionName
[string] Name of the function as specified in the export table of the library. The function must use the __stdcall calling convention. See Remarks.