之前都是自己写动态库,然后有头文件和lib文件,所以一直使用的是静态链接。
如果使用三方提供的动态库 只有DLL和接口文档 应该如何一次性加载进去。类似DELPHIfunction aaa(const strTmp:lpstr; var strLen:integer): integer;stdcall; external 'termb.dll';
如果使用三方提供的动态库 只有DLL和接口文档 应该如何一次性加载进去。类似DELPHIfunction aaa(const strTmp:lpstr; var strLen:integer): integer;stdcall; external 'termb.dll';
LoadLibrary
GetProcAddress
加载
应该 有个 ‘。lib’文件。
没有 试试 从 dll ,做个 lib
LoadLibrary
GetProcAddress 这一种方式吗?