Answered in the other group you posted in. Please do not multipost.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"WLAN" <(E-Mail Removed)> wrote in message
news:BA15F3AC-5405-4135-B513-(E-Mail Removed)...
> Hi,
>
> I have a query regarding ActiveExplorer() instance in Outlook 2003 &
> Outlook
> 2007.
> We have a custom store and old client extension code written in C++. This
> works fine for all Outlook versions.
>
> These dlls creates custom store as well as custom menus in outlook menu
> bars. All these code are written in client extensions module.
>
> The code is simple - getting activeexplorer(), then getting commandbar and
> addinf new menus and toolbar buttons. This works fine with single instance
> of
> explorer. If we launch multiple versions of Outlook, menus in the outlook
> menu bar is not coming. This is happening only in Outlook 2003.
>
> get_activeexplorer() is called in init module of client extension and
> checks
> whether menu is already added in outlook menu bar. But outlook always
> returns
> first instance ActiveExplorer() eventhough if you launch 2nd instance of
> Outlook.
>
> IS there anyway to get active explorer for next outlook instance.? Do I
> need
> to set any active window for outlook?
>
> Thanks in Advance
>
>