Author Topic: reason for 32 / 64 bit editions  (Read 1805 times)

Offline avandam

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
reason for 32 / 64 bit editions
« on: February 27, 2013, 11:37:16 AM »
Hi,

In the past we have used WCL 6.10.2 which just had 1 wcl.dll, independent of the architecture (32 or 64 bit). We now have upgraded to 6.11.3 and I noticed there are both a 32 bit and 64 bit edition.

Is there a specific reason for this split (e.g.: In an AnyCPU environment is there a reason to not use the 32 bit variant for both 32 and 64 bit systems as in the past)?

The reason for my question is that in the past when I used wcl.dll it just worked in an AnyCPU environment. Now when I use the x86 dll, I get BadImageFormat exceptions, and I need to force my application to be built for x86.

Best regards,

Alexander

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: reason for 32 / 64 bit editions
« Reply #1 on: February 27, 2013, 11:44:09 AM »
Hi,

WCL 6.10.2 was only 32 bit. If you run your application configured as AnyCPU on 64 bit it will not load WCL. WCL .NET written on C++/CLR and it doesn't support AnyCPU configuration. So there is 2 wcl.dll: one for 32 bit and one for 64 bit.

 

Sitemap 1 2 3 4 5 6 7 8 9