A
Java application of mine is being started from an MFC (Microsoft C++) application using a Windows system command ::ShellExecute(..., "open", "thejavaapplication.jar", ...).
Doing this causes (I think) javaw.exe to execute instead of java.exe which means that no DOS window gets brought up.
Well, I need a DOS window in order to get a
thread dump so I need to have the ShellExecute point to java.exe instead of javaw.exe.
Anyone know how to do this?
Sorry, I know this isn't a pure Java question, but it is Java related.