[:(!]声明动态库函数,调用总是不成功,应该是那里的问题。望大家帮助。
具体如下:
 function GatherClient(GatherFile:string;strGatherReceiverIP:string;iGatherReceiverPort:integer):integer;stdcall external 'GatherClient.dll';调用:i:=GatherClient('GASS060719102338.txt','127.0.0.1',19275);系统提示是:access violation at adress6bc8bc2 in module mfc42.dll