I'm trying to access the sequencecontext in my VC++ dll. But when I add the NI default code line
"_bstr_t lastUserName = context->GetValString("StationGlobals.TS.LastUserName", 0);"
I get an link error on this row, error meassege.
"error LNK2001: unresolved external symbol "public: class _bstr_t __thiscall TS::PropertyObject::GetValString(class _bstr_t,long)" (?GetValString@PropertyObject@TS@@QAE?AV_bstr_t@@V3@J@Z)
Debug/dlltest.dll : fatal error LNK1120: 1 unresolved externals"
This code line is created by NI TestStand, why doesn't it work ? Sending GPIB commands to instrument works, etc. The dll is accesseble from TestStand except from the code line above.
Regards
Fredrik