我写了个WINAPI的DLL,代码如下:
#include <windows.h>
#include <stdio.h>
WINAPI int add(int a,int b)

return (a+b);
}
编译后没有错
但要把int型都变成long型,再编译就会出错,希望高手指教!