用myzip.dll解压遇到的问题

pubble 2003-08-06 03:01:52
Function ulong MyZip_ExtractFile(string ZipFile,string srcName,string DstNamer) Library "MyZip.dll"

然后调用函数
MyZip_ExtractFile(ZipFile,srcName,DstName)

错误提示
bad runtime function reference.......

神阿,救救我吧
...全文
185 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
playguy 2003-08-07
  • 打赏
  • 举报
回复
C语言函数调用要考虑到转义字符:
c:\\windows\\help
要这样写,就没有问题了。

可以去这里看一看,绝对精彩:
http://www.aslike.net
  • 打赏
  • 举报
回复
要写成这样的
c:/winnt/system
  • 打赏
  • 举报
回复
Function Integer MyZip_ExtractFileAll( string ZipFile,string PathName ) Library "myzip.dll"
Function Integer MyZip_ExtractFile( string ZipFile, string srcName, string DstName) Library "myzip.dll"
定义如上:
解压时
文件的路径是这样
如:
c:\winnt\system
要写成这样的
我用的方法!!!

1,077

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder 相关问题讨论
社区管理员
  • 基础类社区
  • WorldMobile
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧