应该是: | VB6 | VB.Net int | Long |Short unsigned char | Byte |Byte unsigned short | Integer |Short unsigned int | Long |Integer signed char | Byte |Byte signed short | Integer |Short signed int | Long |Integer _int64 | (无) |Long long | Long |Integer
应该是: | VB6 | VB.Net int | Long |Short unsigned char | Byte |Byte unsigned short | Integer |Short unsigned int | Long |Integer signed char | Byte |Byte signed short | Integer |Short signed int | Long |Integer _int64 | (无) |Long long | Long |Integer
declare Sub myfunction Lib 库名 (Byval host as string, ByRef port As dpl_port_t, ByRef conn As conn_desc)Char* 可以直接传入指针
其它必须ByRef
| VB6 | VB.Net
int | Long |Short
unsigned char | Byte |Byte
unsigned short | Integer |Short
unsigned int | Long |Integer
signed char | Byte |Byte
signed short | Integer |Short
signed int | Long |Integer
_int64 | (无) |Long
long | Long |Integer
| VB6 | VB.Net
int | Long |Short
unsigned char | Byte |Byte
unsigned short | Integer |Short
unsigned int | Long |Integer
signed char | Byte |Byte
signed short | Integer |Short
signed int | Long |Integer
_int64 | (无) |Long
long | Long |Integer