请教个DLL方面的问题(10分)

  • 主题发起人 主题发起人 zhanghui6868
  • 开始时间 开始时间
Z

zhanghui6868

Unregistered / Unconfirmed
GUEST, unregistred user!
请教个DLL方面的问题
function GatherClient(GatherFile:pchar;strGatherReceiverIP:pchar;iGatherReceiverPort:integer):integer;stdcall external 'GatherClient.dll';//隐式调用Dll函数

GatherClient('GASS060719102338.txt','127.0.0.1',19275);
上面的一个是声明,一个是调用 ;
运行时系统提示:access violation at adress6bc8bc2 in module mfc42.dll
是什么问题啊?希望大家帮助。
谢谢。
 
你调用的dll是vc写的?
 
是的。是用VC写的。
 
应该是DLL中的代码问题
 
后退
顶部