VB调用一个C++SDK 的问题
VC函数原型:DWORD WINAPI TMNVNET_LogonServer(LPCSTR lpszServerIP,WORD wServerPort,LPCSTR lpszUserName,
LPCSTR lpszPsw,TRANS_SERVER_INFO *pTranServerInfo,LPVOID *lpHandle);
转换为VB API
Private Declare Function TMNVNET_LogonServer Lib "NVSDK" (ByVal lpszServerIP As String, ByVal wServerPort As Long, ByVal lpszUserName As String, ByVal lpszPsw As String, ByVal pTranServerInfo As Long, ByVal lpHandle As Long) As Long
转换后好像有问题```找不到入口点`希望各位大牛帮我看看`添加别名后
Private Declare Function TMNVNET_LogonServer Lib "NVSDK" Alias "TMNVNET_LogonServerA" (ByVal lpszServerIP As String, ByVal wServerPort As Long, ByVal lpszUserName As String, ByVal lpszPsw As String, ByVal pTranServerInfo As Long, ByVal lpHandle As Long) As Long
= = 函数未定义
注: 这是一个SDK包`但是例子里只有C++的没有VB的`所以我在想转为VB的可行性~
补充:VB , 非技术类