You may be interested to know that PWLib contains all the necessary code to implement a "service process" for all Windows operating systems from Win 98 through to XP. This included the ability to display an icon in the systray window with a menu that allows the process to be stopped or started. Craig On Tue, 20 Jul 2004 15:19:20 +0100 "Franz J Ehrengruber \(iptelenet\)" <franz@xxxxxxxxxxxxx> wrote: > > > Howabout stating as a service when one of the 5 arguments you mention > > are on the command line ? Or a switch -RunAsService ? > I like that one too. Disadvantage - if users run the gk as a console process > only the executable contains the redundant service code which may be > significant. > > > Is there a way to avoid the #ifdef ? I don't like having to provide 2 > > different executables. > Advantage - easy segregation of service versus console app code. > > The 3rd option is perhaps not so popular, but MS ceases Windows 9x support > in the near future. From that point of view we could perhaps scrap the > console app all together and concentrate on a sole service process > implementation.(Windows only) > > Franz. > > Michal, your comments please - thank you. ----------------------------------------------------------------------- Craig Southeren craigs@xxxxxxxxxxxxxxxxx / craigs@xxxxxxxxxxxxx Phone: +61 243654666 ICQ: #86852844 Fax: +61 243673140 MSN: craig_southeren@xxxxxxxxxxx Mobile: +61 417231046 Jabber: craigs@xxxxxxxxxxxxxxxxxxxx Post Increment - Consulting & Services http://www.postincrement.com Vox Gratia - The Open Source VoIP portal http://www.voxgratia.org Raving Of A Strange Mind - the VoIP blog http://www.southeren.com/blog ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/