1. the dll is loaded only once by the process, this is a Windows feature.
2. Your ECE entry point may be called multiple times in different contexts.
Nothing however prevents you from creating you ECE object only once and
storting a pointer to it in a global variable so you can rerurn it on
subsequent cals to yoru ECE entry point rather than returning a brand new
object.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"WLAN" <(E-Mail Removed)> wrote in message
news:59582217-5BFB-42CB-88D8-(E-Mail Removed)...
> Hello,
>
> I have a client extension written in C++. It's working fine with Outlook
> 2003 version. But for Outlook 2007 version, its throwing exception. I
> couldn't locate the exact location of the bug.
>
> It's crashing when it try to invoke or execute some explorer events. I
> know
> dispid as 61447. It's OnSelectionChange event of explorer and its crashing
> after invoking this dispid function.
>
> My client extension provides drop down command bar button if some
> properties
> are set in mailitem.This commandbar button provides lot of submenu items
> and
> one of the item is create another explorer window.
>
> The following are my doubts:
>
> (1) How many client extensions (DLLS) gets loaded if multiple explorer
> windows are launched ?
>
> (2) When i invoke a new explorer window from main explorer window, another
> extension dll gets loaded.Will each client extension DLL keep its own
> state?
>
> Thanks
>
>