Wireless Communication Library Support Forum

Legacy => Wireless Communication Library => Topic started by: avandam on February 27, 2013, 11:37:16 AM

Title: reason for 32 / 64 bit editions
Post by: avandam 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
Title: Re: reason for 32 / 64 bit editions
Post by: Mike Petrichenko 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.