LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview ActiveX

Hello. I have two app compiled: "Master" and "Slave". "Master" controls the "Slave" on ActiveX. To generate the installer I use "innosetup". Code sample innosetup which registers components:

 

[Code]
     begin RegisterTypeLibrary (Is64BitInstallMode, ExpandConstant (' {app} \Slave.tlb '));
[Run]
     Filename: "{app} \Slave.exe"; Parameters: "/regserver"

 

Recompiling a Slave, if you change the build number then it works without problems. If I change the version number programm Slave, then when "Innosetup" run  in the system appear new components ActiveX and application "Master" does not work with "Slave". I have change the link in the  "Master" to the new ActiveX components and to compile "Master" too. I think that  when I change the version "Slave"  then labview change handle ActiveX. Can anyone be able to suggest an option that would be when you change versions did not change the descriptor ? I tried to change  the old file (.tlb), but it didn't help.

 

 

0 Kudos
Message 1 of 2
(3,187 Views)

Hi,

 

I think it would help tremendously if you described what the purpose of the program is, and how you are implementing this design.  This will help others understand your issue and answer more fully.

0 Kudos
Message 2 of 2
(3,090 Views)