C写的函数:
int DataReceive( char *pVarPara, char *pRetInfo )
{
...
}
pVarPara为入口参数,pRetInfo为出口参数。
VB中调用:
Dim i As Integer
Dim strVar As String
Dim strRetInfo As String * 10
i = DataReceive(strVar, strRetInfo)
strVar入口参数能传进去值,并且执行
问题: 1、i 接收不到返回值;
2、出口参数strRetInfo接收不到值。
int DataReceive( char *pVarPara, char *pRetInfo )
{
...
}
pVarPara为入口参数,pRetInfo为出口参数。
VB中调用:
Dim i As Integer
Dim strVar As String
Dim strRetInfo As String * 10
i = DataReceive(strVar, strRetInfo)
strVar入口参数能传进去值,并且执行
问题: 1、i 接收不到返回值;
2、出口参数strRetInfo接收不到值。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货