LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with automations in stand alone executables

We have an application the uses an automation developed in visual c++ to establish communication with a PLC, it works perfectly in Labview, but when we built an stand alone executable it doesn´t work fine.

The automation uses a type library (*.tlb), we registred it in windows, but it doesn´t work.

What can we do?

You can find attached the vi sorce code for the stand alone executable.

Thank you very much for your help.
0 Kudos
Message 1 of 3
(2,538 Views)
What error do you get?
You should install and register your activex objects or .tlb's on both development and target machines.
Zvezdana S.
Message 2 of 3
(2,538 Views)
Thank you very much for your help.

My bad was that I registered the .tlb only on the target machine.

I just registered the .tlb on the development machine then compiled it and the application works fine.
0 Kudos
Message 3 of 3
(2,538 Views)