LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program calling Active-x Object Doesn't Execute Correctly When Built to an Exe

I'm running LV8 and developing an application that uses an existing registered active-x object.  The program executes correctly when running from LV8 (or LV7.1).  Once the program is built to an exe, it crashes at the call to the active-x initialization.
 
I believe that this problem is similar to the one posted by Thierry several days back (http://forums.ni.com/ni/board/message?board.id=170&message.id=82411&query.id=51668#M82411).  The references noted in the reply to this post didn't lead me to a solution.
 
An example of the code that is at the root of the problem is posted below.  It executes fine from LV on a computer where the active-x library is installed but it doesn't execute on the same computer when built to an Exe.
 
What is different about how the Exe accesses the active-x registry than when in the native LV environment?
 
Sincerely,
 
John
0 Kudos
Message 1 of 2
(2,736 Views)