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

RE: Debug version 3rd party DLL with STL (BentleyMap SS4, NativeCode MDL, C++)

$
0
0

[quote user="FlexiTon ADT"]I added the above lines in the # Define macros... section [/quote]

Not quite sure what you mean by that.  In your bmake (*.mke) file you pass a definition switch to the C++ compiler by calling the cdefapnd.mki include file.  Something like this...

#  You must compile with -D_SECURE_SCL_THROWS=1 and -D_SECURE_SCL=0 defined, even for debug builds.
#  Otherwise you get the "checked iterators" in the stl classes and their layout changes
#-D_SECURE_SCL_THROWS=1 and -D_SECURE_SCL=0

nameToDefine = _SECURE_SCL_THROWS=1
%include cdefapnd.mki

nameToDefine = _SECURE_SCL=0
%include cdefapnd.mki


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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