Outlook Security Manager .NET error thrown in ConnectTo

Add-in Express™ Support Service
That's what is more important than anything else

Outlook Security Manager .NET error thrown in ConnectTo
 
Kent Wann




Posts: 2
Joined: 2005-12-20
Hi
I'm
Using Outlook 2003 SP on XP with the following code:

Outlook.Application outlookApp ;
outlookApp = new Outlook.Application();
AddinExpress.Outlook.SecurityManager secman = new 
                          AddinExpress.Outlook.SecurityManager();
secman.ConnectTo(outlookApp);
secman.DisableOOMWarnings = true;
Outlook.NameSpace outlookNS = outlookApp.GetNamespace("MAPI");


An error is thrown when calling
secman.ConnectTo(outlookApp);


saying:
Faulting application outlook.exe, version 11.0.6565.0, stamp 42cacc7d, faulting module ntdll.dll, version 5.1.2600.2180, stamp 411096b4, debug? 0, fault address 0x00001010.

Any ideas how to solve this?




Posted 20 Dec, 2005 09:28:11 Top
Sergey Grischenko


Add-in Express team


Posts: 7230
Joined: 2004-07-05
Hi Kent.

Did you run our examples? Do they work on your PC?
Posted 20 Dec, 2005 11:15:39 Top
Kent Wann




Posts: 2
Joined: 2005-12-20
No, I didn't try your example before writing to you, thanks for reminding me of the obvious, which of course solved the problem.

Merry christmas

Kent
Posted 21 Dec, 2005 09:44:23 Top