01-16-2006 04:49 PM
Unable to load test environment adapter 'cppAdp.dll'Could not load tes adapter DLL 'C:\Program Files\National Instruments\TestStand 3.5\Bin\cppAdp.dll'Error code: -17004, Could not load DLL or Library.
Unable to load test environment adapter DotNetAdp.dll'Could not load tes adapter DLL 'C:\Program Files\National Instruments\TestStand 3.5\Bin\DotNetAdp.dll'Error code: -17004, Could not load DLL or Library.Unable to load test environment adapter flxCVIAdp.dll'Could not load tes adapter DLL 'C:\Program Files\National Instruments\TestStand 3.5\Bin\flxCVIAdp.dll'Error code: -17004, Could not load DLL or Library.
01-17-2006 04:42 PM
01-17-2006 06:48 PM
Thanks for the reply,
I have both 3.5 and 3.1 on my machine and activated the 3.5 verion after I installed it. I was getting the non-display issue on the simple child form even on 3.1. Once I installed 3.5, I wanted to make an attempt at getting a full featured child form working also.
Since I emailed this item, I tried some stuff on the full featured version that made the exceptions go away but make it seem like it could be a threading issue. I moved the initialization code of the NI example for the full featured OI from the OnLoad handler to immediately after the child form constructor's call to InitializeComponent. In the OnLoad handler, I left the axApplicationMgr.Start() call. The exceptions went away but some items were not initialized or displayed much like my previous experience with the simple OI.
Thanks for your time.
01-18-2006 11:32 PM
Millersoft,
Although it is written for TestStand 3.0 and not 3.5, there is an example of using Child Windows in the OI which can be found here:
TestStand 3.0 Multiwindow Operator Interface Example
01-19-2006 12:52 PM
Wow,
I would have never figured that out! I certainly over-simplified my approach. Even though I haven't implemented all that the attached example shows, I trust that it will work for me.
I'm not sure why that example never showed up in my searches but thanks loads! Believe it or not I was considering moving the TS operator interface into a .NET Remote app to isolate the issues I was having!
You saved me a bunch of work!
I have to admit using TS in .NET still makes me extremely nervous! Hopefully, TS 4.0 will be a .NET app. We' ll see.
Thanks Again!