I have a problem with this question . Two players:
- C # application
- Mixed assembly used 1)
The application should support anything: from Windows XP (32 bit) to Windows 7 (32 and 64 bit). Assembly is complex in many ways. It contains C ++ / CLI managed code and some native C ++ classes dancing with native DirectX. It is also associated with several 32-bit native dlls without access to the source (containing C ++ classes with import libraries).
Everything works well in a 32-bit environment (XP and 7 tested), including the 32-bit subsystem in Windows 7. Havoc happens as soon as βAny processorβ is used on 64-bit systems to build a complete solution. The 32-bit assembly is unsuitable for use, but, apparently, only in debug mode ("unable to load, incorrect format", etc.). It seems to work in release. A 64-bit build assembly is prevented by implicit dependencies on the mentioned 32-bit third-party dlls.
Is there a way to provide a real native 64-bit application capable of using assembly?
The assembly requirement is not strict. It can be either 32 or 64-bit, but, as mentioned above, it must be accessible from the application one way or another.
source share