M
Mr Topom
Hello,
I have a C++ (unmanaged) class named K in a DLL.
I create a managed C++ class named K in an other DLL that wrapped the
unmanaged one.
To refer the unmanaged one I use ::K and the managed one is in a
namespace MyNameSpace.
If want to use my managed DLL in a C# project,so I added : #using
Mynamespace;
If in the code I put :
K klass = new K;
There is compilation error. It seems that le K sybol is the unmanaged
one and identifyed as a 'struct'.
Is there a solution to remove the knowledge of the unmanged symbol to be
able to refer K in C# with only its name and not Mynamespace.K ?
Thx
I have a C++ (unmanaged) class named K in a DLL.
I create a managed C++ class named K in an other DLL that wrapped the
unmanaged one.
To refer the unmanaged one I use ::K and the managed one is in a
namespace MyNameSpace.
If want to use my managed DLL in a C# project,so I added : #using
Mynamespace;
If in the code I put :
K klass = new K;
There is compilation error. It seems that le K sybol is the unmanaged
one and identifyed as a 'struct'.
Is there a solution to remove the knowledge of the unmanged symbol to be
able to refer K in C# with only its name and not Mynamespace.K ?
Thx