Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog Box after Dialog Box Pin
Mariusz Popiolek3-Oct-02 1:28
sussMariusz Popiolek3-Oct-02 1:28 
GeneralRe: Dialog Box after Dialog Box Pin
Debs3-Oct-02 2:15
Debs3-Oct-02 2:15 
GeneralRe: Dialog Box after Dialog Box Pin
Debs3-Oct-02 2:33
Debs3-Oct-02 2:33 
GeneralFile Decryption in VC++ by using DES Pin
hardmale_243-Oct-02 0:34
susshardmale_243-Oct-02 0:34 
GeneralPrinting Pin
candan3-Oct-02 0:00
professionalcandan3-Oct-02 0:00 
GeneralRe: Printing Pin
Stephane Rodriguez.3-Oct-02 0:19
Stephane Rodriguez.3-Oct-02 0:19 
GeneralMFC and ATL wizard order Pin
Debs2-Oct-02 23:03
Debs2-Oct-02 23:03 
GeneralRe: MFC and ATL wizard order Pin
Stephane Rodriguez.2-Oct-02 23:25
Stephane Rodriguez.2-Oct-02 23:25 
The two don't overlap. But you need to know if you intend to build a stand-alone app, or an ActiveX control.

For a stand-alone app, use the MFC class wizard, because it provides the SDI/MDI framework/dialog. Then separately use the ATL wizard to create a code skeleton, and inject the resulting code in your MFC app.

The ATL ActiveX control wizard uses both ATL and MFC (the class wizard doesn't provide the dov/view framework).

Of course, it is always possible to arrange things to make it work anyway.

MFC are usually shared at run-time (MFCxx.dll automatically loads) : _AFXDLL symbol.
ATL are usually statically linked. (atl.dll does not load unless you add the _ATL_DLL symbol.)



sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
GeneralRe: MFC and ATL wizard order Pin
Debs2-Oct-02 23:55
Debs2-Oct-02 23:55 
GeneralRe: MFC and ATL wizard order Pin
Stephane Rodriguez.3-Oct-02 0:10
Stephane Rodriguez.3-Oct-02 0:10 
GeneralRanges in Excel Pin
Anonymous2-Oct-02 22:26
Anonymous2-Oct-02 22:26 
GeneralRe: Ranges in Excel Pin
Stephane Rodriguez.2-Oct-02 23:08
Stephane Rodriguez.2-Oct-02 23:08 
GeneralRe: Ranges in Excel Pin
Anonymous3-Oct-02 7:10
Anonymous3-Oct-02 7:10 
GeneralIMPLEMENT_SERIAL problem Pin
Stefan Larsson2-Oct-02 22:22
Stefan Larsson2-Oct-02 22:22 
GeneralRe: IMPLEMENT_SERIAL problem Pin
benjymous2-Oct-02 23:23
benjymous2-Oct-02 23:23 
GeneralRe: IMPLEMENT_SERIAL problem Pin
Stefan Larsson2-Oct-02 23:51
Stefan Larsson2-Oct-02 23:51 
GeneralRe: IMPLEMENT_SERIAL problem Pin
Tomasz Sowinski3-Oct-02 3:55
Tomasz Sowinski3-Oct-02 3:55 
GeneralRe: IMPLEMENT_SERIAL problem Pin
Stefan Larsson3-Oct-02 4:05
Stefan Larsson3-Oct-02 4:05 
GeneralCTreeCtrl question Pin
joblemar2-Oct-02 21:55
sussjoblemar2-Oct-02 21:55 
GeneralRe: CTreeCtrl question Pin
Nish Nishant2-Oct-02 22:26
sitebuilderNish Nishant2-Oct-02 22:26 
GeneralCHTMLVIEW Pin
candan2-Oct-02 21:53
professionalcandan2-Oct-02 21:53 
GeneralRe: CHTMLVIEW Pin
Stephane Rodriguez.2-Oct-02 22:02
Stephane Rodriguez.2-Oct-02 22:02 
Generalretrieving process version Pin
Black ghost2-Oct-02 21:41
Black ghost2-Oct-02 21:41 
GeneralRe: retrieving process version Pin
Stephane Rodriguez.2-Oct-02 22:11
Stephane Rodriguez.2-Oct-02 22:11 
GeneralMS Shell Dlg Font Pin
Daaave2-Oct-02 19:02
Daaave2-Oct-02 19:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.