c++/cli for anycpu

I created a test program using c++/cli under safe mode (i.e., entirely managed code) with beta 2 (8.0.50110.28) using the flags cl /clr safe /Ox. The compiler is generating msil code, but it seems that it only runs in 32-bit mode - can't find a way to get an "anycpu" executable like C# allows.

Is there a magic chant that I don't know about Or is this not available under C++/CLI

karel



Answer this question

c++/cli for anycpu

  • Jaffi

    I'm going to close this thread.  It seems to work fine on the machines that I have.  If the user still has a problem, feel free to email me.

    Thanks,

    Kang Su Gatlin
    Visual C++ Program Manager

  • BorbaTheGeek

    I just tried it on Beta2, and it seems to be working fine.  How are you verifying that it is running in 32bit mode

    Could you send repro to me at kanggatl <<<at>>> microsoft.com

    Thanks,

    Kang Su Gatlin
    Visual C++ Program Manager

  • JuanSa

    This is definitely available with C++/CLI, and the way you compiled it should work just like "anycpu".  Let me investigate this and get back to you.

    Thanks,

    Kang Su Gatlin
    Visual C++ Program Manager

  • c++/cli for anycpu