Path of my exe file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Maybe my question is trivial, but I need to get fullpath of my exe file where from it is executed esspecialy, when the directory with exe file is not current directory

Thanks.
 
Ivan said:
Maybe my question is trivial,

It is. :-)
but I need to get fullpath of my exe file where from it
is executed esspecialy, when the directory with
exe file is not current directory.

GetModuleFileName().

Regards,
Will
 
Back
Top