Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.
- Posts: 1136
- Joined: Thu Mar 25, 2004 3:31 am
- Location: Nowra, Australia
My emphasis was on either, or
I understand how to do it, but do both?
- Official supporter
- Posts: 862
- Joined: Tue Mar 09, 2004 10:47 pm
- Location: Boise, ID
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 ).