我在调用DLL时为什么会出现这个错
project E:\working\vosiPrompt\speakmanage.exe   faulted with message:'access violation at 0x00fd7ac:read of address 0x0025ed00'. Process Stopped.Use Step or Run to continue.
其实dll已经执行完了,但是会弹出上面的错误,然后程序就死掉了,不知哪位大大可以帮我解决
声名  
function mydll(config_file,text, sVoxFileName:PChar;canput:integer):integer ;stdcall;
   external 'test.dll' name 'mydll';VC中dll声明
extern "C" _declspec(dllexport)  int mydll(char *config_file,char *text,char *sVoxFileName, int canput)