Posted August 11, 200519 yr In a WIN32 program, how exactly do I get the name of the executable? I googled it, but all the code seems to reference objects I can't access and headers that I don't have...
August 12, 200519 yr Author I googled it, but all the code seems to reference objects I can't access and headers that I don't have....
August 12, 200519 yr char LOLOL[256]; HMODULE HME = GetModuleHandle(NULL); DWORD HEM = GetModuleFileName(HME, LOLOL, sizeof(LOLOL)); i think
August 18, 200519 yr well, if language doesnt matter: Dim a As Reflection.Assembly = System.Reflection.Assembly.GetExecutingAssembly Dim strNameSpace As String = a.GetName.Name.ToString .net rules k?