getting the filename and the current directory of our program

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

Guest

I want to get the real name of my .exe and the current directory if the user change it, but i haven't find a function that do the job.
Please help

Thanks
 
I want to get the real name of my .exe and the current directory if the user change it, but i haven't find a function that do the job.

I suspect GetModuleFileName (with a NULL module handle) is what you're
looking for.

Dave
 
Back
Top