pb dll 解压缩 MyZip.dll
li_rtn = GetFileOpenName("Select File", docpath, docname[], "ZIP",+ "Text Files (*.zip),*.zip," + "All Files (*.*), *.*", " ", 18)
MyZip_ExtractFileAll('D:\work\JSWTest\11.zip','C:\WINDOWS\Temp\11')
为什么这么执行的时候 解压缩的函数就报错:Error opening DLL library MyZip.dll for external functoin...
但是当先执行解压缩的函数就一切正常
这两个函数的dll也不是同一个
为什么会报错?
怎么处理
[解决办法]
String ls_dir
ls_dir = GetCurrentDirectory()
li_rtn = GetFileOpenName("Select File", docpath, docname[], "ZIP",+ "Text Files (*.zip),*.zip," + "All Files (*.*), *.*", " ", 18)
ChangeDirectory(ls_dir)
MyZip_ExtractFileAll('D:\work\JSWTest\11.zip','C:\WINDOWS\Temp\11')
这样试试
[解决办法]
感觉是路径的问题!
MyZip.dll放入window\system32下试试
[解决办法]
应该是路径的问题
String ls_path
ls_path = GetCurrentDirectory()
li_rtn = GetFileOpenName("Select File", docpath, docname[], "ZIP",+ "Text Files (*.zip),*.zip," + "All Files (*.*), *.*", " ", 18)
IF li_rtn < 1 THEN return
ChangeDirectory(ls_path)
MyZip_ExtractFileAll("D:\work\JSWTest\11.zip","C:\WINDOWS\Temp\11")