Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4331

[CONNECT C++] ustnTaskId link error

$
0
0

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?


Viewing all articles
Browse latest Browse all 4331

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>