Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Entry point not located in nidimu.dll Visual C++ 2005 -- Release Only!

Using USB A/D 9215 code runs (MS 8.5 & Visual C++ 2005) just fine under Debug but under Release Run crashes on startup reporting 'entry point ?compareVersion@nNIDIM_1_8...... could not be located in nidimu.dll

 

Does anyone have any idea what to do to get the Release version to run?

 

Thanks,

Val Veirs

Prof. of Physics

0 Kudos
Message 1 of 7
(7,763 Views)

Val,

 

Does this happen on any of the DAQmx examples that ship with the driver, or only on your own project?  The examples can be found at  C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples by default.  That DLL is a low-level DLL used by the DAQmx driver, so I'm not sure why it would work just fine in debug mode but not in release mode.  Let me look into this problem a little more and I will get back to you with more information.

Eric B.
National Instruments
0 Kudos
Message 2 of 7
(7,747 Views)

Eric,

The vs2005 examples seem to run just fine under Debug or Release.

What do you think I have done to mess up calls to a 'low level' library?

Val

0 Kudos
Message 3 of 7
(7,743 Views)

Val,

 

Thanks for testing out your examples.  As far as corrupting some low level DLL, I'm not sure what could cause that, but I am still looking into that.

 

Does this problem happen if you create a new project and paste in your code?  If not, there may be something with the build properties for your release configuration.  Did you change any of those properties in this project from the default?  If so, what did you change?

 

I have not been able to reproduce this on my own machine.  Are you able to post your code to the forum so I can try running it on my computer?   In addition, what version of the NI-DAQmx driver are you using?

Eric B.
National Instruments
0 Kudos
Message 4 of 7
(7,729 Views)

HI! All,

Is it possible to generate the text based command like C++ from the LabVIEW?

Özgür 

0 Kudos
Message 5 of 7
(7,590 Views)

Ozgur,

 

There is no way to directly convert a VI into C++ code.  However, you can use the Application Builder (which comes with LabVIEW Professional Development System or can be purchased online: https://www.ni.com/en-us/shop/product/labview-application-builder-module.html) to build your LabVIEW VI into a DLL which creates a library which can be called from C++.  

Eric B.
National Instruments
0 Kudos
Message 6 of 7
(7,565 Views)

Hi!

Thaks for your reply, I will try to do like in your advice.

Greetings.

Özgür 

0 Kudos
Message 7 of 7
(7,557 Views)