Browse - programming tips - win32 get name of the current programDate: 2008jun10 Language: C/C++ Platform: win32 Q. How do I get the name of the current program? A. Use GetModuleFileName with NULL as the first parameter. For example: char szMe[MAX_PATH]; GetModuleFileName(NULL, szMe, sizeof(szMe));
Add a commentSign in to add a comment | Advertisements:
|