clr and clr\pure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neliomourato
    New Member
    • Jun 2010
    • 1

    #1

    clr and clr\pure

    hi all.

    I was creating a program in c++ and have to use various libraries. the problem was that some libraries need the clr and one of them unfortunately need clr\pure.

    I want to know if is possible to use the both (clr and pure) in the same program? if yes, how i do it?

    i have to said that my level of programming is weak (basic).
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    1)You create a Managed C++ project.
    2) Using the project properties->configuratio n properties->general, set the Common Language Runtime Support to the correct setting.

    Note that a library needing /clr:pure is a requirement for comiling the library and not for using it.

    You need /clr:pure in your project only if your code requires the pure MSIL syntax.

    Comment

    Working...