Compiler Warning (level 1) C4399
Visual Studio 2008
'symbol' : per-process symbol should not be marked with __declspec(dllimport) when compiled with /clr:pure
Data from a native image or an image with native and CLR constructs can not be imported into a pure image. To resolve this warning, compile with /clr (not /clr:pure) or delete __declspec(dllimport).