Hi Rohit,
There's an API call GetModuleFileName, and passing NULL for the module handle will get the filename for the currently executing process.
Regards,
Bevan
Rohit Gupta wrote:
When running as a service, is there any easy way to determine the path of the executable ?
Regards
Rohit
======================================================================
CFL - Computer Fanatics Ltd. 21 Barry's Point Road, AKL, New Zealand
PH (649) 489-2280 FX (649) 489-2290
email [EMAIL PROTECTED] or [EMAIL PROTECTED]
======================================================================
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
