??
字號:
調用wfZip動態鏈接庫PB使用說明
放在(Declare)的Global External Functions里面
PowerBuilder格式:
壓縮文件成為ZIP
function boolean ZipTo(string strSourceFileName,string strZipFileName,bool IsKeepPaths,string strRootDir,string strPassword) Library 'wfZip.dll';
參數:strSourceFileName
字符型,如果有多個文件,文件全路徑請用"|"符號分隔
參數:strZipFileName
字符型,要要壓縮的ZIP文件路徑
參數:IsKeepPaths
布爾型,是否保持文件路徑
參數:strRootDir
字符型,相對于文件目錄的壓縮路徑
參數:strPassword
字符型,壓縮密碼
解壓縮ZIP文件
function boolean UnZipTo(string strZipFileName,string strDirectoryPath,bool IsKeepPaths,string strPassword) Library 'wfZip.dll';
參數:strZipFileName
字符型,要要解壓縮的ZIP文件路徑
參數:strDirectoryPath
字符型,ZIP中的文件將要解壓到的目錄
參數:IsKeepPaths
布爾型,是否保持文件路徑
參數:strPassword
字符型,壓縮密碼
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -