Forum Discussion
CobraDeveloper
Jul 25, 2024Copper Contributor
System.InvalidCastException: The COM object of the type “Outlook.ApplicationClass” cannot be convert
Hello everyone, We have an Outlook addon that communicates with our application. Our application used to be 32 bit. However, we changed it to 64 bit. We use the Microsoft.Office.Interop.Outlook ...
Kidd_Ip
Jul 26, 2024MVP
Please consider below:
- Office Version Compatibility: Ensure that the version of Office (Outlook) compatible with your application’s architecture (32-bit or 64-bit)
- Registry and COM Settings: Check if any registry settings or COM-related configurations need adjust
- Interop Assemblies: Make sure you’re referencing the correct interop assemblies (32-bit or 64-bit) in your project