A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Client Extensions



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 23rd 08, 07:28 AM posted to microsoft.public.outlook.program_addins
WLAN
external usenet poster
 
Posts: 49
Default Client Extensions

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


  #2  
Old December 24th 08, 06:09 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Client Extensions

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" wrote in message
...
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




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable Exchange Client Extensions Addins via registry or G booker@mgt[_2_] Outlook - Installation 4 July 31st 08 02:50 PM
file extensions TM Outlook - General Queries 1 March 6th 07 01:03 PM
.eml extensions cannot be opened Laurel Outlook Express 1 March 5th 07 07:57 PM
Can't download files with php extensions roger sapolsky Outlook Express 2 August 4th 06 12:36 AM
file extensions SC.ATTER Outlook Express 2 March 29th 06 08:03 PM


All times are GMT +1. The time now is 12:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.