回复 2楼 bczgvip
VC:
bool _stdcall ST2AT(int,int,char*,char*,char*);
//功能函式:STDF转ATDF
bool _stdcall AT2ST(int,int,char*,char*,char*);
//功能函式:ATDF转STDF
bool _stdcall ST2MG(int,int,char*,char*,char*);
//功能函式:STDF档案合并
bool _stdcall AT2MG(int,int,char*,char*,char*);
//功能函式:ATDF档案合并
bool _stdcall ST2SP(int,int,char*,char*,char*);
//功能函式:STDF档案切割
VB:
Public Declare Function ST2MG Lib "FMain.dll" (ByVal opt As Integer, ByVal FCount As Integer, ByVal FileName As String, ByVal TmpFileNameStr As String, ByVal E_FileName As String) As Boolean
Public Declare Function ST2AT Lib "FMain.dll" (ByVal opt As Integer, ByVal FCount As Integer, ByVal FileName As String, ByVal TmpFileNameStr As String, ByVal E_FileName As String) As Boolean
Public Declare Function AT2ST Lib "FMain.dll" (ByVal opt As Integer, ByVal FCount As Integer, ByVal FileName As String, ByVal TmpFileNameStr As String, ByVal E_FileName As String) As Boolean
Public Declare Function AT2MG Lib "FMain.dll" (ByVal opt As Integer, ByVal FCount As Integer, ByVal FileName As String, ByVal TmpFileNameStr As String, ByVal E_FileName As String) As Boolean
Public Declare Function ST2SP Lib "FMain.dll" (ByVal opt As Integer, ByVal FCount As Integer, ByVal FileName As String, ByVal TmpFileNameStr As String, ByVal E_FileName As String) As Boolean
def映射档:
;FMain.def
LIBRARY FMain
EXPORTS
ST2MG @1
ST2AT @2
AT2MG @3
ST2SP @4
映射是少一个~但是那个目前没用到~VB里也没呼叫到~