M
Marty
Hi,
Can I mix my managed code within my unmanaged code?
Just for instance, I have a socket class that is managed code. It is
include in my unmanaged VC++ project and it compile.
The point is, when I want to instantiate my class, I still get this error:
fatal error C1190: managed targeted code requires '#using
<mscorlib.dll>' and '/clr' option
But this is already set in my class (right-click file properties).
At this time, only the socket class properties is configure to have the
/clr and mscorlib.dll. Should it be done for all the unmanaged project?
Any idea?
Thank you very much.
Marty
Can I mix my managed code within my unmanaged code?
Just for instance, I have a socket class that is managed code. It is
include in my unmanaged VC++ project and it compile.
The point is, when I want to instantiate my class, I still get this error:
fatal error C1190: managed targeted code requires '#using
<mscorlib.dll>' and '/clr' option
But this is already set in my class (right-click file properties).
At this time, only the socket class properties is configure to have the
/clr and mscorlib.dll. Should it be done for all the unmanaged project?
Any idea?
Thank you very much.
Marty