07-15-2013 11:57 AM
Hello Everybody,
I'd like to know if it is possible to instantiate a C++ object and use its methods in teststand.
I looked for in the examples and all the dll were developped in a normal dll format (not object).
I know it is possible in C# but I didn't find an example in C++.
Thank you in advance
Solved! Go to Solution.
07-16-2013 09:00 AM - edited 07-16-2013 09:05 AM
There is no way to call non-static member functions directly, but you can write wrapper functions or static functions around the members you want to call and make the C++ instance be passed in and out as a paramter (You can store pointers in Object Reference variables in recent versions of TestStand, you do however have to manage the allocation and deletion of the objects yourself).
-Doug