www.pudn.com > mfc资源大全1.rar > mfcatl.shtml
Add ATL to MFC Project
This code is a very basic sample of "adding" ATL to the existing MFC project. I'm getting asked about MFC+ATL very often. Hope people find it useful.
Contains VB(5.0) client and OCX(VC++5.0) that has MFC control and ATL In-Proc server.
The way I did it is straightforward: Wizards generated 2 projects, MFC(Control) and ATL(In-Proc server) and essentially I just copied ATL code into MFC and used IDL file instead of ODL.
Download zip file 15KB.
| Goto HomePage |
|
Contact me: zafir@home.com
|