Click to See Complete Forum and Search --> : CAN WE USE MFC IN ATL ?


Satya Ramesh
April 12th, 1999, 04:45 AM
Hi,

I am using VC++ 5.0 version.
I have some library dll s supporting MFC classes.
Is it possible to use the same library in ATL ??
It is a dual interface.

More clearly we are planning for using ATL to create COM Server. But the server logic uses
DLLs supporting MFC classes..
Can I use the same dlls without changing ?
does ATL supports MFC ?




Thanks for reading this.

-Satyaramesh

Rob Wainwright
April 12th, 1999, 03:03 PM
Although ATL is a lightweight class library, it is certainly possible to include MFC either within actual ATL components or (as you look to be using) within dlls exporting MFC classes.

I am currently working on a project with about twenty ATL COM objects (all using MFC internally) and we have two base MFC extension libraries used by most of the ATL COM objects.