OpenSebJ by DSebJ: 64 Bit Windows with C# Express .Net and 32 Bit DLL's:

Any way there seems to be a saving grace, you can do development on a 64 Bit OS and set C# Express to specifically target your application to x86, it's just not obvious. Targeting x86 will mean that your application will still run on a 64 Bit OS but will use WoW (Windows on Windows, which is a compatibility layer to backwards support 32 Bit applications) so you won't get the native use of those 64 Bit Int's but you will be able to use your 32 Bit DLL's.

To setup your application to do this you need to
1 G[o] in to the menu option Tools>Options and the in the dialog box tick the box in the bottom right corner to "Show all settings"
2 Once the settings expand go to "Projects and Settings" expand it and click on "General"
3 Check the option which is called "Show advanced build configurations", then close the dialog box
4 Now if you right click on the solution explorer, chose properties
5 Goto "Configuration Properties", now you should be able to see the platform drop down. This will probably have only "Any CPU" selected; if so click on "Configuration Manager"
6 Chose the option "New" under the "Active Solution Platform" drop down box
7 Chose the new platform of x86 and copy your settings from "Any CPU"
8 Then just make sure that your projects in your solution refer to x86 as the platform rather that "Any CPU"

Labels: ,