Re: BadImageFormatException on framework 64 bit by jacky
jacky
Wed Jun 07 20:28:34 CDT 2006
Rudy wrote:
>> You can check your application in the task manager in "Processes" tab in
>> 64 OS. If it has no a mark "*32", it is running in 64 bit mode.
>> If the application is developed yourself, you can set it in the
>> development tools (e.g. VS2005) to mark it always running in 32 bit
>> mode. Then, your application can use the 32 bit dll no problem.
>
> Yes you are right, it is running in 64 bit mode.
> But if I set it to run in 32 bit mode then all managed and unmanaged code
> run in 32 bit mode? In other words can I take advantage from 64 bit system or
> not?
> Thanks!!!
In my opinion, it is dependent on your actual case.
If your 64bit OS just run only one application and the application is
32bit application, it will not take advantage from 64 bit system.
However, in most case, there are many applications running in one
computer. Hence, overall the system still can take some advantage, e.g.
the system can use more physical memory (if the computer have so much
memory).
Of cause, the best solution is to convert the 32 bit DLL to 64 bit DLL.
--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
jacky@compose_DOT_com_DOT_hk