B
Brian Richards
I have a library that's a mixed mode dll and compiles fine in in VS2005 with
/clrldSyntax. However, if I change it to /clr so I can use the newer
syntax it won't compile because the header files I'm including have invalid
syntax, i.e. the word generic is used for parameter names. I tried wrapping
the include with #pragma unmanaged but to no avail. Is there a way I can
compile this file and have it use /clr:OldSyntax just for that included
section? Optionally is there a way for me to extern the unmanaged class
definition so that it's made available at link time instead of compile time?
That way I could possible not include the broken header at all.
Thanks
Brian
/clrldSyntax. However, if I change it to /clr so I can use the newer
syntax it won't compile because the header files I'm including have invalid
syntax, i.e. the word generic is used for parameter names. I tried wrapping
the include with #pragma unmanaged but to no avail. Is there a way I can
compile this file and have it use /clr:OldSyntax just for that included
section? Optionally is there a way for me to extern the unmanaged class
definition so that it's made available at link time instead of compile time?
That way I could possible not include the broken header at all.
Thanks
Brian