Click to See Complete Forum and Search --> : How to get filename of executable?


ReneG
March 17th, 2004, 04:06 AM
Hi, i need to get the name of my execuable at runtime, but how? My program is a Win32 app, so i can't use the arguments in main(), as it's WinMain().

Any help greatly appreciated!

Best regards
Rene G.

Andreas Masur
March 17th, 2004, 04:09 AM
Take a look at the following FAQ (http://www.codeguru.com/forum/showthread.php?s=&threadid=231176)...

ReneG
March 17th, 2004, 04:10 AM
Ahhhh, thanks alot!! :D

Andreas Masur
March 17th, 2004, 04:13 AM
You are welcome...