I have an app that uses JNA to call a couple native libraries on Win32 and Linux 32 platforms. However, I am having trouble running the same code on Win7 64 and Linux 64.
The C++ libraries have been compiled on the 64 bit platforms.
Are there any other tricks needed or pitfalls to be aware of to get running on 64 bit platforms?
Are there any known issues with the garbage collection on the 64 bit platforms? Is there a way to make sure the objects I am sending down to the native code do not get garbage collected until after I leave a particular code block? The reason I ask this is on Linux I can step through via the debugger and everything works properly, but if I just run it crashes. I still need to confirm this is the case in Win7 64.
Also, I'm leaning more to the garbage collection because I do not have any long data types any where either.
Any ideas are welcome.
Thanks!
I have an app that uses JNA to call a couple native libraries on Win32 and Linux 32 platforms. However, I am having trouble running the same code on Win7 64 and Linux 64.
The C++ libraries have been compiled on the 64 bit platforms.
Are there any other tricks needed or pitfalls to be aware of to get running on 64 bit platforms?
Are there any known issues with the garbage collection on the 64 bit platforms? Is there a way to make sure the objects I am sending down to the native code do not get garbage collected until after I leave a particular code block? The reason I ask this is on Linux I can step through via the debugger and everything works properly, but if I just run it crashes. I still need to confirm this is the case in Win7 64.
Also, I'm leaning more to the garbage collection because I do not have any long data types any where either.
Any ideas are welcome.
Thanks!