我的呼叫函式宣告 Function int wsGetAgentInfo ( string pszAppID, string pszAuthenID, string pszAuthenPwd, string pszExtInfo,ref string ppszRsp)Library "XDesign.dll"
函式呼叫:string Rsp ="";
iRet=wsGetAgentInfo(strAppID,strAuthenID,strAuthenPwd,UsrMsg,ref Rsp);
結果Rsp所獲取的回傳值是亂碼
求高手解答 ~~~~感激不盡
uj5u.com熱心網友回復:
PB幾? 10及以上要:Function int wsGetAgentInfo ( string pszAppID, string pszAuthenID, string pszAuthenPwd, string pszExtInfo,ref string ppszRsp)Library "XDesign.dll;ANSI"
uj5u.com熱心網友回復:
PB9.0 能跑起來 就是值不對uj5u.com熱心網友回復:
那需要看看函式原型.uj5u.com熱心網友回復:
你是指DLL里面的函式? 我也不太清楚 不是我封裝的 不過這個程式用C#跑出來了 代碼引數型別和PB差不多 我猜可能是編碼方式不一致導致出的亂碼吧 不知道對不對轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/68328.html
標籤:API 調用
上一篇:求高人幫忙
