Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't execute on aonther computer

I open a VC6.0 project(MFC Winzard). It is a dialog based project. I add labwindow's component ( CWGraph) into the project.
 And I build the project using MFC in a static link library. It is successful.
But when I copy the execution file to the other computer and execute it. There is no response happened.
No winodow appeared. Nothing occured. why?
0 Kudos
Message 1 of 4
(3,673 Views)
If your application includes external dependencies such as CWGraph, then you will need to include those dependencies on the target machine.  CWGraph is an ActiveX componenent, which has its file support in OCX files.  The following KB addresses how to distribute your applications that require external dependencies:

http://digital.ni.com/public.nsf/websearch/3509FC64EC2E3715862568A100624468?OpenDocument

Ideally, you could use Microsoft's installation wizard package, because it will gather dependencies automatically and makes distribution easier.

Good Luck,

Tyler T,
0 Kudos
Message 2 of 4
(3,658 Views)
hi~
I had seen the doctument. But it is not very clear about what files I need to copy.
So could you please help me to list all the files I need to copy when I use "CWGraph" in VC++6.0.
Thank you very much!
 
0 Kudos
Message 3 of 4
(3,649 Views)
The Distribution Information Text that is attached to the Knowledge Base should give you detailed information on which files need to be copied.  You can also find most of those files in the C:\Windows\System32 directory.  For the CWGraph ActiveX controls, you will need to copy the cwui.ocx file and the additional support files detailed in the Distribution Information text file.

Good Luck!

Tyler Tigue
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,630 Views)