![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi!
I'm developing a Addin in VC++ to add a toolbar (and a button) to the email Inspector... I Advise a "new inspector" on the NewInspector Event, adding it the "Activate", "Deactivate" and "Close" event. But the same code crashes when a 2nd Inspector is created (2 "new mail" windows) ... Could someone help me? void __stdcall CAddin::OnInspectors_NewInspector(IDispatch* Ctrl){ .... CComQIPtrOutlook::_Inspector spInspector(Ctrl); // setup InspectorActivateEvent... -------------------- hr = Inspector_ActivateEvent: ![]() if(FAILED(hr)) ATLTRACE("Failed advising to ApplicationEvents"); // setup InspectorDeactivateEvent... ------------------------- hr = Inspector_DeactivateEvent: ![]() if(FAILED(hr)) ATLTRACE("Failed advising to ApplicationEvents"); // setup InspectorCloseEvent... ------------------ hr = Inspector_CloseEvent: ![]() if(FAILED(hr)) ATLTRACE("Failed advising to ApplicationEvents"); .... } |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with multiple items | Jaroslav Harvalik | Outlook - Installation | 0 | February 12th 07 01:06 PM |
How attachments and inspectors work together | LSM | Add-ins for Outlook | 0 | January 31st 07 08:57 PM |
Multiple file problem | Rod | Outlook - General Queries | 2 | December 7th 06 09:23 PM |
multiple calendars problem | Rinze | Outlook - Calandaring | 0 | April 3rd 06 03:58 PM |
Errors when using Inspectors | Yoav | Outlook - Calandaring | 1 | March 23rd 06 02:47 PM |