Microsoft Developer Network > 포럼 홈 > Phoenix > Fix for "BadImageFormatException was unhandled" on x64 platforms
질문하기질문하기
 

답변됨Fix for "BadImageFormatException was unhandled" on x64 platforms

답변

  • 2007년 3월 22일 목요일 오후 3:27Kang Su Gatlin중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    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,

모든 응답

  • 2007년 3월 22일 목요일 오후 3:27Kang Su Gatlin중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    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,