有一函数:
void abc(char* sInputInof, char* sOutputInfo);
到VB6.0我是这样申明的:
Private Declare Function abc Lib "xxx.dll" (ByVal inputInfo As String, ByRef outputInfo As String)调用什么的都正常,但是实际传进去的两个参数都是没有值的,是我类型定义错了吗?急,求各位大哥解答,在线等...
void abc(char* sInputInof, char* sOutputInfo);
到VB6.0我是这样申明的:
Private Declare Function abc Lib "xxx.dll" (ByVal inputInfo As String, ByRef outputInfo As String)调用什么的都正常,但是实际传进去的两个参数都是没有值的,是我类型定义错了吗?急,求各位大哥解答,在线等...
outputInfo = Space(256)
abc inputInfo, outputInfo或Private Declare Sub abc Lib "xxx.dll" (ByRef inputInfo As Byte, ByRef outputInfo As Byte)Dim inputInfo(256) As Byte
Dim outputInfo(256) As Byteabc inputInfo(0), outputInfo(0)