From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
It does not matter how I then solve this (I don't want 100 % interoperability) and it is also not relevant why I want to use IVI . Can we just once come back to my original question why the combining of IVI classes in an executable file is about this error message?
Sorry, I don't know why the typecast would work in development but not after the exe build. Can you place an indicator on the output of the typecast and see what the value is when you do the build
My Example with the Typecast in the second post would work therefor it does not help to analyze this before and after the typecast is only the logical name of the IVI device appears. The solution is to set the inizialize vi for each class (the NI IviScope.dll and the Tektronix tktds1k2k_32.dll), then it would also work in the executable.
IVI_example1 would work, IVI_example2 an IVI_example3 would not.