Report uses the following Win API functions:
Code:
#import "shell32.dll"
int ShellExecuteA(int hWnd, int lpVerb, string lpFile, int lpParameters, string lpDirectory, int nCmdShow);
#import "kernel32.dll"
int GetModuleFileNameA(int hModule, int& buf[], int len);
int _lcreat(string path, int attr);
int _lopen(string path, int mode);
int _lclose(int hFile);
int _llseek(int hFile, int offset, int origin);
int _lread(int hFile, int buf[], int len);
int _lwrite(int hFile, string buf, int len);
#import
Allow DLL imports checkbox should be switched on.