I'm working on a launcher for a Java application and wish to have the console window to be minimised at startup.
The use of the javaw.exe executable (instead of java.exe) is not a suitable solution as certain console messages need to be visible.
At the moment, the code snippet below launches successfully, but with a normal console window:
; create STARTUPINFO structure
System::Alloc /NOUNLOAD 68
Pop $5
System::Call /NOUNLOAD '*$5(i 68, i, i, i, i, i, i, i, i, i, i, i 1, i 6, i, i, i, i, i)'
; create PROCESS_INFORMATION structure