Re: examples, tutorials, books

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: rajas (rajas_at_cox.net)
Date: 12/30/04


Date: Wed, 29 Dec 2004 19:27:15 -0700

Thanks,

I will start with the "Inside OLE" book.

I really did not make myself clearer earlier - I do not need to code an
application that supports compound documents etc.. I just need to code a
COM server that can create objects that can be embedded in applications that
support such documents (e.g. Word ). The application now uses MFC and does
this similiar to the sample code in the MSDN HierSrvr example.

"Alexander Nickolov" <agnickolov@mvps.org> wrote in message
news:Oqkr5%23f7EHA.2180@TK2MSFTNGP10.phx.gbl...
> That's because ATL doesn't support OLE and ActiveX
> Documents. This is the one area I recommend MFC
> over ATL. If you need it without MFC, you'll have to
> code everything by hand as ATL only offers the basic
> IUnkown and IClassFactory support. You should start
> by reading "Inside OLE" by Kraig Brockschmidt, MS
> Press (you can find it on MSDN Library CDs shipped
> with VC 6.0 in the Books section) - thoroughly. Then
> you read about ActiveX Documents on MSDN Library -
> the IOleDocument interface and friends.
>
> --
> =====================================
> Alexander Nickolov
> Microsoft MVP [VC], MCSD
> email: agnickolov@mvps.org
> MVP VC FAQ: http://www.mvps.org/vcfaq
> =====================================
> "rajas" <rajas@cox.net> wrote in message
> news:JNzAd.8887$Q%4.3432@fed1read06...
> > Hi,
> >
> > I am an MFC programmer trying to learn ATL. I have the basics sort of
> > covered - successfully done simple servers even a couple with some UI.
> > What I need to do is develop an application where the server can support
> > embedded objects (in say MS Word or PowerPoint etc.). I do not need
> > in-place
> > editing, just activation when the user double clicks the object in the
> > other
> > application.
> >
> > I am looking for some examples or tutorials or books that may cover this
> > topic - what minimum interfaces to support, what issues to worry about
> > etc..
> > I have done this using MFC with the built in Automation support that MFC
> > provides with COleDocument, COleServerItem etc.. I need to do this
without
> > MFC (including the serialization that is needed so that the embedded
> > object
> > can be stored with the Word document for example).
> >
> > I would appreciate any and all help - the few books in ATL that I hae
> > seen
> > talk a lot about Active-X controls but not much about Active-document
> > interfaces.
> >
> > Thanks in advance and Season's greetings to all.
> >
> >
>
>



Relevant Pages

  • RE: Intellisense showing ATL instead of MFC
    ... I understood you notice some VS IDE Intelligence always show the ATL ... It sounds you are using ATL/MFC Shared Classes ... ATL and MFC application. ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.ide)
  • Re: examples, tutorials, books
    ... so you want to implement an OLE server (not ... Then "Inside OLE" will be sufficient. ... however - ATL doesn't ... This is the one area I recommend MFC ...
    (microsoft.public.vc.atl)
  • Re: examples, tutorials, books
    ... That's because ATL doesn't support OLE and ActiveX ... This is the one area I recommend MFC ...
    (microsoft.public.vc.atl)
  • Re: Building VC++ 8.0 code on a machine without Visual Studio 2005
    ... "Win2k3 and older Platform SDKs contained ATL, MFC, CRT, STL that can only ... Additionally, to use the Platform SDK to build VC applications, you should ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vc)
  • Re: How to create TSP using Visual Studio 2003 or 2005
    ... I can only say that MS doesn't support it. ... You can use the ATL string and collection classes (which are shared ... between ATL and MFC) even without creating an ATL or MFC ... Our UI dll is a separate dll and ...
    (microsoft.public.win32.programmer.tapi)