The mdlInput_xxx functions often require ustnTaskId as an argument. If I declare that variable like this, my project compiles...
extern "C" { #if !defined (mdl) extern wchar_t* ustnTaskId; #endif } // extern "C"
However, the linker complains that ustnTaskId is an unresolved external symbol. My project links with mdlbltin.lib, which apparently exports that undecorated symbol...
LINKER_LIBRARIES + $(mdlLibs)mdlbltin.lib
What am I doing wrong?