I created an Windows application, using the Redemption library. This application simply access the Stores from Outlook and store messages in a web application. I am using the RedemptionLoader class, so I don't need to register Redemption. The problem I am facing is that my application simply crashes when it is used on a machine that contains an Office 64-bit.
At first, I was building the project with "Any CPU" configuration. After reading the FAQ from Redemption website, I adjusted the build settings, so I can deploy the application both in 32-bit ("x86") and 64-bit ("x64"). The Office installed in my machine is 32-bit, so both "Any CPU" and "x86" works like a charm. Meanwhile, my team members had Office 64-bit installed in their machines and the program using the "x64" build simply crashes, without any error message. Then, we tried to run the program with "x86" configuration, but the program throws an Exception (Wrong OS or OS Version), which I get it, because the Office is 64-bit.
So, after debugging the application, I found that the crash is happening in the RedemptionLoader class, in the line shown below.
ClassFactory.CreateInstance(null, ref IID_Unknown, out res);
In those machines, the installed Office is the 365 version. I don't know if there is a relation or not. I simply follow the instructions I read, so I don't know what I am missing here.