Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

create 16 bit dll

Hello!

I'm creating an application in C for the NI USB-6009 Multifunction device. (The application will work as a .dll to be called from a VB3 program.) I use nidaqmxbase functions (I know nidaqmx is more up to date, but I had no problems using nidaqmxbase, hope it's not the problem).

When creating, I've tested the dll with a simple VB6 test app, but when getting to VB3, it couldn't load the dll. Shortly, I realised it happens because of the 16<>32 bit difference.
Then I tried to make a 16bit dll using different 16bit C compilers, like Borland C++ 3.1, Borland C++ 5.02, Turbo C++ 3.1, but all build processes failed. I'm afraid it's the nidaqmxbase.lib file that causes this.

Can you help, how to create my 16bit dll using my existing code?

Thanks a lot,
motyo
0 Kudos
Message 1 of 3
(3,138 Views)
DAQmx Base is not compatible with 16bit development environments, so I see no chance to get this running under vb3. Same would be with DAQmx.
0 Kudos
Message 2 of 3
(3,117 Views)
That's bad news. I hoped there would be a 16bit version of the lib file or something....

So the solution to get the NI device work with VB3 is some kind of emulation (like call32.dll or other 16bit-32bit emulators) right? Anything else than this?
0 Kudos
Message 3 of 3
(3,111 Views)