we use a self-written 32bit C++ DLL from our C# applications. Now we\'ve noticed that when the C# applications are run on a 64bit system, the 64bit runtime is automatically used
Create a helper class that wraps both 64bit and 32bit DLLS, and use IntPtr.Size to determine which to call.
if (IntPtr.Size == 8) { Helper.SomeMethod64(); } else { Helper.SomeMethod32(); }