Jason Hihn wrote: BUT SOME HOW ONE GOT SUPPLIED TO IT. I accidentaly I ran it on my PC (remember it's a service, it's supposed to be started that way, plus I'm running Win98, which doesn't have full NT-Services) and it put me into a WinMain. Where I came from, I don't know... then I remembered to check the subsystem. AFAIS from your original post, your app is linked against MFC42.dll. Are you sure you are not using MFC? I only ask, because it sound quite suitable to me, that MFC42.dll contains your "mysterious WinMain()". -- Daniel Lohmann http://www.losoft.de