Can't reference COM type library in x64 visual studio?
-
http://www.codeproject.com/KB/IP/SENSNetworkEvents.aspx[^] When attempting to load this project on x64, the SENS type libary is not available in the COM tab of the References dialog. SENS.DLL seems to be correctly registered in the registry as a type library but is not recognized in Visual Studio. The example project is C# but the problem persists in C++ projects too. It works fine on 32 bit. Have tested this on several x64 boxes, same result. Is the Visual Studio builder broken?
-
http://www.codeproject.com/KB/IP/SENSNetworkEvents.aspx[^] When attempting to load this project on x64, the SENS type libary is not available in the COM tab of the References dialog. SENS.DLL seems to be correctly registered in the registry as a type library but is not recognized in Visual Studio. The example project is C# but the problem persists in C++ projects too. It works fine on 32 bit. Have tested this on several x64 boxes, same result. Is the Visual Studio builder broken?
Looks like SENS.dll is built as a 32-bit binary. If so, 64-bit EXEs cannot load 32-bit DLLs and vice versa.
«_Superman_»
-
Looks like SENS.dll is built as a 32-bit binary. If so, 64-bit EXEs cannot load 32-bit DLLs and vice versa.
«_Superman_»
I have two versions of SENS.DLL both version 5.2.3790.3959 According to WinMerge they are binary identical. However, they are different sizes on disk? C:\windows\system32\sens.dll (65,024 bytes) C:\windows\sysWOW64\sens.dll (37,376 bytes) I also loaded them both into TextPad and they appear identical, both have length of 37,376 Why they appear different sizes on disk? It appears that MS has accidentally released a 32 bit build of the DLL for both 32 bit and 64 bit use?