Regarding my question in this thread:
See
http://msdn.microsoft.com/library/de...yreference.asp
Based, on the above information, I seek to understand if and how these
Shared ATL-MFC are distinguished from New Win32 C++ Project --> "Add Support
for: ATL" (checkbox).
"Greg" wrote:
[color=blue]
> I seek to understand ATL better. When I create a Win32 Project (App or DLL)
> the option to add support for ATL (or MFC) is not selectable. It is only
> selectable for a Win32 Console App. However, it seems that ATL-MFC Shared
> classes, e.g. CString, CStringT, and the new CRect, can be added to the
> project and work fine. All that is required is to include the needed ATL
> header (e.g. #include <atlbase.h>, #include <atlcom.h>, #include <atlstr.h>
> etc.).
>
> I have two questions related to this:
>
> 1. Can these new ATL-MFC Shared classes such as CString, CStringT, CRect,
> CImage, etc. be used in any VC++ Win32 (non-MFC, non-ATL) Project whether it
> be App or DLL?
>
> 2. If these ATL-MFC Shared classes can be used in any Win32 project, then
> what does the Add Support for: ATL checkbox refer to? It does not seem that
> it refers to being able to use Classes such as the new CStringT and CRect
> (ATL MFC Shared classes). So what does it refer to?
>
> Thank You
>
>
>
> --
> Greg McPherran
>
www.McPherran.com[/color]