Name: rm29839 Date: 11/17/97
I am spawning a 16bit application from my
Java application.
-------------------------------------------
Java app code
ExecString = nativApp.exe
Runtime r = Runtime.getRuntime();
Process process = r.exec(ExecString);
returnCode = process.waitFor();
-------------------------------------------
Native Win16 or Win32 code
--- nativApp.c ---
int main(argc, char**argv)
{
return 5;
}
-------------------------------------------
The 16bit app want to return exit code (integer)
And it does.
But the java code doesn't get the value.
So the value of 'returnCode' is always 0,
no matter what the 16bit app returns.
If the spawned application from Java is
32bit app then I get back the return value.
I have observed this in WindowsNT.
On Windows95 it works fine for both
16bit and 32bit applications.
-------------------------------------------
I am sending this report again.
I got reply from
Ronan Mandel [###@###.###
to the report i filed for this bug
[ on 1997-10-14 16:27:00.0
Original bug report ID = 18773 ]
saying the info i submitted was insufficient.
So I modified the report little this time and
sending it again.
I do not know what more to write in report.
Thanks.
(Review ID: 19781)
======================================================================