我想动态调用DLL,声明了这两个类型,但编译时总提示函数需要返回值。为什么啊?
我看别的例子都是这样用的啊
Type TStrEncrypt = function StrEncrypt(const sInput: string): string; stdcall;
Type TStrDecrypt = function StrDecrypt(const sInput: string): string; stdcall;
...全文
8710打赏收藏
动态调用Dll
我想动态调用DLL,声明了这两个类型,但编译时总提示函数需要返回值。为什么啊? 我看别的例子都是这样用的啊 Type TStrEncrypt = function StrEncrypt(const sInput: string): string; stdcall; Type TStrDecrypt = function StrDecrypt(const sInput: string): string; stdcall;