|
From: whack er <wha...@ya...> - 2003-12-02 13:21:59
|
I just found that the Wrapper does not actually exit after the Java GUI is closed. I have now added a PostQuitMessage(0); call at the end of WinMain annd now the wrapper does not run after the app exit. whack er <wha...@ya...> wrote: Dear all I just did not want the console to be around while running on Windows XP and also did not want the wrapper to run as a service. Using Leif's reply on the list stating that a seperate executable had to be made, I have done the following: Compiled the c sources to create a Wrapper.exe that uses WinMain as the entry point rather than main. I have hardcoded the command line argument part for now and I will change this to read the WinMain cmdline when I have the time, may be some small modifications to run a GUI console (for debugging use). As of now my Wrapper works fine on Windows XP as a Windows application (no console window). I will post to the list if anything major comes up. USE THIS INFORMATION AT YOUR OWN RISK. TIA --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now |