今天调试一个接口,动态调入一个DLL, 使用
LPCTSTR lpLibFileName // address of filename of executable module
);
The LoadLibrary function maps the specified executable module into the address space of the calling process.
出现无法加载,仔细分析后发现,这个dll需要OCI.dll,这个OCI.dll是什么呢?是 Oracle Call Interface,把文件拷贝到程序目录下,Loadlibrary 就成功了。
放一个在这里:
File description: Oracle Call Interface, v. 9.2.0.1.0
Filesize to download: 31.5 kb
Download:[file]attachment/oci.zip[/file]
Tag: 无法加载dll(oci.dll)
无法加载dll(oci.dll)