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

retreiving LPEXCHEXTCALLBACK



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 13th 06, 04:39 PM posted to microsoft.public.outlook.program_addins
Nikolas
external usenet poster
 
Posts: 34
Default retreiving LPEXCHEXTCALLBACK

Hi,

My company had in the past developed an Outlook addin for versions of
Outlook 2000-2003 with Exchange 2000-2003. A dll was created implementing the
usual interfaces: IExchExtCommands, IExchExtUserEvents etc. and registering
it with Outlook. We were using the Outlook custom forms. We wanted to use
form regions and create the same addin using VSTO. However, we didnt not want
to re-write all the code that had to do with the controls of the forms from
scratch. So we decided to keep the old dlls (without registering them) and
use them as stand alone dlls.

My question is: since the old dlls are not getting registered with Outlook
their events ( for example: IExchExtCommands:oCommand(LPEXCHEXTCALLBACK
lpeecb, UINT cmdid) ) are not getting raised. Is there a way of raising these
events manually? Is there an object of the Exchange (or something that I can
pass in as the 1st parameter in the above example function) that I can
retreive from the Outlook Object Model and call them manually?

Any help would much appreciated.
If any more information is needed please ask.

Thanks
Nikolas
Ads
  #2  
Old October 13th 06, 07:04 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default retreiving LPEXCHEXTCALLBACK

No, you cannot retrieve IExchExtXXX interfaces unless you code is an ECE.
Nothing however prevents you from leaving from the ECE code intact (it
should work fine in Outlook 2007) and implementing a COM addin in the esame
dll or even in the same class that already implements the ECE functionality.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Nikolas" wrote in message
...
Hi,

My company had in the past developed an Outlook addin for versions of
Outlook 2000-2003 with Exchange 2000-2003. A dll was created implementing
the
usual interfaces: IExchExtCommands, IExchExtUserEvents etc. and
registering
it with Outlook. We were using the Outlook custom forms. We wanted to use
form regions and create the same addin using VSTO. However, we didnt not
want
to re-write all the code that had to do with the controls of the forms
from
scratch. So we decided to keep the old dlls (without registering them) and
use them as stand alone dlls.

My question is: since the old dlls are not getting registered with Outlook
their events ( for example: IExchExtCommands:oCommand(LPEXCHEXTCALLBACK
lpeecb, UINT cmdid) ) are not getting raised. Is there a way of raising
these
events manually? Is there an object of the Exchange (or something that I
can
pass in as the 1st parameter in the above example function) that I can
retreive from the Outlook Object Model and call them manually?

Any help would much appreciated.
If any more information is needed please ask.

Thanks
Nikolas



 




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
computer crash when retreiving outlook messages Sandee Add-ins for Outlook 1 June 25th 06 08:09 PM
My outlook has stopped retreiving and sending emails Clive Dickens Outlook - Installation 1 June 23rd 06 11:30 PM
Retreiving a deleted folder in outlook Richard Mahan Outlook - General Queries 1 May 3rd 06 02:45 PM
retreiving customized settings for outlook express aftab haider Outlook - Installation 1 January 17th 06 04:30 PM


All times are GMT +1. The time now is 12:57 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.