VB如何调用VC编写的DLL?
在VB中代码如下:
Private Declare Function GetGrantTest Lib "grant.dll" (ByVal m_UserName As String, ByVal m_Password As String, ByVal m_PcName As String) As Long
在VC中代码如下:
int _stdcall GetGrantTest(char* m_szSymbol, char* m_szPassWord, char* m_szPcName);
可是调用时出错,说找不到入口点。
请问该怎么办?