Page 2 of 2

Posted: Tue Aug 31, 2004 5:20 am
by w00t
My emphasis was on either, or

I understand how to do it, but do both?

Posted: Tue Aug 31, 2004 5:39 am
by aquanight
I think Unreal's standard WinMain simply checks if the service is installed and if so sends itself an SCM Start, and if not, start the GUI. Not 100% sure on this.

Of course, starting via SCM goes straight to ServiceMain() (as codemastr mentioned ;p ).