vc中写的是:extern "C" unsigned __declspec(dllexport) __cdecl SendSMS(void *p_DestNo, void *p_SvcType,
    unsigned p_Length, void *p_Content, unsigned char p_TpUid, unsigned char p_TpUdhi,
    void *p_ScheduleTime, unsigned short p_ExpireTime, unsigned short p_Times, unsigned short p_Interval,
    void *p_ChargeNo);VB的模块中写的是:
Declare Function SendSMS Lib "E:\SMS\xboxdll.dll" (ByVal DestNo As String, ByVal SvcType As String, ByVal Length As Integer, ByVal Content As String, ByVal TpUid As Integer, ByVal TpUdhi As Integer, ByVal ScheduleTime As String, ByVal ExpireTime As Integer, ByVal Times As Integer, ByVal Interval As Integer, ByVal ChargeNo As String) As Integer然后用i = SendSMS("13000000000", "TEST", 4, "TEST", 0, 0, "", 1, 1, 1, "0")调用
VB提示实时错误“49”
DLL调用约定错误。
请问为什么啊?