03-03-2006 02:06 PM
03-06-2006 10:31 AM
03-06-2006 11:53 AM
James,
03-06-2006 12:42 PM
You should be able to drop ActiveX controls such as the Engine or the ApplicationMgr on the dialog resource you use with you ATL class such as CAxDialogImpl.
Right click on the dialog resource and select Insert ActiveX Control. Then select either TestStand Engine Class or TestStand UI Application Manager.
I can't tell you how to handle ActiveX events in ATL because I have never done that. However, if you need coclass or interface guids or other server specific info, you could you OLEView to look at the TestStand type libraries or inspect the *.tlh files Visual C++ generates when you #import these libraries. A fast way to find copies of the .th files is to look for *.tlh under <TestStand>\UserInterfaces\NI\Full-Featured\C++ using MFC\Debug\. You might have to build the project first, I'm not sure if these files are installed.