View Full Version : native 64Bit application on WIN7 64Bit

October 19, 2010, 19:55:05
i am trying to to compile my application on a WIN7 64Bit with VC2008, .Net 3.5, with IC3.1. It's possible when i am using the 32Bit TIS.Imaging.ICImagingControl31.dll as reference. That's also working. But is the IC running in native 64Bit mode?
Because when i am trying to add the reference for the 64Bit TIS.Imaging.ICImagingControl31.dll (from c:/Program Files/Common Files/IC Imaging Control 3.1/bin/x64/), i get a compilation error, that this dll is not in the correct format.
How can i compile my application as native 64Bit application?

Michael Kirmse
October 20, 2010, 09:25:16
Hello Gerald Wallner

Visual Studio is an 32Bit application, thus it can't use the 64Bit dll. You have to use the 32Bit dll for compiling. If you debug your application, the correct dll is loaded from the GAC depending on the program's configuration. When deploying your program to another machine, you have to install the correct dll.
You can see in the task-manager that your program is indeed a 64Bit process or not.

October 20, 2010, 11:17:32
Thank you, now i understand how the Visual Studio is handling 64Bit dlls. My appication is indeed a native 64Bit application when i start the released executeable.:good: