Java to C Structure Communication

"Mann, Ivan H" <[email protected]> Wed, 6 Feb 2008 16:04:21 -0600
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <3E47D20FD1918B48AC434AA83B57529601E408C8@usplm215.amer.corp.eds.com>
This URL has code sketched out for using Java to send C data structures
to legacy C transaction based systems.  I wrote a program based on this
and it works quite well.

> http://forum.java.sun.com/thread.jspa?messageID=3162834&tstart=0
> 
> 
        There is a design point left out of this, however.  It shows how
to send and receive fixed length character fields, 32 bit integer
fields, 64  bit integer fields, etc.  The C data type missing is
unsigned int and/or unsigned long.

        Would anybody have an idea how to send and receive a 32 bit
integer field in which the top bit does not indicate a negative number?

        Ivan Mann

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com