Where to find a CNI-Tutorial?
Mohan Embar
gnustuff@thisiscool.com
Tue Aug 26 13:31:00 GMT 2003
HI Cedric,
>> 2.) Is there a platform-independent way to store pointer-values in
>> java variables using CNI. With JNI this isnt possible as far as I
>> know, because storing pointer-values into "int" only works of cource
>> on 32-bit machines....
>
>Then why not storing them into "long"?
This doesn't work. Under Win64, for example, a void* is 64 bits
but a long is still 32 bits.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
More information about the Java
mailing list