![]() |
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 |
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 |
All times are GMT +1. The time now is 12:25 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-2006 OutlookBanter.com