C++ COM Interop: Using C# namespace with dot notation in c++ -


i have c# namespace defined a.b.c tried using in c++ header

using namespace a::b::c;

and error c2653: not class or namespace.

the unmanaged project referencing managed project namespace. how around this? tia.

com interop doesn't let that. com interop lets retrieve c++ com interface pointer .net object, using e.g. cocreateinstance.

if want refer c# namespaces , types directly (not through com interface pointer), want c++/cli (the /clr option visual c++).


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -