NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get parameter names from a c++ DLL in TestStand 2010

Hello,

 

Using TestStand 2010, I want to use some functions from a DLL, writtin in Visual Studio C++ 2010.

However, when I call this DLL from TestStand (using the C/C++ adapter) I do get the function name, and parameter datatype, but not the parameter name(s).

The only thing I see is: "arg1, arg2, et cetera".

 

Is it possible to export these parameters from a DLL? I have a little piece of code from my DLL inserted below.

 

Any help is appreciated!

 

 

 

/* Code starts here */

 

 

__declspec(dllexport) void BounceCharArray(char OriginalCharArray[], char ReturnCharArray[])
{
strcpy(ReturnCharArray, OriginalCharArray);
}

 

 

/* Code stops here*/

 

0 Kudos
Message 1 of 2
(4,314 Views)

Hi

 

does this link help

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(4,312 Views)