adding CLR support to win32 project

  • Thread starter Thread starter Steve Richter
  • Start date Start date
S

Steve Richter

using VS2005 I create a classic WIN32 project. Of course it creates
without error, but when I change the project from "no CLR support" to
"pure MSIL CLR support" I get tons of create errors.

Is there a KB article that explains how to add CLR support to a WIN32 C
++ project?

thanks,

-Steve
 
Steve said:
using VS2005 I create a classic WIN32 project. Of course it creates
without error, but when I change the project from "no CLR support" to
"pure MSIL CLR support" I get tons of create errors.

Is there a KB article that explains how to add CLR support to a WIN32
C ++ project?

If you really want to convert the whole thing to managed code, first,
translate it to C++. There's no support for compiling C to MSIL.

Typically though, you don't need to convert the entire project. What are
your goals in the project?

-cd
 
Steve Richter said:
using VS2005 I create a classic WIN32 project. Of course it creates
without error, but when I change the project from "no CLR support" to
"pure MSIL CLR support" I get tons of create errors.

Don't use /clr:pure option, it can prevent you from making native calls.
Use plain /clr instead.
 
Back
Top