View Single Post
  #3 (permalink)  
Old 08-10-2006, 08:31 PM
RickD's Avatar
RickD RickD is offline
Member
 
Join Date: Jan 2006
Location: Eastern Europe
Posts: 54
RickD is on a distinguished road
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.
Reply With Quote