David,
Java uses big-endian while Windows/DOS (and cygwin) uses little-endian.
Tim
winner wei wrote:
Hi,
My code works fine in Cygwin by command line, but when I run it through a Java
GUI launched from DOS the result is incorrect with all the data which are not
zero. The java Gui does nothing more than launching the executables and provide
a parameter file (I used the exactly same parameter file by the command line
run). So I guess if there is any differences in the storage arrangement btw
Cygwin and DOS/Windows, or any other reason?
Thanks for your help!
David
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/