From: Martin Date: 2002-02-25T19:00:23+09:00 Subject: Re: Changing program name on Win32 On Saturday 23 February 2002 20:59, Michael Witrant wrote: > Hello, > > I would like my programs running through rubyw.exe not be called Rubyw in > the task manager (ctrl-alt-del...). These programs run in background and > they all have the same name. > > I think if I created a window, Windows would give the name of the window to > the program. But these programs don't have any GUI. > > I tried to call the Win32API CreateWindowEx to create a fake windows, but > it requires a HINSTANCE I don't have. > Its been a while since I did anything on windows, but can you do something like GetModuleHandle() then GetModuleInstance()? Cheers, Martin Hart