<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6604151923678503168</atom:id><lastBuildDate>Sun, 22 Sep 2024 13:37:45 +0000</lastBuildDate><category>EBooks</category><category>List Control</category><category>View</category><title>Visual C++ (Code, Samples, Resources)</title><description>This blog is for the beginners, professionals and advance programmers in Visual C++. Here you can find different programming techniques, programming resources, sample projects and many more related to Visual C++ only. Start over and explore the power of Visual C++.</description><link>http://visual-cpp-code-resources.blogspot.com/</link><managingEditor>noreply@blogger.com (samdecosta)</managingEditor><generator>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6604151923678503168.post-7305759429233080447</guid><pubDate>Thu, 16 Apr 2009 06:00:00 +0000</pubDate><atom:updated>2009-09-03T06:34:46.925-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">EBooks</category><title>Getting Started with Visual C++</title><description>&lt;p&gt;&lt;!-- Begin BidVertiser code --&gt;&lt;SCRIPT LANGUAGE=&quot;JavaScript1.1&quot; SRC=&quot;http://bdv.bidvertiser.com/BidVertiser.dbm?pid=223758&amp;amp;bid=545832&quot; type=&quot;text/javascript&quot;&gt;&lt;/SCRIPT&gt;&lt;noscript&gt;&lt;/noscript&gt;&lt;!-- End BidVertiser code --&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;I am posting some of really helpful (and meaningful as well) books.&amp;#160; I am quite sure that It can be of great help.&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;1. &lt;strong&gt;Ivor Horton’s Beginning Visual C++ 2008, by Ivor Horton&lt;/strong&gt;. &lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Discusses the .NET framework, common language runtime (CLR), writing C++ applications, the C++ standards, the integrated development environment (IDE), using the IDE, structure of a C++ program, defining variables, fundamental data types, basic input/output operations, calculating in C++, variable types and casting, storage duration and scope, namespaces, C++/CLI programming, comparing values, repeating a block of statements, arrays, strings, pointers, indirect data access, dynamic memory allocation, using references, functions, passing arguments to functions, returning values, recursive function calls, exceptions, allocation errors, function overloading, templates, the struct in C++, data types, objects, classes, instances, private members, const, static members, class destructors, operator overloading, OOP, inheritance, virtual functions, debugging, Windows programming, Microsoft Foundation Classes (MFC), menus and toolbars, drawing, using CList, dialogs and controls, DLLs, and connecting to data sources. Appendices cover C++ keywords and ASCII codes.&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Buy here: &lt;a title=&quot;Ivor Horton&amp;#39;s Beginning Visual C++ 2&quot; href=&quot;http://www.amazon.com/dp/0764571974?tag=deitelassociatin&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0764571974&amp;amp;adid=1ZMB6GSVVPTD15FPZE4C&amp;amp;&quot;&gt;Ivor Horton&#39;s Beginning Visual C++ &lt;/a&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;&lt;strong&gt;2. Microsoft Visual C++ .NET Language Reference, March 2006, by Microsoft Corporation.&lt;/strong&gt; &lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Introduces Visual C++ .NET; discusses keywords, modifiers, statements, C++ features (including operator overloading, C++ operators, attributed programming, declarations, enumeration declarations, linkage specifications, namespaces, declarators, type names, abstract declarators, classes, structures, unions, class names, class members, member functions, static data members, bit fields, nested class declarations, type name in class scope, derived classes, multiple base classes, virtual functions, explicit overrides, abstract classes, scope rules, the preprocessor, managed extensions for the C++ specification, managed types, managed extensions keywords, properties, exception handling, nested classes, mixing managed and unmanaged classes, static class constructors, managed operators, metadata, typeof keyword, compiling code for runtime, verifiable code, managed templates, and managed extensions for C++ specification. Appendices cover C++ compiler options and Visual C++ linker options.&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Buy here: &lt;a title=&quot;Microsoft Visual C++ .NET Language&quot; href=&quot;http://www.amazon.com/dp/0735615535?tag=deitelassociatin&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0735615535&amp;amp;adid=0F4HX77ZGMPF92V7R24F&amp;amp;&quot;&gt;Microsoft Visual C++ .NET Language&lt;/a&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;&lt;strong&gt;3. List of EBooks recommended by Microsoft&lt;/strong&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;&lt;a title=&quot;http://support.microsoft.com/kb/122296&quot; href=&quot;http://support.microsoft.com/kb/122296&quot;&gt;http://support.microsoft.com/kb/122296&lt;/a&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;4. &lt;strong&gt;Visual C++ MFC Programming by Example&lt;/strong&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Tired of the inadequate examples and documentation for MFC and Visual C++ development? Don&#39;t like what the Developer Studio Wizards give you? Beginning and experienced Visual C++ programmers will get a leg up with the 85 working examples provided in this book (each fully annotated and ready to insert into applications. Dozens of examples are given for each key area of MFC including code for windows, classes, messaging, drawing inside windows, the design and construction of toolbars, menus, dialog boxes and bars, and custom controls, such as buttons, list boxes, and scroll bars.&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Buy Here: &lt;a title=&quot;http://www.amazon.com/exec/obidos/ASIN/0879305444/programmersheave&quot; href=&quot;http://www.amazon.com/exec/obidos/ASIN/0879305444/programmersheave&quot;&gt;http://www.amazon.com/exec/obidos/ASIN/0879305444/programmersheave&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://www.bidvertiser.com/bdv/bidvertiser/bdv_ref_publisher.dbm?Ref_Option=pub&amp;amp;Ref_PID=223758&quot;&gt;Make money from your Website or Blog with BidVertiser&lt;/a&gt;&lt;/p&gt;</description><link>http://visual-cpp-code-resources.blogspot.com/2009/04/getting-started-with-visual-c_15.html</link><author>noreply@blogger.com (samdecosta)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6604151923678503168.post-1482939598398379524</guid><pubDate>Fri, 10 Apr 2009 11:19:00 +0000</pubDate><atom:updated>2009-04-15T22:42:48.271-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">List Control</category><title>Practical example of CListCtrl (List control) in MFC</title><description>&lt;p&gt;Apart from ListControl example in MSDN, you can find a very good practical example of CListCtrl on following link:&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://www.functionx.com/visualc/controls/listcontrol.htm&quot; href=&quot;http://www.functionx.com/visualc/controls/listcontrol.htm&quot;&gt;http://www.functionx.com/visualc/controls/listcontrol.htm&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;   &lt;div style=&quot;padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:896acccb-65bc-4a35-a006-9ebb525e0e9a&quot; class=&quot;wlWriterEditableSmartContent&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/C%2b%2b&quot; rel=&quot;tag&quot;&gt;C++&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/cpp&quot; rel=&quot;tag&quot;&gt;cpp&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/C&quot; rel=&quot;tag&quot;&gt;C&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/OLE&quot; rel=&quot;tag&quot;&gt;OLE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CObject&quot; rel=&quot;tag&quot;&gt;CObject&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/MSDN&quot; rel=&quot;tag&quot;&gt;MSDN&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Win32&quot; rel=&quot;tag&quot;&gt;Win32&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/new&quot; rel=&quot;tag&quot;&gt;new&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/delete&quot; rel=&quot;tag&quot;&gt;delete&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Foundation&quot; rel=&quot;tag&quot;&gt;Foundation&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/STL&quot; rel=&quot;tag&quot;&gt;STL&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Native&quot; rel=&quot;tag&quot;&gt;Native&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Managed&quot; rel=&quot;tag&quot;&gt;Managed&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CLI&quot; rel=&quot;tag&quot;&gt;CLI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/dotnet&quot; rel=&quot;tag&quot;&gt;dotnet&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/.NET&quot; rel=&quot;tag&quot;&gt;.NET&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CLR&quot; rel=&quot;tag&quot;&gt;CLR&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/dll&quot; rel=&quot;tag&quot;&gt;dll&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/liabrary&quot; rel=&quot;tag&quot;&gt;liabrary&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/lib&quot; rel=&quot;tag&quot;&gt;lib&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Studio&quot; rel=&quot;tag&quot;&gt;Studio&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Text&quot; rel=&quot;tag&quot;&gt;Text&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Control&quot; rel=&quot;tag&quot;&gt;Control&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Document&quot; rel=&quot;tag&quot;&gt;Document&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/View&quot; rel=&quot;tag&quot;&gt;View&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CDialog&quot; rel=&quot;tag&quot;&gt;CDialog&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Database&quot; rel=&quot;tag&quot;&gt;Database&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/ODBC&quot; rel=&quot;tag&quot;&gt;ODBC&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CListCtrl&quot; rel=&quot;tag&quot;&gt;CListCtrl&lt;/a&gt;&lt;/div&gt;&lt;/p&gt;  </description><link>http://visual-cpp-code-resources.blogspot.com/2009/04/practical-example-of-clistctrl-list.html</link><author>noreply@blogger.com (samdecosta)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6604151923678503168.post-47157586334669939</guid><pubDate>Thu, 09 Apr 2009 10:36:00 +0000</pubDate><atom:updated>2009-04-15T23:01:39.647-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">View</category><title>Multiview SDI application in MFC</title><description>&lt;div&gt;Use and refine following code to develop a&amp;#160; multiview SDI application in VC++ MFC. &lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div id=&quot;codeSnippetWrapper&quot;&gt;   &lt;pre style=&quot;border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &amp;#39;Courier New&amp;#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px&quot; id=&quot;codeSnippet&quot;&gt;&lt;span style=&quot;color: #0000ff&quot;&gt;void&lt;/span&gt; CMainFrame::Set_View(UINT ViewID)&lt;br /&gt;{&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// If the view the user selected is already displaying, do nothing&lt;/span&gt;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;if&lt;/span&gt;( ViewID == m_Current View )&lt;br /&gt;        &lt;span style=&quot;color: #0000ff&quot;&gt;return&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// Get a pointer to the current view&lt;/span&gt;&lt;br /&gt;    CView* pCurrentView = GetActiveView();&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// We are about to change the view, so we need a pointer to the runtime class&lt;/span&gt;&lt;br /&gt;    CRuntimeClass* pNewView;&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// We will process a form&lt;/span&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// First, let&#39;s change the identifier of the current view to our integer&lt;/span&gt;&lt;br /&gt;    ::SetWindowLong(pCurrentView-&amp;gt;m_hWnd, GWL_ID, m_CurrentView);&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// Now we will identify what form the user selected&lt;/span&gt;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;switch&lt;/span&gt;(ViewID)&lt;br /&gt;    {&lt;br /&gt;        &lt;span style=&quot;color: #0000ff&quot;&gt;case&lt;/span&gt; IDD_DMFRM2_FORM:&lt;br /&gt;            pNewView = RUNTIME_CLASS(CdmFrm2View);&lt;br /&gt;            &lt;span style=&quot;color: #0000ff&quot;&gt;break&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;        &lt;span style=&quot;color: #0000ff&quot;&gt;case&lt;/span&gt; IDD_STUDENT_DETAILS:&lt;br /&gt;            pNewView = RUNTIME_CLASS(CStudent_Details_Page);&lt;br /&gt;            &lt;span style=&quot;color: #0000ff&quot;&gt;break&lt;/span&gt;;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// We will deal with the frame&lt;/span&gt;&lt;br /&gt;    CCreateContext crtContext;&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// We have a new view now. So we initialize the context&lt;/span&gt;&lt;br /&gt;    crtContext.m_pNewViewClass = pNewView;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// No need to change the document. We keep the current document&lt;/span&gt;&lt;br /&gt;    crtContext.m_pCurrentDoc   = GetActiveDocument();&lt;br /&gt;&lt;br /&gt;    CView* pNewViewer = STATIC_DOWNCAST(CView, CreateView(&amp;amp;crtContext));&lt;br /&gt;&lt;br /&gt;    &lt;span style=&quot;color: #008000&quot;&gt;// Now we can create a new view and get rid of the previous one&lt;/span&gt;&lt;br /&gt;    &lt;span style=&quot;color: #0000ff&quot;&gt;if&lt;/span&gt;( pNewViewer != NULL )&lt;br /&gt;    {&lt;br /&gt;        pNewViewer-&amp;gt;ShowWindow(SW_SHOW);&lt;br /&gt;        pNewViewer-&amp;gt;OnInitialUpdate();&lt;br /&gt;        SetActiveView(pNewViewer);&lt;br /&gt;        RecalcLayout();&lt;br /&gt;        m_CurrentView = ViewID;&lt;br /&gt;        pCurrentView-&amp;gt;DestroyWindow();&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Pass the ID of the view which you want to display to the function Set_View() to display it.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2a64913e-a5df-40e5-8209-dc70b08256f5&quot; class=&quot;wlWriterEditableSmartContent&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/C%2b%2b&quot; rel=&quot;tag&quot;&gt;C++&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/cpp&quot; rel=&quot;tag&quot;&gt;cpp&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/C&quot; rel=&quot;tag&quot;&gt;C&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/OLE&quot; rel=&quot;tag&quot;&gt;OLE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CObject&quot; rel=&quot;tag&quot;&gt;CObject&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/MSDN&quot; rel=&quot;tag&quot;&gt;MSDN&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Win32&quot; rel=&quot;tag&quot;&gt;Win32&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/new&quot; rel=&quot;tag&quot;&gt;new&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/delete&quot; rel=&quot;tag&quot;&gt;delete&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Foundation&quot; rel=&quot;tag&quot;&gt;Foundation&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/STL&quot; rel=&quot;tag&quot;&gt;STL&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Native&quot; rel=&quot;tag&quot;&gt;Native&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Managed&quot; rel=&quot;tag&quot;&gt;Managed&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CLI&quot; rel=&quot;tag&quot;&gt;CLI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/dotnet&quot; rel=&quot;tag&quot;&gt;dotnet&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/.NET&quot; rel=&quot;tag&quot;&gt;.NET&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CLR&quot; rel=&quot;tag&quot;&gt;CLR&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/dll&quot; rel=&quot;tag&quot;&gt;dll&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/liabrary&quot; rel=&quot;tag&quot;&gt;liabrary&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/lib&quot; rel=&quot;tag&quot;&gt;lib&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Studio&quot; rel=&quot;tag&quot;&gt;Studio&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Text&quot; rel=&quot;tag&quot;&gt;Text&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Control&quot; rel=&quot;tag&quot;&gt;Control&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Document&quot; rel=&quot;tag&quot;&gt;Document&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/View&quot; rel=&quot;tag&quot;&gt;View&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CDialog&quot; rel=&quot;tag&quot;&gt;CDialog&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Database&quot; rel=&quot;tag&quot;&gt;Database&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/ODBC&quot; rel=&quot;tag&quot;&gt;ODBC&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CView&quot; rel=&quot;tag&quot;&gt;CView&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CCreateContext&quot; rel=&quot;tag&quot;&gt;CCreateContext&lt;/a&gt;&lt;/div&gt;  </description><link>http://visual-cpp-code-resources.blogspot.com/2009/04/multiview-sdi-application-in-mfc.html</link><author>noreply@blogger.com (samdecosta)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6604151923678503168.post-8682521498590028593</guid><pubDate>Wed, 08 Apr 2009 10:54:00 +0000</pubDate><atom:updated>2009-04-08T11:24:32.518-07:00</atom:updated><title>Some VS2005 and VS2008 Wizards Pop Up Script Error</title><description>&lt;p&gt;Visual C++ team has discovered that after installing the current release of Internet Explorer (Internet Explorer 8), some VC++ wizards do not function correctly.&amp;#160; The products affected are Visual Studio 2005 and Visual Studio 2008.&amp;#160; Following are the affected wizards:&lt;/p&gt;  &lt;p&gt;- Add Function&lt;/p&gt;  &lt;p&gt;- Add Variable&lt;/p&gt;  &lt;p&gt;- Smart Device – New Project Creation&lt;/p&gt;  &lt;p&gt;- Smart Device – Add Class&lt;/p&gt;  &lt;p&gt;Invoking any of the above wizards in VS2005 or VS2008 will pop up a script error if IE8 is installed on the machine.&amp;#160; We have a workaround for those who have encountered this error.&lt;/p&gt;  &lt;p&gt;Please follow the following steps:&lt;/p&gt;  &lt;p&gt;- Open regedit (on a 64-bit OS, open the 32-bit regedit)&lt;/p&gt;  &lt;p&gt;- Under “HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet    &lt;br /&gt;Settings\Zones”, create a new key called 1000 (if it isn’t already there)&lt;/p&gt;  &lt;p&gt;- Under 1000, create a DWORD entry with:&lt;/p&gt;  &lt;p&gt;o Name = 1207&lt;/p&gt;  &lt;p&gt;o Type = REG_DWORD&lt;/p&gt;  &lt;p&gt;o Data = 0×000000&lt;/p&gt;  &lt;p&gt;For the workaround to work on VS2005 however, the VS2005 SP1 (and VS2005 SP1 Update for Windows Vista) has to be installed.&lt;/p&gt;  &lt;p&gt;Following is a brief explanation of the problem and the workaround:&lt;/p&gt;  &lt;p&gt;The VC++ Wizards Engine implements the IInternetSecurityManager interface.&amp;#160; In this implementation it allows or disallows specific actions under certain policies that Internet Explorer queries it about.&amp;#160; In IE8 a custom Security Manager now also gets queried about the URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION policy which IE previously did not delegate to custom security managers when the engine wasn’t running in the iexplore.exe process.&amp;#160; The IE engine then fails this action because we don’t have a policy entry for it in the custom zone for VC++ Wizards. We are still investigating whether this change in IE8 is by design and will possibly be addressing it by a fix in either the Wizard or IE components depending on the outcome.&lt;/p&gt;  &lt;p&gt;The above workaround lets the policy 1207 (URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION) to be allowed in zone 1000 (custom zone of VC++ Wizards engine).&amp;#160; This allows the wizard code to work as intended.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style=&quot;padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:cfe9b422-dc33-44d4-8c26-7179f48fdd59&quot; class=&quot;wlWriterEditableSmartContent&quot;&gt;Technorati Tags: &lt;a href=&quot;http://technorati.com/tags/C%2b%2b&quot; rel=&quot;tag&quot;&gt;C++&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/cpp&quot; rel=&quot;tag&quot;&gt;cpp&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/C&quot; rel=&quot;tag&quot;&gt;C&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/OLE&quot; rel=&quot;tag&quot;&gt;OLE&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CObject&quot; rel=&quot;tag&quot;&gt;CObject&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/MSDN&quot; rel=&quot;tag&quot;&gt;MSDN&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Win32&quot; rel=&quot;tag&quot;&gt;Win32&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/new&quot; rel=&quot;tag&quot;&gt;new&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/delete&quot; rel=&quot;tag&quot;&gt;delete&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Foundation&quot; rel=&quot;tag&quot;&gt;Foundation&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/STL&quot; rel=&quot;tag&quot;&gt;STL&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Native&quot; rel=&quot;tag&quot;&gt;Native&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Managed&quot; rel=&quot;tag&quot;&gt;Managed&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CLI&quot; rel=&quot;tag&quot;&gt;CLI&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/dotnet&quot; rel=&quot;tag&quot;&gt;dotnet&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/.NET&quot; rel=&quot;tag&quot;&gt;.NET&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CLR&quot; rel=&quot;tag&quot;&gt;CLR&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/dll&quot; rel=&quot;tag&quot;&gt;dll&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/liabrary&quot; rel=&quot;tag&quot;&gt;liabrary&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/lib&quot; rel=&quot;tag&quot;&gt;lib&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Studio&quot; rel=&quot;tag&quot;&gt;Studio&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Text&quot; rel=&quot;tag&quot;&gt;Text&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Control&quot; rel=&quot;tag&quot;&gt;Control&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Document&quot; rel=&quot;tag&quot;&gt;Document&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/View&quot; rel=&quot;tag&quot;&gt;View&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/CDialog&quot; rel=&quot;tag&quot;&gt;CDialog&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/Database&quot; rel=&quot;tag&quot;&gt;Database&lt;/a&gt;,&lt;a href=&quot;http://technorati.com/tags/ODBC&quot; rel=&quot;tag&quot;&gt;ODBC&lt;/a&gt;&lt;/div&gt;  </description><link>http://visual-cpp-code-resources.blogspot.com/2009/04/some-vs2005-and-vs2008-wizards-pop-up.html</link><author>noreply@blogger.com (samdecosta)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6604151923678503168.post-7001621753387922577</guid><pubDate>Tue, 07 Apr 2009 09:43:00 +0000</pubDate><atom:updated>2009-04-08T11:42:57.555-07:00</atom:updated><title>Learn to Use Visual C++ Express Edition</title><description>&lt;p&gt;In this video you&#39;ll learn how to use Visual C++ Express Edition to create console applications using the C and C++ languages. In addition the video explains how to create projects from scratch and how to use the IDE to build and debug them. &lt;/p&gt;  &lt;p&gt;Watch the video:&lt;/p&gt;  &lt;p&gt;&lt;a title=&quot;http://msdn.microsoft.com/en-us/visualc/bb530677.aspx&quot; href=&quot;http://msdn.microsoft.com/en-us/visualc/bb530677.aspx&quot;&gt;http://msdn.microsoft.com/en-us/visualc/bb530677.aspx&lt;/a&gt;&lt;/p&gt;  </description><link>http://visual-cpp-code-resources.blogspot.com/2009/04/learn-to-use-visual-c-express-edition.html</link><author>noreply@blogger.com (samdecosta)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6604151923678503168.post-9179099495154935614</guid><pubDate>Sun, 05 Apr 2009 12:36:00 +0000</pubDate><atom:updated>2009-04-08T10:27:10.956-07:00</atom:updated><title>Getting Started with Visual C++</title><description>&lt;p align=&quot;left&quot;&gt;1. &lt;strong&gt;Ivor Horton’s Beginning Visual C++ 2008, by Ivor Horton&lt;/strong&gt;. &lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Discusses the .NET framework, common language runtime (CLR), writing C++ applications, the C++ standards, the integrated development environment (IDE), using the IDE, structure of a C++ program, defining variables, fundamental data types, basic input/output operations, calculating in C++, variable types and casting, storage duration and scope, namespaces, C++/CLI programming, comparing values, repeating a block of statements, arrays, strings, pointers, indirect data access, dynamic memory allocation, using references, functions, passing arguments to functions, returning values, recursive function calls, exceptions, allocation errors, function overloading, templates, the struct in C++, data types, objects, classes, instances, private members, const, static members, class destructors, operator overloading, OOP, inheritance, virtual functions, debugging, Windows programming, Microsoft Foundation Classes (MFC), menus and toolbars, drawing, using CList, dialogs and controls, DLLs, and connecting to data sources. Appendices cover C++ keywords and ASCII codes.&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Buy here: &lt;a title=&quot;Ivor Horton&amp;#39;s Beginning Visual C++ 2&quot; href=&quot;http://www.amazon.com/dp/0764571974?tag=deitelassociatin&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0764571974&amp;amp;adid=1ZMB6GSVVPTD15FPZE4C&amp;amp;&quot;&gt;Ivor Horton&#39;s Beginning Visual C++ &lt;/a&gt;&lt;/p&gt;   &lt;p align=&quot;left&quot;&gt;&lt;strong&gt;2. Microsoft Visual C++ .NET Language Reference, March 2006, by Microsoft Corporation.&lt;/strong&gt; &lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Introduces Visual C++ .NET; discusses keywords, modifiers, statements, C++ features (including operator overloading, C++ operators, attributed programming, declarations, enumeration declarations, linkage specifications, namespaces, declarators, type names, abstract declarators, classes, structures, unions, class names, class members, member functions, static data members, bit fields, nested class declarations, type name in class scope, derived classes, multiple base classes, virtual functions, explicit overrides, abstract classes, scope rules, the preprocessor, managed extensions for the C++ specification, managed types, managed extensions keywords, properties, exception handling, nested classes, mixing managed and unmanaged classes, static class constructors, managed operators, metadata, typeof keyword, compiling code for runtime, verifiable code, managed templates, and managed extensions for C++ specification. Appendices cover C++ compiler options and Visual C++ linker options.&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Buy here: &lt;a title=&quot;Microsoft Visual C++ .NET Language&quot; href=&quot;http://www.amazon.com/dp/0735615535?tag=deitelassociatin&amp;amp;camp=14573&amp;amp;creative=327641&amp;amp;linkCode=as1&amp;amp;creativeASIN=0735615535&amp;amp;adid=0F4HX77ZGMPF92V7R24F&amp;amp;&quot;&gt;Microsoft Visual C++ .NET Language&lt;/a&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;&lt;strong&gt;3. List of EBooks recommended by Microsoft&lt;/strong&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;&lt;a title=&quot;http://support.microsoft.com/kb/122296&quot; href=&quot;http://support.microsoft.com/kb/122296&quot;&gt;http://support.microsoft.com/kb/122296&lt;/a&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;&lt;strong&gt;4.&lt;/strong&gt; &lt;strong&gt;Visual C++ MFC Programming by Example&lt;/strong&gt;&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Tired of the inadequate examples and documentation for MFC and Visual C++ development? Don&#39;t like what the Developer Studio Wizards give you? Beginning and experienced Visual C++ programmers will get a leg up with the 85 working examples provided in this book (each fully annotated and ready to insert into applications. Dozens of examples are given for each key area of MFC including code for windows, classes, messaging, drawing inside windows, the design and construction of toolbars, menus, dialog boxes and bars, and custom controls, such as buttons, list boxes, and scroll bars.&lt;/p&gt;  &lt;p align=&quot;left&quot;&gt;Buy Here: &lt;a title=&quot;http://www.amazon.com/exec/obidos/ASIN/0879305444/programmersheave&quot; href=&quot;http://www.amazon.com/exec/obidos/ASIN/0879305444/programmersheave&quot;&gt;http://www.amazon.com/exec/obidos/ASIN/0879305444/programmersheave&lt;/a&gt;&lt;/p&gt;  &lt;div style=&quot;padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px&quot; id=&quot;scid:0767317B-992E-4b12-91E0-4F059A8CECA8:069e0f7c-0ef5-4d30-a5e9-14cecb915203&quot; class=&quot;wlWriterEditableSmartContent&quot;&gt;LiveJournal Tags: &lt;a href=&quot;http://www.livejournal.com/interests.bml?int=VC%2b%2b&quot; rel=&quot;tag&quot;&gt;VC++&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=MFC&quot; rel=&quot;tag&quot;&gt;MFC&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Visual+C%2b%2b&quot; rel=&quot;tag&quot;&gt;Visual C++&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Microsoft&quot; rel=&quot;tag&quot;&gt;Microsoft&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=ATL&quot; rel=&quot;tag&quot;&gt;ATL&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Visual&quot; rel=&quot;tag&quot;&gt;Visual&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=C%2b%2b&quot; rel=&quot;tag&quot;&gt;C++&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=cpp&quot; rel=&quot;tag&quot;&gt;cpp&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=C&quot; rel=&quot;tag&quot;&gt;C&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=OLE&quot; rel=&quot;tag&quot;&gt;OLE&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=CObject&quot; rel=&quot;tag&quot;&gt;CObject&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=MSDN&quot; rel=&quot;tag&quot;&gt;MSDN&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Win32&quot; rel=&quot;tag&quot;&gt;Win32&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=new&quot; rel=&quot;tag&quot;&gt;new&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=delete&quot; rel=&quot;tag&quot;&gt;delete&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Foundation&quot; rel=&quot;tag&quot;&gt;Foundation&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=STL&quot; rel=&quot;tag&quot;&gt;STL&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Native&quot; rel=&quot;tag&quot;&gt;Native&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Managed&quot; rel=&quot;tag&quot;&gt;Managed&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=CLI&quot; rel=&quot;tag&quot;&gt;CLI&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=dotnet&quot; rel=&quot;tag&quot;&gt;dotnet&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=.NET&quot; rel=&quot;tag&quot;&gt;.NET&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=CLR&quot; rel=&quot;tag&quot;&gt;CLR&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=dll&quot; rel=&quot;tag&quot;&gt;dll&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=liabrary&quot; rel=&quot;tag&quot;&gt;liabrary&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=lib&quot; rel=&quot;tag&quot;&gt;lib&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Studio&quot; rel=&quot;tag&quot;&gt;Studio&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Text&quot; rel=&quot;tag&quot;&gt;Text&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Control&quot; rel=&quot;tag&quot;&gt;Control&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Document&quot; rel=&quot;tag&quot;&gt;Document&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=View&quot; rel=&quot;tag&quot;&gt;View&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=CDialog&quot; rel=&quot;tag&quot;&gt;CDialog&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Database&quot; rel=&quot;tag&quot;&gt;Database&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=ODBC&quot; rel=&quot;tag&quot;&gt;ODBC&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=Ivor+Horton&quot; rel=&quot;tag&quot;&gt;Ivor Horton&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=2005&quot; rel=&quot;tag&quot;&gt;2005&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=2008&quot; rel=&quot;tag&quot;&gt;2008&lt;/a&gt;,&lt;a href=&quot;http://www.livejournal.com/interests.bml?int=EBook&quot; rel=&quot;tag&quot;&gt;EBook&lt;/a&gt;&lt;/div&gt;  </description><link>http://visual-cpp-code-resources.blogspot.com/2009/04/getting-started-with-visual-c.html</link><author>noreply@blogger.com (samdecosta)</author><thr:total>0</thr:total></item></channel></rss>