Re: New to COM programming, where to start?

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



On Apr 11, 1:11 pm, Uwe Kotyczka <uwe.kotyc...@xxxxxx> wrote:
Hallo, I'm new to COM programming.

I have a MFC (MDI) application, say B.exe, which has no COM support
yet.
Now a I have to write a new app A.exe (which will be MFC as well),
which must be able to open a document of B.exe in it's own surface.
Just as a PDF document is shown within InternetExplorer and not
opened in Adobe Reader.

I think COM will be the right thing to do so. A.exe would be the
client
and B.exe the server. Next thing is that not only B.exe has to be
automated, but a whole bunch of EXEs, some of which written with MFC,
others written in Delphi.

With no idea of the details of COM I started reading about it and
find a lot of different approaches. Can someone please recommend me
where to start? I am looking for some article suiting my situation
or for some example which solves a similar task.

TIA

Do you simply want your new application to support multiple document
formats. Or do you want your new application to be able to plugin
runnable code from the other applications?
.



Relevant Pages

  • MDI in MFC, Conceptually
    ... This is what I understand the way MDI works in the MFC framework: ... wizard builds you a View class, Main and Child frame classes, the App ... have multiple instances of each type. ...
    (microsoft.public.vc.mfc.docview)
  • Re: Opening a file for processing in MFC
    ... and it works the same way in MFC as it does without using MFC. ... You need to say a bit more about the context of the app, but it works just fine, and I do ... OpenDocument handler for SDI or MDI. ...
    (microsoft.public.vc.mfc)
  • Re: ce6.0 subproject templates
    ... As I told PB does not support MFC development and so it does not ... This worked fine on one PC, but the same projct doesnt work on ... Are both development machine installed in german? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: C++ vs. C#
    ... You are allowed to use libraries that are not part of MFC, ... In theory an MFC program in MBCS mode should support UTF-8 ... ... but if I have to use .NET framework in some app, ... developing the rich .NET framework. ...
    (microsoft.public.vc.mfc)
  • Re: MSVC 6.0 or VC++.NET
    ... If you are porting MFC ... tell you is they appear to support MFC on other platforms). ... Evidence is that my clients are now writing into their contracts that VS.NET must NOT be ... >codes shall require portability issues. ...
    (microsoft.public.vc.mfc)