RE: Intellisense showing ATL instead of MFC

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



Hello Dave,

I understood you notice some VS IDE Intelligence always show the ATL
version of Classes in your MFC project, correct? If I misunderstood
anything here, please don't hesitate to correct me.

It sounds you are using ATL/MFC Shared Classes (eg: CStringT, CTime, etc).
All ATL/MFC shared classes are included in ATL header file, plus a few
change. VS IDE Intelligence always shows ATL version of Classes for both
ATL and MFC application. Thereby, you will notice Intelligence show ALT
version of Classes for you MFC project, because they are ATL/MFC shared
classes. In order to integrated ATL class and MFC class, product team might
make some change in new Share Classes. Thus, you found there are something
changed in class library. But, other class (eg: CDatabase) which isn't
Shared Classes are still included in afx header file. They still should be
shown in MFC version by Intelligence in your application.

Regarding to the list of ATL/MFC Shared Classes, you may refer to
http://msdn.microsoft.com/en-us/library/zzs00fs6(VS.80).aspx
[Classes Shared by MFC and ATL]

More detailed information about ATL/MFC shared Classes, please check out
the following document.
http://msdn.microsoft.com/en-us/library/ekdt199a(VS.80).aspx
[ATL/MFC Shared Classes]

Hope this helps. If there is anything unclear, please also feel free to let
us know. We are glad to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: examples, tutorials, books
    ... That's because ATL doesn't support OLE and ActiveX ... This is the one area I recommend MFC ...
    (microsoft.public.vc.atl)
  • Re: Building VC++ 8.0 code on a machine without Visual Studio 2005
    ... "Win2k3 and older Platform SDKs contained ATL, MFC, CRT, STL that can only ... Additionally, to use the Platform SDK to build VC applications, you should ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.languages.vc)
  • Re: How to create TSP using Visual Studio 2003 or 2005
    ... I can only say that MS doesn't support it. ... You can use the ATL string and collection classes (which are shared ... between ATL and MFC) even without creating an ATL or MFC ... Our UI dll is a separate dll and ...
    (microsoft.public.win32.programmer.tapi)
  • Re: examples, tutorials, books
    ... I will start with the "Inside OLE" book. ... > That's because ATL doesn't support OLE and ActiveX ... This is the one area I recommend MFC ...
    (microsoft.public.vc.atl)
  • Re: COM dll resources
    ... resources named via strings - it requires numeric IDs. ... to both frameworks - ATL and MFC - and stored separately. ... This time I derived it from the MFC class CDialog ... >> Then add resource string to this DLL and have a method which loads this ...
    (microsoft.public.vc.atl)