NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL does not export functions necessary for TestStand to pass Cstring data

Hi everyone,

 

I'm currently trying to export an old DLL from Virtual Studio 2010 to VS 2013. The main problem was to make the program work in UNICODE and not MBCS.

 

After being able to compil the program, I tried to use it with TestStand. The SW told me to include the 'tsdllparams.cpp' in my repertory to be able to use CString.

 

However, after doing this, the SW is still telling me that it can't use Cstring (different error message).

 

Has someone ever faced this?

 

Thank you.

0 Kudos
Message 1 of 3
(2,252 Views)

Hi

You probably should take a look at this document, it could give you some advices

https://zone.ni.com/reference/en-XX/help/370052R-01/tsref/infotopics/db_editdllcall_stringparam/

Do you use Visual Studio only or with Measurement Studio.

What version of TestStand are you using 64bits or 32bits?

Paolo_P
Certified TestStand Architect
Certified LabVIEW Architect
National Instruments France

Message 2 of 3
(2,202 Views)

TestStand does not support Unicode CStrings, which is a different type than a C String

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 3 of 3
(2,178 Views)