GetModuleFileName :) Do a search and it's dead simple.
PS: I only give the function and say "search for it" because that way you find other related things that MSDN has to offer while looking at other support functions.
Printable View
GetModuleFileName :) Do a search and it's dead simple.
PS: I only give the function and say "search for it" because that way you find other related things that MSDN has to offer while looking at other support functions.
Yeah, but it was hidden with under the category for DLL functions...
Thanks, parksie.
Did they change the name? My copy of the Platform SDK has it under "DLLs and Processes".
Either way it's lovely and confusing :D
I'm using July 2001 MSDN, and it's listed under "Dynamic-Link Library" but not "Process and Thread"...
Ah okay I see - I was looking one level up :D It's all interlinked from other parts so I normally look things up in the index.