07-12-2006 01:38 PM
07-13-2006 12:42 PM
07-14-2006 06:36 AM
07-17-2006 12:12 PM
You might try looking at www.jniwrapper.com for a head start. At some point I'll be needing to get/make JNI wrappers for DAQmx and could use some clues. Did you make all yours by hand?
Also, here's a clipping that might help you:
-Stosh
Hi Francesco,
I am doing something similar. In my case I am wrapping nidaqmxbase.dll in another dll for access from Java (JNI). After doing everything outlined in dplamp's reply (#14), this is gcc command line that is working fine for me:
The -mno-cygwin is just so that I don't depend on cygwin1.dll. The -lnidaqmxbase (or libdaqmxibase.a) is the library prepared using instructions and scripts from dmplam's earlier reply. The -add-stdcall-alias is the trick that makes it work (see stadel's earlier reply #5 and also good overview from David Caldwell). Naturally, if you are not building JNI code you should remove related -I"..Java.." arguments.
I hope that this will help...
Regards,
Vladimir
07-20-2006 08:01 AM
08-09-2006 08:00 AM
10-12-2006 06:32 PM
12-10-2007 06:18 AM
12-10-2007 07:37 AM
02-19-2008 02:28 PM