Foxtable(狐表)用户栏目专家坐堂 → 关于引用dll的问题


  共有4579人关注过本帖平板打印复制链接

主题:关于引用dll的问题

帅哥哟,离线,有人找我吗?
有点甜
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2017/12/28 12:09:00 [只看该作者]

Public Declare Function INIT Lib "SiInterface.dll" Alias "INIT"(pErrMsg) As Integer

 

改成

 

Public Declare Function INIT Lib "SiInterface.dll" Alias "INIT"(byref pErrMsg as string) As Integer

 

或者试试

 

Public Declare Function INIT Lib "SiInterface.dll" Alias "INIT"(byref pErrMsg as stringbuilder) As Integer

 

------------------ http://www.foxtable.com/webhelp/scr/2097.htm

 

调用的时候,试试

 

Dim S3 As new stringbuilder
Dim S2 As Integer = Init(S3)
msgbox(S2)

 


 回到顶部
总数 42 1 2 3 4 5 下一页