How to invoke a 32bit COM interop dll from VS 2010 Solution which is targetting 64 bit machines
问题 I am working on Windows client application using c#, have two projects in my VS 2010 solution, the start-up project and a class library which uses third party COM interop DLL.My desktop is 64 bit and all the client machines are 64 bit as well. If I keep the start-up project as any cpu in (build settings) and x86 for the second project which invokes the COM DLL, I am getting the following error: Could not load file or assembly ... or one of its dependencies. An attempt was made load a program