Re: ole server aware of its container
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Thu, 19 Apr 2007 11:13:23 -0700
Have a look at IOleClientSite::GetMoniker. You can use it to
get a moniker to yourself that uses the container's implementation
of IOleItemContainer for resolution. IMoniker::GetDisplayName
should give you the name the container uses (assuming you requested
a relative moniker, not a full moniker).
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"Bob" <bob.cardillo@xxxxxxxxx> wrote in message
news:1176993899.651924.25590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I tried using IOleItemContainer's GetObject() method passing in "" as
the object name and incredibly it returned my own object. So that
shot in the dark was pretty thrilling initially.
BUT, it turns out it's still giving me the object itself rather than
the "Shape" object from PowerPoint.
.
- Follow-Ups:
- Re: ole server aware of its container
- From: Bob
- Re: ole server aware of its container
- References:
- ole server aware of its container
- From: Bob
- Re: ole server aware of its container
- From: Igor Tandetnik
- Re: ole server aware of its container
- From: Bob
- Re: ole server aware of its container
- From: Alexander Nickolov
- Re: ole server aware of its container
- From: Bob
- Re: ole server aware of its container
- From: Bob
- ole server aware of its container
- Prev by Date: Re: Communicating with DCOM server using another user account
- Next by Date: Re: Communicating with DCOM server using another user account
- Previous by thread: Re: ole server aware of its container
- Next by thread: Re: ole server aware of its container
- Index(es):
Relevant Pages
|
Loading