Calling old syntax from unmanged compiled as new syntax
-
I have to call some code written in a project compiled as old syntax /clr:oldsyntax, from an unmanaged zone in a project compiled with the option /clr (new syntax). Is this possible? the compiler generates C3699: Cannot use this indirection when I tried to use gcroot<MyForm*>. I don't have the time to convert the code compiled in old syntax to new syntax. Thanks,
HZ
-
I have to call some code written in a project compiled as old syntax /clr:oldsyntax, from an unmanaged zone in a project compiled with the option /clr (new syntax). Is this possible? the compiler generates C3699: Cannot use this indirection when I tried to use gcroot<MyForm*>. I don't have the time to convert the code compiled in old syntax to new syntax. Thanks,
HZ
There is no alternative other than converting all managed c++ syntax to c++/cli if u need to compile it with /clr new syntax. cheers...milton Kb