> The ideal would be to start it as a service, but
> I don't think that's possible. Anyone have any
> ideas ?

Try looking at : http://www.kcmultimedia.com/javaserv/ (Abstract: "This
paper describes building an executable launcher for a pure Java 1.2 or 1.3
server application that permits self-installation as a Windows NT service.
It also shows how to save and retrieve runtime arguments in the Windows
registry, invoke the Java Virtual Machine (JVM) in a separate thread using
the Java Native Interface (JNI) and pass an NT service event to Java using
JNI . Full Win32 C source code for the launcher,  Java sources for a sample
Java server, and binaries for a working example are provided.")

He has a few bits of C code which you can download, and tie into a java
app...

Should work (I think)

Tim.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to