PC Review


Reply
Thread Tools Rate Thread

Client Extensions

 
 
WLAN
Guest
Posts: n/a
 
      23rd Dec 2008
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


 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      24th Dec 2008
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
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exchange Client Extensions in Outlook 2010? CharlieD Microsoft Outlook Program Addins 2 25th May 2010 02:37 PM
Exchange Client Extensions in Outlook 2010? CharlieD Microsoft Outlook VBA Programming 1 24th May 2010 07:12 PM
FrontPage 2000 Web Client Extensions AD Microsoft Frontpage 0 25th Aug 2004 05:16 AM
Web App Extensions Client Max Microsoft Frontpage 1 11th Nov 2003 09:54 AM
AD Client Extensions and '98 mapped drives... Joe LaTulippe Microsoft Windows 2000 Active Directory 0 2nd Jul 2003 09:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:23 PM.