CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Why WTL if MFC exists ?

    Hi
    I worked with ATL and i believe it has advantages over MFC when creating controls , COMponents..

    Q1 :
    what about WTL as an alternative for MFC for dialog based apps ?
    the only advantage I know is it's available for download from MS site.. But no support..WTL 7.1

    Q2 :
    Supposed I have a good knowledge of ATL..Is it easy to switch to WTL from MFC ?
    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

  2. #2
    Join Date
    Apr 2003
    Location
    Athens, Greece
    Posts
    1,094
    Have you seen this article on WTL?
    Extreme situations require extreme measures

  3. #3
    Join Date
    Jul 2001
    Location
    Netherlands
    Posts
    751
    The advantage of WTL over MFC is that it's much leaner and everything you can do in MFC you can ,with a little more raw api knowledge , do just as easy in WTL. ATL + WTL eliminates the need for MFC. It's easy to switch to WTL from MFC if you just remember that all those MFC calls use almost identical API calls, and use those instead. And besides that a lot of the ATL class definitions are exact copies of the MFC classdefinitions so you can just follow the MFC MSDN on those.
    There's a few good walkthroughs on the codeproject site.
    Last edited by fransn; May 1st, 2004 at 10:47 AM.

  4. #4
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    thank you..

    Seems that WTL gives better performance that MFC and a smaller EXE..
    but it basicly replaces Window classes...
    I'll have to make my set of classes to encapsulate the APIs
    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured