.net - Error is not supported when compiling with /clr or /clr:pure -



.net - Error <mutex> is not supported when compiling with /clr or /clr:pure -

i have c++ dll phone call dll have used:

#include <mutex>

dll properties set "no mutual language runtime support" , builds successfully.

i have dll b includes dll in references. dll bs properties set to: "common language runtime back upwards (/clr)" includes c++/cli code.

when build dll b error: c:\program files (x86)\microsoft visual studio 11.0\vc\include\mutex(8): fatal error c1189: #error : <mutex> not supported when compiling /clr or /clr:pure.

i know cannot include in clr supported dll there way can around problem of referencing dll include it?

.net c++-cli clr

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -