Thread: OnConnection
View Single Post
  #1  
Old September 2nd 07, 02:56 PM posted to microsoft.public.outlook.program_addins
MON205
external usenet poster
 
Posts: 31
Default OnConnection

Hello,
I have a problem with my add-in, that some simple OOM or MAPI functions fail
in the context of the OnConnection event - my add-in inherited from the
_IDTExtensibility2.
As an example, the GetFolderFromID() function throws a_com_error exception
with unknown error( 0x96a40107 ). This occur with some folders in a PST.
Other folders and other PSTs don't have this problem.
The same function succeeded when I call it with the same EntryID & StoreID
but after leaving the context of the OnConnection event.
Now, simply, the question is, does all the PSTs loaded completely before
linking (calling OnConnection)with the add-ins?!!!
Ads