Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

Error: "Function 'MakeSureDirectoryPathExists' in DLL library 'IMAGEHLP' has caused an exception"

$
0
0

Dear all,

I am getting the above error message when i am running a batch process. This error message does not occur when i am executing the program normally.

The error message is caused when the control reaches below code:

DLL _winApiDLL = new DLL('IMAGEHLP');
DLLFunction MakeSureDirectoryPathExists = new DLLFunction(_winApiDLL, 'MakeSureDirectoryPathExists');
;

MakeSureDirectoryPathExists.returns(ExtTypes::DWord);
MakeSureDirectoryPathExists.arg(ExtTypes::String);

return MakeSureDirectoryPathExists.call(_path); ----->> this code causes the above error.

 


can any one help me with this ??

Regards,

Ajay K S


Viewing all articles
Browse latest Browse all 17532