LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

May I programme in VC++ to call the menu command of cvi?

May I programme in VC++ to call the menu command(such as File Open,Add Files To Project,Create Dynamic Link Library,etc) of CVI 5.0?

My situation is:(The development tool is VC++6.0, CVI will only appear as a DLL generator in my project.)I want to load cvi.exe only once,but will use it to open project files several times.(I've tried to call system("c:\\cvi\\cvi.exe filename.c"),but each time I open a file,the cvi was reloaded. )And later,I'll control it to generate DLLs.All above must be controlled by programming in VC.
0 Kudos
Message 1 of 3
(2,964 Views)
You can do this using the ActiveX server interface to CVI from Visual C++. There is an example of using the ActiveX server to CVI from CVI in the \samples\activex\cvi directory.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
Message 2 of 3
(2,964 Views)
Yes!
That's just what I really wanted.
Thanks a lot for your help!

Lily
0 Kudos
Message 3 of 3
(2,964 Views)