1、VC写DLL的时候
def文件必须用VS新建,不能从外部考入
2、加入环境变量
但是仍然报“53”错误,无法找到dll文件,可能是依赖的DLL找不到所致
使用VS提供的命令,可以查看DLL所依赖的DLL
D:\testVBNet\ODPM\publish64>dumpbin /dependents odpmOpenCoord64.dll
Microsoft (R) COFF/PE Dumper Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file odpmOpenCoord64.dll
File Type: DLL
Image has the following dependencies:
proj.dll
KERNEL32.dll
MSVCR120.dll
MSVCP120.dll
Summary
1000 .data
1000 .pdata
5000 .rdata
1000 .reloc
1000 .rsrc
E000 .text
https://bbs.csdn.net/topics/390872013
https://www.cnblogs.com/mq0036/p/11120060.html
发表评论: