NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling test sequence from CVI DLL that use ATL COM object does not work

I am trying to call some DLL function writen in CVI from teststand. The CVI DLL is using ATL COM object(Written by me).
The ATL COM object making instance of several ATL COM object inside it (including two controls that contains dialog). If I use a client writen in VC++ 6 and use the ATL COM (writen by me) works perfectly. But if I try to use it from CVI DLL it does not work any more.
What is wrong? The client is passing an IUnknow interface to my component. Can anybody explain me what is wrong?
0 Kudos
Message 1 of 2
(3,012 Views)
It is not clear from your question as to what is specifically failing. If possible, one option would be to remove TestStand from the picture and see if the problem still occurs using a CVI EXE that invokes the CVI DLL.

Scott Richardson - NI
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(3,012 Views)