On Sun, 04 Jul 1999 15:15:28 -0700, [EMAIL PROTECTED] wrote:

> 
>Yes I have flushed the writer. As I wrote earlier I can read & write to
>another separate Java program but not C-program.
>
>Onething I forgot to say though. I'm developing this program in Win98
>platform although end of the day i have to run it on a Linux machine
>for my university project. But I'm unable to test this on linux yet as
>JDK is not ready on the Linux machine yet. Just thinking if this is a
>MS problem?
>
>I will be happy to know if someone had ever read & wrote to a console
>based C -program from within  a Java program in Linux platform (or
>Win98)?

Well, Win95 and Win98 have certain limits for console based programs.
Many older (16-bit) programs don't actually use STDOUT/STDIN but rather
write to the console directly (via "video memory")

Also, under Win95/Win98 you have some problems with STDERR (as in there
is no real OS definition and thus you can't redirect that)

Finally, if the program needs to be launched by command.com (the shell
processor) you have a problem in that it will do some 16-bit stuff and
return codes may go away (will go away on all 16-bit compiled console
programs and any "family" programs and some 32-bit programs with a 16-bit
header)

You need to check what program you are trying to run and make sure it really
is a 32-bit console app.  If it is not you will have far too many problems
that you want to even think about :-(

Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to