Get program name
-
Hi all. Is there some API or standard function to call to retrive the current name of the program running? Something like GetCurrentProcessId(), maybe something like GetCurrentProgramName() or something of the sort. Google and Yahoo dont seem to help and i dont know where to begin this sort of search. Any suggestions? Thanx in advance.
-
Hi all. Is there some API or standard function to call to retrive the current name of the program running? Something like GetCurrentProcessId(), maybe something like GetCurrentProgramName() or something of the sort. Google and Yahoo dont seem to help and i dont know where to begin this sort of search. Any suggestions? Thanx in advance.
GetModuleFileName()[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hi all. Is there some API or standard function to call to retrive the current name of the program running? Something like GetCurrentProcessId(), maybe something like GetCurrentProgramName() or something of the sort. Google and Yahoo dont seem to help and i dont know where to begin this sort of search. Any suggestions? Thanx in advance.
Do you want to know current name of your program or other programs?
WhiteSky