I get below error while executing batch job, and status will settle to “Status Waiting”.
Error → "Function ‘MakeSureDirectoryPathExists’ in DLL library ‘IMAGEHLP’ has caused an exception."
Below is my piece of code, where i am passing file path (Network Path).
DLL _winApiDLL = new DLL(‘IMAGEHLP’);
DLLFunction MakeSureDirectoryPathExists = new DLLFunction(_winApiDLL, ‘MakeSureDirectoryPathExists’);
return MakeSureDirectoryPathExists.call(_path);–> Error is thrown after executing this line.
Please help me to resolve this issue.