NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

What file replaces "tsapimfc.h" in TestStand 3.0

I am trying to migrate an MFC DLL written for TS 2.0
into TS 3.0. I am getting compile-errors for my #include "tsapimfc.h" - I want to use the TS_UIMsg_UserMessageBase
definition.
0 Kudos
Message 1 of 2
(2,878 Views)
MatsA -
The readme.txt for TestStand 3.0 says that it does not install MFC wrappers for accessing the TestStand API. If you have source code that uses the files tsapimfc.cpp and tsapimfc.h from a previous version of TestStand, you can choose one of the following options when upgrading to TestStand 3.0:

1. Convert your code that uses MFC wrappers to use the Visual Studio #import wrappers instead. Use the tsapivc.cpp and tsapivc.h files to access the TestStand API using these wrappers.

2. Generate MFC wrappers for TestStand 3.0 using Visual Studio.

3. Continue to use the wrappers provided by a previous version of TestStand.
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(2,878 Views)