Re: Alexander Where r u ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alexander Nickolov (agnickolov_at_mvps.org)
Date: 01/17/05


Date: Mon, 17 Jan 2005 10:37:55 -0800

Isn't this simpler to achieve by registering a new protocol for
IE to navigate through? E.g.

mydocproto://my.doc.address

I know nothing beyond its existence, but Igor Tandetnik
here should have quiote a few tips in this regard.

-- 
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"ABC" <vishalmore@rediffmail.com> wrote in message 
news:1105774648.037751.264480@z14g2000cwz.googlegroups.com...
> Hi Alexander,
>
> There are some clarifications that I must make to my last post. I want
> the IE to host the Word document I created from Structured Storage
> inside my Active Document Server.
>
> I have also realized that it is the container that will show the
> document in its client site by calling DoVerb - something that I was
> doing explicitly (and incorrectly) inside my Server, as mentioned in my
> last post. ( Earlier I was doing DoVerb on the Word document IOleObject
> inside CActiveDoc1::OnCreate and the document was getting created in
> native WinWord app outside IE)
>
> However, I now understand that it is the container that will do this
> job - once my server calls ActivateMe() and CreateView() and so on.
> Upon observation I see that the container is not able to get the right
> OleObject (corresponding) from my server.To achieve what I want to, my
> ActiveDoc must return the IOleObject (corresponding to Word) to
> container (IE).
>
> I think I must override the QueryInterface function for my ActiveDoc
> object to return the IOleObject corresponding to Word. Also, I think
> ActiveDoc's QueryInterface must be overridden.Is that right ?
>
> (My server is based on the Microsoft Sample for ActiveDoc in ATL). I'm
> not very experienced with ATL and I'm clueless on how to make sure my
> QueryInterface function returns the IOleObject that I want to ?
>
> I used COM_INTERFACE_ENTRY_FUNC(IID_IOleObject, 0, QI) macro to
> override the QueryInterface, but the control is going to this function.
> The defination for QI is
> static HRESULT WINAPI QI(void* pv, REFIID riid,LPVOID* ppv, DWORD dw)
> What is wrong here ?
>
> Thnx in advance !
> 


Relevant Pages

  • Re: Alexander Where r u ?
    ... the IE to host the Word document I created from Structured Storage ... I now understand that it is the container that will do this ... ActiveDoc must return the IOleObject to ... I think I must override the QueryInterface function for my ActiveDoc ...
    (microsoft.public.vc.atl)
  • Re: ANN: SymbolicWeb v0.1 (quite alpha) w/ source code this time
    ... server model on its head and constructing as much of the widgets ... client-side, and your framework at ... may dump the majority of the processing off to the client and the server acts ... between displaying a container or hiding a container ...
    (comp.lang.lisp)
  • SMS Not Publishing to Active Directory
    ... and Site Server to publish to AD and i think i messed up the schema ... security mode in a forest with one root and two child domains. ... as having a client installed, ie when I run the query "All Client ... Container and saw values in it still pointed to the old server name. ...
    (microsoft.public.sms.setup)
  • Re: Preparing AD for first Server 2008 PC
    ... Please post your most recent adprep logs so we can have a look. ... I removed the 2008 server from the domain and rebooted it. ... Verify that schema update was successful by: ... CN=ForestUpdates container underneath and verify that the ...
    (microsoft.public.windows.server.active_directory)
  • Re: Question about containers and User Groups
    ... The email server is called SmarterMail. ... If it were really integrated with AD it would USE the AD accounts directly. ... When it finds the user in the Users Container it ... Users) or OUs containing the Computer accounts (to affect the Computers.) ...
    (microsoft.public.windows.server.active_directory)