我在VC编写里动态连接库里面定义了这么个回凋函数
int __stdcall LedShow(int first_Addr,int com_Numb,int led_Numb,char *txt_Display)
然后我在VB里面
Declare Function LedShow Lib "LedDisplay.dll" (ByVal first As Integer, ByVal comm_port As Integer, ByVal lednum As Integer, ByRef cm As string) As IntegerLedShow(0, 15, 1, "123")
可是我跟踪发现我的123没有传到*txt_Display里面去
请问高手怎么解决啊
int __stdcall LedShow(int first_Addr,int com_Numb,int led_Numb,char *txt_Display)
然后我在VB里面
Declare Function LedShow Lib "LedDisplay.dll" (ByVal first As Integer, ByVal comm_port As Integer, ByVal lednum As Integer, ByRef cm As string) As IntegerLedShow(0, 15, 1, "123")
可是我跟踪发现我的123没有传到*txt_Display里面去
请问高手怎么解决啊
解决方案 »
- ADO连接EXCEL出现“run time error”是怎么回事 谢谢
- 请问怎么才能用VB真正删除一张.dbf表中的所有记录
- for 循环语句问题 ,请各位大侠帮忙
- 发布后软件在别的机子运行,控件text和Label的字为什么看起来怪怪的?
- 为什么纯技术问题的回答就这么少?想不通。
- 摇号软件
- 急急急,请教在桌面上建立快捷方式的问题???
- 请问怎么把一个形如“2.5"的字符串转换为一个浮点数呢?(内空)
- 用vb可以编出让别的程式比如delphi用的dll吗?
- 如何把一个应用程序“粘”在我程序Form或Form的PictureBox中?
- 系统是WIN2003SERVER的VB6精简斑的 生成的可执行的文件EXE怎么不能别的机子上跑啊!!!哭求!!!!!!!!!!!!
- 谁能动态加载控件,并响应该控件的事件?
txt_Display="123"
LedShow(0, 15, 1, txt_Display)
txt_Display="123"
LedShow(0, 15, 1, txt_Display)