Problem running app from exe by invocation
Hi,
I have a Java app that runs perfectly when I run it from the command line.
I got C code from the developerWorks site that allows one to launch the app by an exe file. This exe uses Invocation to load the JVM, and supplies the class to run.
The app starts, but then it reaches a certain point and does not move further... This code includes jdk 1.3 classes Timer and TimerTask. It gets stuck right at the point where it creates a new TimerTask.
I changed the code so that it does not use Timer and TimerTask, but now it gets stuck at another point!! This time it is a loop that uses StringBuffer.
I really cannot understand why this is happening. It runsperfectly from the command line, but use the exe to launch it and it gets stuck.
I have another app that I'm launching with the same C code and that works just fine!! Curioser and curioser...
I would really appreciate any insights. If its any help let me know I'll post the code.
Thanks,
Dewang

