Mrk Fldig Mrk Fldig - 1 year ago 188
C# Question

Wrong OS or OS Version when using Redemption

I'm trying to incorporate outlook redemption into a C# project (VS2015 Enterprise), I downloaded the dll's and used regsrv32 to register the 64 bit DLL, then added a reference within the C# project.

When running the application I get 'Wrong OS or OS version' when creating the RDOSession?

var Session = new RDOSession();
Session.Logon("", "", false, false, null, false);
var Inbox = Session.GetDefaultFolder(rdoDefaultFolders.olFolderInbox);

foreach (var Msg in Inbox.Items) {

Answer Source

It means the bitness of your app is different from the bitness of Outlook/MAPI system. Please see

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download