Microsoft Developer Network > Página principal de foros > Phoenix > Fix for "BadImageFormatException was unhandled" on x64 platforms
Formular una preguntaFormular una pregunta
 

RespondidaFix for "BadImageFormatException was unhandled" on x64 platforms

Respuestas

  • jueves, 22 de marzo de 2007 15:27Kang Su GatlinModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    Thanks for that link Ravi.  That is correct.  In the future we should change the solutions so that they come out the box as 32bit only.

    Another thing you can do is set your system so that it uses the 32bit CLR by-default.  You can do this by calling:

    C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow

    If you're doing this from a Vista box, make sure you run this from an Administrator command prompt.

    Thanks,

Todas las respuestas

  • jueves, 22 de marzo de 2007 15:27Kang Su GatlinModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida

    Thanks for that link Ravi.  That is correct.  In the future we should change the solutions so that they come out the box as 32bit only.

    Another thing you can do is set your system so that it uses the 32bit CLR by-default.  You can do this by calling:

    C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow

    If you're doing this from a Vista box, make sure you run this from an Administrator command prompt.

    Thanks,