Discussion:
Application init error
(too old to reply)
Shmulik
2007-09-04 15:40:12 UTC
Permalink
Hello
 
I am a programmer in VisualC++ using the NI-DAQmx6501 device (USB connection).
 
First, i installed the NI software that come with the device on CD.
 
Then, in my MFC application i include NIDAQmx.h file and link with NIDAQmx.lib file.
 
My application Read/Write successfully from/to the device in the PC where NI software is installed.
 
The problem is when i try to run on another PC (after adding all the requested DLL's to the application directory) i receive windows error: Application failed to init properly (0xc0000142)...."
 
What should i do to run my application on other PC without an installation of NI software?
 
Shmulik
jcarbonell
2007-09-04 19:10:14 UTC
Permalink
Shmulik wrote:Hello
 
I am a programmer in VisualC++ using the NI-DAQmx6501 device (USB connection).
 
First, i installed the NI software that come with the device on CD.
 
Then, in my MFC application i include NIDAQmx.h file and link with NIDAQmx.lib file.
 
My application Read/Write successfully from/to the device in the PC where NI software is installed.
 
The problem is when i try to run on another PC (after adding all the requested DLL's to the application directory) i receive windows error: Application failed to init properly (0xc0000142)...."
 
What should i do to run my application on other PC without an installation of NI software?
 
ShmulikHi Shmulik,You need to use the installer to get DAQmx to work.Jeff
Continue reading on narkive:
Loading...