>>is it even possible? I created unmanaged part in C++ which makes calls to a C# dll. I get:
>>
>>Error 1 Command line error D8016 : '/clr' and '/Gr' command-line options are incompatible
>>
>>Cetin
>
>I rebiult my old FLLs, created with VS6, with VS2005 and had no problems, even after autoamatic converion of code.
>But they all are pure C++ code w/o calling any external functions/classes.
Rebuilding the ones do not have a problem but I want to use C# dll additionally. Actually I find C# much easier and that's the reason (and classes from CLR). Roughly it looks like:
#using MyNamespace; // MyNameSpace is in a C# dll
//...
...(..far *parms)
{
//...
MyClass mc = gcnew MyClass(); // a class from DLL
rettype ret = MyClass( paramarray );
//..
Cetin