/clr and C code
-
I have a C dll that I didn't write so I don't know what's really going on in it. It compiles fine. If I turn on the /clr switch though, I get about 20 errors out of it like c:\Parser\link42\src\pp_lexer.c(680): error C2197: 'pp_lexer__create_buffer' : too many arguments for call through pointer-to-function I also get an error that points to stdlib.h which I don't understand either. C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\stdlib.h(368): error C2192: parameter '1' declaration different pointing to _CRTIMP void __cdecl perror(const char *); Is this because of my trying to compile in as C code and clr trying to reference a new copy of stdlib.h or something? My c++ is very rusty. Can anyone tell me what is wrong or what I can do to fix it? I was under the impression that /clr really didn't do that much. TIA