<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Software Solutions &#187; MS Visual Studio</title>
	<atom:link href="http://ossmall.info/category/ms-visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://ossmall.info</link>
	<description>Open Software Solutions</description>
	<lastBuildDate>Tue, 07 Sep 2010 16:41:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FIX: A Stop error or a crash occurs on the operating system when you profile an application by using Visual Studio 2008 Service Pack 1</title>
		<link>http://ossmall.info/fix-a-stop-error-or-a-crash-occurs-on-the-operating-system-when-you-profile-an-application-by-using-visual-studio-2008-service-pack-1/</link>
		<comments>http://ossmall.info/fix-a-stop-error-or-a-crash-occurs-on-the-operating-system-when-you-profile-an-application-by-using-visual-studio-2008-service-pack-1/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 11:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Application Center]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-a-stop-error-or-a-crash-occurs-on-the-operating-system-when-you-profile-an-application-by-using-visual-studio-2008-service-pack-1</guid>
		<description><![CDATA[
Article ID: 958842 &#8211; Last Review: February 23, 2009 &#8211; Revision: 2.1
FIX: A Stop error or a crash occurs on the operating system when you profile an application by using Visual Studio 2008 Service Pack 1
View products that this article applies to.

On This Page




Expand all &#124; Collapse all
SYMPTOMS


You may experience a Stop error, or the [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 958842 &#8211; Last Review: February 23, 2009 &#8211; Revision: 2.1</div>
<p><strong class=title>FIX: A Stop error or a crash occurs on the operating system when you profile an application by using Visual Studio 2008 Service Pack 1</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<h2 class=subTitle id=tocTitle><span><a >On This Page</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody id=tocDiv></div>
<p><noscript></noscript>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<h2 class=subTitle id=tocHeadRef><span><a >SYMPTOMS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>You may experience a Stop error, or the operating system may crash when you create a profile of an application by using Microsoft Visual Studio 2008 Service Pack 1 (SP1). The problem occurs when the following conditions are true:
<ul>
<li>You use the sampling profiling method.</li>
<li>The computer is running on the Intel Nehalem processor.</li>
</ul>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >CAUSE</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>This problem occurs because the sampling profiler uses a driver in the operating system. However, the Intel Nehalem processor was created after the release of the 2008 version of the profiler. Because the sampling feature of the profiler is specific to the driver per processor, it was not possible to be completely compatible with the Nehalem processor before the release.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RESOLUTION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p>A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix. </p>
<p>To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
<div class=indent><a href=http://code.msdn.microsoft.com/KB958842>http://code.msdn.microsoft.com/KB958842</a><span class=pLink>            (http://code.msdn.microsoft.com/KB958842)        </span></div>
<p><b>Note</b> The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.</p>
<p><b>Note</b> If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink>            (http://support.microsoft.com/contactus/?ws=support)        </span></div>
<h4 id=tocHeadRef>Prerequisites</h4>
<p>   You must have Visual Studio 2008 Service Pack 1installed to apply this hotfix.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>   You do not have to restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>   This hotfix does not replace any other hotfixes.<br />
<h4 id=tocHeadRef>File information</h4>
<p>   The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the   <strong class=uiterm>Time Zone</strong>   tab in the   <strong class=uiterm>Date and Time</strong>   item in Control Panel.
<div class=kb_outertablewrapper kb_outertablewrapper_closed>
<div class=kb_tabletop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this table</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this table</span></div>
<div class=kb_tablewrapper>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Vsperfdrv90.sys</td>
<td>9. 0.30729.162</td>
<td>53,072</td>
<td>16-Oct- 2008</td>
<td>10:30</td>
<td>x86</td>
</tr>
<tr>
<td>Vsperfdrv90.sys</td>
<td>9.0.30729.162</td>
<td>68,944</td>
<td>15-Oct-2008</td>
<td>17:02</td>
<td>x64</td>
</tr>
<tr>
<td>Vsperfsys.cat</td>
<td>Not  applicable</td>
<td>8,474</td>
<td>11-Dec- 2008</td>
<td>20:13</td>
<td>x86</td>
</tr>
<tr>
<td>Vsperfsys.cat</td>
<td>Not  applicable</td>
<td>8,474</td>
<td>11-Dec-2008</td>
<td>20:13</td>
<td>x64</td>
</tr>
</table>
</div>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >STATUS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >MORE INFORMATION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>If you experience the same error when you use Microsoft Visual Studio 2005 SP1, apply hotfix 958840. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=958840>958840</a>Ã‚Â                             <span class=pLink>            (/Feedback.aspx?kbNumber=958840/                        )        </span> FIX: A Stop error or a crash occurs on the operating system when you profile an application by using Visual Studio 2005 Service Pack 1</div>
<p>For more information about Nehalem, visit the following Web site:
<div class=indent><a href=http://en.wikipedia.org/wiki/Intel_Nehalem>http://en.wikipedia.org/wiki/Intel_Nehalem</a><span class=pLink>            (http://en.wikipedia.org/wiki/Intel_Nehalem)        </span></div>
<p>For more information about how to analyze application performance by using profiling tools, visit the following Microsoft Web site:
<div class=indent><a href=http://msdn.microsoft.com/en-us/library/z9z62c29.aspx>http://msdn.microsoft.com/en-us/library/z9z62c29.aspx</a><span class=pLink>            (http://msdn.microsoft.com/en-us/library/z9z62c29.aspx)        </span></div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio 2008 Service Pack 1</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbhotfixserver kbexpertiseadvanced kbqfe kbsurveynew KB958842</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-a-stop-error-or-a-crash-occurs-on-the-operating-system-when-you-profile-an-application-by-using-visual-studio-2008-service-pack-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems when trying to setup remote debug across network domains</title>
		<link>http://ossmall.info/problems-when-trying-to-setup-remote-debug-across-network-domains/</link>
		<comments>http://ossmall.info/problems-when-trying-to-setup-remote-debug-across-network-domains/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 12:40:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/problems-when-trying-to-setup-remote-debug-across-network-domains/</guid>
		<description><![CDATA[Action
When remote debugging a windows application (windows form/service) across 2 networks, 2 machines on 2 different domains, you may get an error message similar to this one if there is a Network Address Translation (NAT) or a hardware firewall/router between the 2 machines.
&#8220;Error while trying to run project: Unable to start debugging. The Visual Studio [...]]]></description>
			<content:encoded><![CDATA[<h2>Action</h2>
<p>When remote debugging a windows application (windows form/service) across 2 networks, 2 machines on 2 different domains, you may get an error message similar to this one if there is a Network Address Translation (NAT) or a hardware firewall/router between the 2 machines.</p>
<p>&#8220;Error while trying to run project: Unable to start debugging. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. A firewall may be preventing communication via DCOM to the local computer&#8221;</p>
<h2>Result</h2>
<p>Even after setting all the firewall settings on the machines correctly and on the local machine when going to Debug-&gt;Attach to Process, and browsing on the remote machine the process to be debugged appears but still unable to attach to the process and continue to get the same error message.</p>
<h2>Cause</h2>
<p>This is by design.  The router/NAT is causing the problem with communication between the 2 machines in order to debug the application.</p>
<h2>Resolution</h2>
<p>There isn&#8217;t a way to by-pass the NAT, so one of the following needs to happen:</p>
<p>1.       Move both machines to one side of the NAT, server side or client side.</p>
<p>2.       Move the firewall up a level making both remote and local machines under the same firewall/NAT</p>
<h2>More Information</h2>
<p>One way to make sure both machines are communicating correctly is to use net view command from both server and client to see if each can see the other.</p>
<p>Net view<br />
<a href="http://technet.microsoft.com/en-us/library/bb490719.aspx">http://technet.microsoft.com/en-us/library/bb490719.aspx</a> (http://technet.microsoft.com/en-us/library/bb490719.aspx)</p>
<h2>DISCLAIMER</h2>
<p>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE &#8220;MATERIALS&#8221;) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.</p>
<hr align="center" size="2" width="100%" />
<h5>APPLIES TO</h5>
<table border="0" cellpadding="0">
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual Studio .NET 2002 Professional Edition</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual Studio .NET 2003 Professional Edition</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual Studio 2005 Professional Edition</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/problems-when-trying-to-setup-remote-debug-across-network-domains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Possible Reasons for OLE Control Registration Failure</title>
		<link>http://ossmall.info/possible-reasons-for-ole-control-registration-failure/</link>
		<comments>http://ossmall.info/possible-reasons-for-ole-control-registration-failure/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 15:51:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/possible-reasons-for-ole-control-registration-failure/</guid>
		<description><![CDATA[SUMMARY
 loadTOCNode(1, \\'summary\\'); OLE controls can be registered by using Visual C++ from the Tools menu, from the Test Container provided with the Control Development Kit (CDK), or by using the regsvr or regsvr32 applications provided with Visual C++. In some cases, the registration of a control may fail; use this article to help troubleshoot [...]]]></description>
			<content:encoded><![CDATA[<h2>SUMMARY</h2>
<p><script type="text/javascript"> loadTOCNode(1, \\'summary\\'); </script>OLE controls can be registered by using Visual C++ from the Tools menu, from the Test Container provided with the Control Development Kit (CDK), or by using the regsvr or regsvr32 applications provided with Visual C++. In some cases, the registration of a control may fail; use this article to help troubleshoot the problem.</p>
<h2>MORE INFORMATION</h2>
<p><script type="text/javascript"> loadTOCNode(1, \\'moreinformation\\'); </script>All of the previously mentioned methods for registering an OLE Control use essentially the same technique. LoadLibrary() is called to load the control into memory, GetProcAddress() is called to get the address of the DllRegisterServer() function, and then DllRegisterServer() is called to register the control.</p>
<h3>Reasons Why the Registration of a Control May Fail</h3>
<table border="0" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(2, \\'moreinformation\\');   </script>•</td>
<td>One or more of the necessary OLE DLLs is not in the path.   Instructions for distributing OLE Controls as well as an explanation of what   DLLs are necessary to ship can be found in the Shipctrl.wri file located in   the same directory as the CDK.</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>The control is loading a DLL other than the OLE DLL, and   that DLL is not in the path. When the control is loaded into memory, any DLLs   that are implicitly loaded through an import library are also loaded. If any   of these DLLs are not in the path, the control is not loaded successfully, so   registration fails.</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>One or more DLLs may be the wrong version. If the control   was built with a newer version of a DLL than the one installed on the   computer, the control may not load properly, so registration fails.</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>An old version of Ocd25.lib is being linked to. If the   control is using the MFC database classes, there may be a problem with the   version of the Ocd25.lib file that is being linked to.</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>The OLE control is located on a Novell server&#8217;s remote   drive. In this case, the access rights to the .ocx file may be preventing the   control from loading. Make sure that the access rights for the .ocx file are   set to read-only, shareable access, which is the typical setting for   executable files.</td>
</tr>
</table>
<h3>Troubleshooting Techniques</h3>
<p><script type="text/javascript"> loadTOCNode(2, \\'moreinformation\\'); </script>If none of the possible causes are true in your case, try the following techniques.</p>
<table border="0" cellpadding="0">
<tr>
<td>1.</td>
<td>With the control project loaded in Visual C++, set the   executable for the debug session to the OLE Control Test Container   (Tstcon16.exe or Tstcon32.exe). When you start the Test Container (under the   debugger), you will get a warning that the Test Container does not contain   debug information. Ignore this and proceed.</td>
</tr>
<tr>
<td>2.</td>
<td>From the Test Container, attempt to register the control.   Watch for debug output from the OLE Control DLL or any of its dependent DLLs.   If you are running the 16-bit product, remember to run the DBWIN program to   receive debug output.For information on how to set the executable for a DLL debug session, please   see the help topic &#8220;Debugging DLLs&#8221; in Books Online.</td>
</tr>
</table>
<p>As an alternative, you can attempt to register the control programmatically. First create an MFC AppWizard application selecting Dialog-based application and OLE Automation. Enabling OLE Automation will initialize OLE so that the code to register the control will work properly. In the CWinApp-derived class, you will find the function InitInstance() with the initial code as follows:</p>
<pre>BOOL CTestregApp::InitInstance()</pre>
<pre>{</pre>
<pre></pre>
<pre>   // Initialize OLE libraries</pre>
<pre>   if (!AfxOleInit())</pre>
<pre>   {</pre>
<pre>      AfxMessageBox(IDP_OLE_INIT_FAILED);</pre>
<pre>      return FALSE;</pre>
<pre>   }</pre>
<pre></pre>
<p>At this point, add the following code segment, which will allow you to check the return codes from LoadLibrary(), GetProcAddress(), and DllRegisterServer.</p>
<pre>#ifdef _WIN32</pre>
<pre>    HINSTANCE hDLL = LoadLibrary("some.ocx");</pre>
<pre>    if(NULL == hDLL)</pre>
<pre>    {</pre>
<pre>        // See Winerror.h for explaination of error code.</pre>
<pre>        DWORD error = GetLastError();</pre>
<pre>        TRACE1("LoadLibrary() Failed with: %i\n", error);</pre>
<pre>        return FALSE;</pre>
<pre>    }</pre>
<pre></pre>
<pre>    typedef HRESULT (CALLBACK *HCRET)(void);</pre>
<pre>    HCRET lpfnDllRegisterServer;</pre>
<pre></pre>
<pre>    lpfnDllRegisterServer =</pre>
<pre>            (HCRET)GetProcAddress(hDLL, "DllRegisterServer");</pre>
<pre>    if(NULL == lpfnDllRegisterServer)</pre>
<pre>    {</pre>
<pre>        // See Winerror.h for explaination of error code.</pre>
<pre>        DWORD error = GetLastError();</pre>
<pre>        TRACE1("GetProcAddress() Failed with %i\n", error);</pre>
<pre>        return FALSE;</pre>
<pre>    }</pre>
<pre></pre>
<pre>    if(FAILED((*lpfnDllRegisterServer)()))</pre>
<pre>    {</pre>
<pre>        TRACE("DLLRegisterServer() Failed");</pre>
<pre>        return FALSE;</pre>
<pre>    }</pre>
<pre></pre>
<pre>#else // 16-bit</pre>
<pre>    HINSTANCE hDLL = LoadLibrary("regtest.ocx");</pre>
<pre>    if(HINSTANCE_ERROR &gt; hDLL)</pre>
<pre>    {</pre>
<pre>        // See LoadLibrary() help for explaination of error code.</pre>
<pre>        TRACE1("LoadLibrary() Failed with: %i\n", hDLL);</pre>
<pre>        return FALSE;</pre>
<pre>    }</pre>
<pre></pre>
<pre>    typedef HRESULT (CALLBACK *HCRET)(void);</pre>
<pre>    HCRET lpfnDllRegisterServer;</pre>
<pre></pre>
<pre>    lpfnDllRegisterServer =</pre>
<pre>            (HCRET)GetProcAddress(hDLL, "DllRegisterServer");</pre>
<pre>    if(NULL == lpfnDllRegisterServer)</pre>
<pre>    {</pre>
<pre>        // See GetProcAddress() help for explaination of error code.</pre>
<pre>        TRACE("GetProcAddress() Failed");</pre>
<pre>        return FALSE;</pre>
<pre>    }</pre>
<pre></pre>
<pre>    if(FAILED((*lpfnDllRegisterServer)()))</pre>
<pre>    {</pre>
<pre>        TRACE("DLLRegisterServer() Failed");</pre>
<pre>        return FALSE;</pre>
<pre>    }</pre>
<pre>#endif</pre>
<pre></pre>
<hr align="center" size="2" width="100%" />
<h5>APPLIES TO</h5>
<table border="0" cellpadding="0">
<tr>
<td>&nbsp;</td>
<td>Microsoft Visual C++ 1.5 Professional Edition</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Microsoft Visual C++ 1.51</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Microsoft Visual C++ 1.52 Professional Edition</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Microsoft Visual C++ 2.0 Professional Edition</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Microsoft Visual C++ 2.1</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Microsoft Visual C++ 2.2</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Microsoft Visual C++ 4.0 Standard Edition</td>
</tr>
</table>
<h4>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</h4>
<h4>Microsoft Knowledge Base Article</h4>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a><br />
<!--[if !supportLineBreakNewLine]--><br />
<!--[endif]--></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/possible-reasons-for-ole-control-registration-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: You may experience performance issues in the IDE after you use Visual Studio 2008 to build a Visual Basic project</title>
		<link>http://ossmall.info/fix-you-may-experience-performance-issues-in-the-ide-after-you-use-visual-studio-2008-to-build-a-visual-basic-project/</link>
		<comments>http://ossmall.info/fix-you-may-experience-performance-issues-in-the-ide-after-you-use-visual-studio-2008-to-build-a-visual-basic-project/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 16:13:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-you-may-experience-performance-issues-in-the-ide-after-you-use-visual-studio-2008-to-build-a-visual-basic-project/</guid>
		<description><![CDATA[
Consider the following scenario:


•
You use Microsoft Visual Studio 2008 to build a Microsoft Visual Basic project.


•
The Visual Basic project contains many XML comments in a single file.


•
The file is probably a designer-generated file for a dataset or for a Web reference.


In this scenario, you may experience the following performance issues in the IDE:


•
The IDE takes [...]]]></description>
			<content:encoded><![CDATA[<p class="section">
<p class="sbody">Consider the following scenario:</p>
<table class="list ul">
<tr>
<td class="bullet">•</td>
<td class="text">You use Microsoft Visual Studio 2008 to build a Microsoft Visual Basic project.</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">The Visual Basic project contains many XML comments in a single file.</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">The file is probably a designer-generated file for a dataset or for a Web reference.</td>
</tr>
</table>
<p>In this scenario, you may experience the following performance issues in the IDE:</p>
<table class="list ul">
<tr>
<td class="bullet">•</td>
<td class="text">The IDE takes a long time to build the solution and to rebuild the solution.</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">You experience a slow response time when you press F5 to start debugging.</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">You experience a slow response time in the Code Editor.</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">You experience a slow response time in IntelliSense.</td>
</tr>
</table>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">CAUSE</h2>
<p class="sbody">This problem occurs because of how the Visual Studio 2008 compiler processes  large files that contain XML documentation.</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">RESOLUTION</h2>
<p class="sbody">
<h3 id="tocHeadRef">Download information</h3>
<p>The following file is available for download from the Microsoft Download Center:<br />
<img src="http://support.microsoft.com/library/images/support/kbgraphics/public/EN-US/Download.gif" class="graphic" alt="Download" title="Download" /><a href="https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=11026&amp;amp;amp;amp;wa=wsignin1.0%29">Download the 338762_ENU_i386_zip.exe package now.</a><span class="pLink"> (https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=11026&amp;amp;amp;amp;wa=wsignin1.0))</span></p>
<p class="topOfPage">&nbsp;</p>
<h3 id="tocHeadRef">Hotfix information</h3>
<p>A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2008 service pack that contains this hotfix.</p>
<p>To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:</p>
<p class="indent"><a href="http://support.microsoft.com/contactus/?ws=support">http://support.microsoft.com/contactus/?ws=support</a><span class="pLink"> (http://support.microsoft.com/contactus/?ws=support)</span></p>
<p><strong>Note</strong> In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.</p>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class="uiterm">Time Zone</strong> tab in the <strong class="uiterm">Date and Time</strong> item in Control Panel.</p>
<table class="table" cellspacing="1">
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
</tr>
<tr>
<td>Avvspkdh.dll</td>
<td>9.0.21022.43</td>
<td>34,816</td>
<td>29-Jan-2008</td>
<td>03:17</td>
</tr>
<tr>
<td>Mcee.dll</td>
<td>9.0.21022.43</td>
<td>367,608</td>
<td>29-Jan-2008</td>
<td>03:17</td>
</tr>
<tr>
<td>Mpishim.exe</td>
<td>9.0.21022.43</td>
<td>26,112</td>
<td>29-Jan-2008</td>
<td>03:17</td>
</tr>
<tr>
<td>Msvb7.dll</td>
<td>9.0.21022.43</td>
<td>4,069,880</td>
<td>29-Jan-2008</td>
<td>03:17</td>
</tr>
<tr>
<td>Msvsmon.exe</td>
<td>9.0.21022.43</td>
<td>3,004,416</td>
<td>29-Jan-2008</td>
<td>03:17</td>
</tr>
</table>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">WORKAROUND</h2>
<p class="sbody">To work around this problem, use one of the following methods.</p>
<p class="topOfPage">&nbsp;</p>
<h3 id="tocHeadRef">Method 1: Disable XML comment generation</h3>
<p>To disable XML comment generation for the project, use one of the following procedures.</p>
<h4 id="tocHeadRef">Visual Studio 2008</h4>
<table class="list ol">
<tr>
<td class="number">1.</td>
<td class="text">In Solution Explorer, right-click <strong class="uiterm"><var>ProjectName</var></strong>, and then click <strong class="uiterm">Properties</strong>.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">On the <strong class="uiterm">Compile</strong> tab, click to clear the <strong class="uiterm">Generate XML documentation file</strong> check box.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">On the <strong class="uiterm">File</strong> menu, click <strong class="uiterm">Save All</strong>.</td>
</tr>
</table>
<h4 id="tocHeadRef">Visual Basic 2008 Express Edition</h4>
<table class="list ol">
<tr>
<td class="number">1.</td>
<td class="text">Create a backup of the project.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">In Notepad, open the .vbproj file for the project.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Locate and then delete all the <strong class="uiterm">&lt;DocumentationFile&gt;</strong> elements in the .vbproj file.</p>
<p><strong>Note</strong> Typically, you will delete two elements in the .vbproj file.</td>
</tr>
</table>
<p class="topOfPage">&nbsp;</p>
<h3 id="tocHeadRef">Method 2: Remove the XML comments</h3>
<p>To remove the XML comments, follow these steps for the designer-generated file:</p>
<table class="list ol">
<tr>
<td class="number">1.</td>
<td class="text">On the <strong class="uiterm">Edit</strong> menu, point to <strong class="uiterm">Find and Replace</strong>, and then click <strong class="uiterm">Quick Replace</strong>.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">In the <strong class="uiterm">Find what</strong> box, type <span class="userInput">&#8221;&#8217;</span>.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">In the <strong class="uiterm">Replace with</strong> box, type <span class="userInput">&#8221;</span>, and then click <strong class="uiterm">Replace All</strong>.</td>
</tr>
</table>
<p><strong>Note</strong> You must repeat these steps if you perform one of the following actions:</p>
<table class="list ul">
<tr>
<td class="bullet">•</td>
<td class="text">You save the designer file that generated this code file.</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">You refresh the Web reference.</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">You right-click the file, and then you click <strong class="uiterm">Run Custom Tool</strong>.</td>
</tr>
</table>
<p class="topOfPage">&nbsp;</p>
<h3 id="tocHeadRef">Method 3: Create a separate project to store the file that has the XML comments</h3>
<p>Create a new class library project to store the designer-generated files. The following procedure is an example of to do this:</p>
<table class="list ol">
<tr>
<td class="number">1.</td>
<td class="text">Create a new class library project to store files that contain a dataset or that contain a Web reference.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">In the original Visual Basic project,  add a reference to the new class library project.</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Use Method 1 to disable the XML documentation file.</td>
</tr>
</table>
<p><strong>Note</strong> You may have to add import statements to the Visual Basic code.</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">STATUS</h2>
<p class="sbody">Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &#8220;Applies to&#8221; section.</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">MORE INFORMATION</h2>
<p class="sbody">
<p class="indent"><span class="pLink">Feedback.aspx?kbNumber=824684/)</span>   Description of the standard terminology that is used to describe Microsoft software updates</p>
<p>For more information about how to generate XML documentation for a project, visit the following Microsoft Developer Network (MSDN) Web site:</p>
<p class="indent"><a href="http://msdn2.microsoft.com/en-us/library/x4sa0ak0%28VS.90%29.aspx">http://msdn2.microsoft.com/en-us/library/x4sa0ak0(VS.90).aspx</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/x4sa0ak0(VS.90).aspx)</span></p>
<p class="topOfPage"><a href="http://kbalertz.com/946344/experience-performance-issues-after-Visual-Studio-build-Visual-Basic-project.aspx#top"><br />
</a></p>
<hr />
<h5>APPLIES TO</h5>
<table class="list">
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Academic Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Basic 2008 Express Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-you-may-experience-performance-issues-in-the-ide-after-you-use-visual-studio-2008-to-build-a-visual-basic-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You cannot host a Visual SourceSafe 2005 Web service on a computer that is running Windows Vista</title>
		<link>http://ossmall.info/you-cannot-host-a-visual-sourcesafe-2005-web-service-on-a-computer-that-is-running-windows-vista/</link>
		<comments>http://ossmall.info/you-cannot-host-a-visual-sourcesafe-2005-web-service-on-a-computer-that-is-running-windows-vista/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 10:50:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Vista Center]]></category>
		<category><![CDATA[Vista Easter Eggs]]></category>
		<category><![CDATA[Vista HowTo]]></category>
		<category><![CDATA[Vista Tips]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/you-cannot-host-a-visual-sourcesafe-2005-web-service-on-a-computer-that-is-running-windows-vista/</guid>
		<description><![CDATA[You cannot host a Visual SourceSafe 2005 Web service on a computer that is running Windows Vista
View products that this article applies to.



Article ID
:
933859


Last Review
:
March 26, 2007


Revision
:
1.0




SYMPTOMS
If you  install Microsoft Visual SourceSafe (VSS) 2005 on a computer that is running Windows Vista, you cannot  host  a VSS Web service.
Back to the top

CAUSE
 [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>You cannot host a Visual SourceSafe 2005 Web service on a computer that is running Windows Vista</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>933859</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>March 26, 2007</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SYMPTOMS</h2>
<div class=sbody>If you  install Microsoft Visual SourceSafe (VSS) 2005 on a computer that is running Windows Vista, you cannot  host  a VSS Web service.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>CAUSE</h2>
<div class=sbody> This behavior occurs because of changes in Microsoft Internet Information Services (IIS) 7.0. IIS 7.0 does not include the  WebDAV component. The VSS Web service requires the <b>Put</b> method of the   WebDAV component to upload files. Therefore, you cannot host a VSS Web service in Windows Vista.</p>
<p><b>Note </b>The WebDAV component is an extension of  the HTTP protocol.  The WebDAV component  lets you treat a Web server as a remote server.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>WORKAROUND</h2>
<div class=sbody>To work around this behavior, put the Web service in an IIS virtual folder. For information about how to  do this, visit  the following Microsoft Developer Network (MSDN) Web site:
<div class=indent><a href=http://msdn2.microsoft.com/en-us/library/ms230206(VS.80).aspx>http://msdn2.microsoft.com/en-us/library/ms230206(VS.80).aspx</a><span class=pLink> (http://msdn2.microsoft.com/en-us/library/ms230206(VS.80).aspx)</span></div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>REFERENCES</h2>
<div class=sbody>For more information, visit the following MSDN blog Web site:
<div class=indent><span class=ll><a href=http://blogs.msdn.com/richardb/archive/2007/01/23/clarifying-sourcesafe-support-on-vista.aspx>http://blogs.msdn.com/richardb/archive/2007/01/23/clarifying-sourcesafe-support-on-vista.aspx</a></span><span class=pLink> (http://blogs.msdn.com/richardb/archive/2007/01/23/clarifying-sourcesafe-support-on-vista.aspx)</span></div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual SourceSafe 2005 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Ultimate</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business 64-bit edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise 64-bit edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic 64-bit edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium 64-bit edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Starter</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbtshoot kbprb kbinfo KB933859</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/you-cannot-host-a-visual-sourcesafe-2005-web-service-on-a-computer-that-is-running-windows-vista/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The DataSet designer does not allow custom data types to be used on the columns of data tables inside the data set.</title>
		<link>http://ossmall.info/the-dataset-designer-does-not-allow-custom-data-types-to-be-used-on-the-columns-of-data-tables-inside-the-data-set/</link>
		<comments>http://ossmall.info/the-dataset-designer-does-not-allow-custom-data-types-to-be-used-on-the-columns-of-data-tables-inside-the-data-set/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 11:56:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/the-dataset-designer-does-not-allow-custom-data-types-to-be-used-on-the-columns-of-data-tables-inside-the-data-set</guid>
		<description><![CDATA[
Article ID: 968761 &#8211; Last Review: March 9, 2009 &#8211; Revision: 1.0
The DataSet designer does not allow custom data types to be used on the columns of data tables inside the data set.
View products that this article applies to.

Expand all &#124; Collapse all
Source: Microsoft Support
Back to the top

RAPID PUBLISHING


RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 968761 &#8211; Last Review: March 9, 2009 &#8211; Revision: 1.0</div>
<p><strong class=title>The DataSet designer does not allow custom data types to be used on the columns of data tables inside the data set.</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody><b>Source: </b>Microsoft Support
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RAPID PUBLISHING</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Symptom</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>When you try to use custom data types on the columns of data tables inside a data set with the DataSet Designer your project will not compile and you receive the following error:</p>
<p>Ã‚Â </p>
<p>Custom tool error: Failed to generate code. Unable to convert input xml file content to a DataSet. Column requires a valid DataType. Column requires a valid DataType.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Cause</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>The DataSet designer does not allow custom data types to be used on the columns of data tables inside the data set.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Resolution</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>Do not use the local type in DataColumn.Type
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >DISCLAIMER</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
<li>Microsoft Visual Studio 2008 Academic Edition</li>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbnomt kbrapidpub KB968761</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/the-dataset-designer-does-not-allow-custom-data-types-to-be-used-on-the-columns-of-data-tables-inside-the-data-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After you use the ReportResult method to customize the error icon when a logon failure occurs in Windows Vista, the general error icon (CPSI_ERROR) is displayed unexpectedly</title>
		<link>http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/</link>
		<comments>http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 12:04:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VS General]]></category>
		<category><![CDATA[Vista Center]]></category>
		<category><![CDATA[Vista Easter Eggs]]></category>
		<category><![CDATA[Vista HowTo]]></category>
		<category><![CDATA[Vista Tips]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/</guid>
		<description><![CDATA[After you use the ReportResult method to customize the error icon when a logon failure occurs in Windows Vista, the general error icon (CPSI_ERROR) is displayed unexpectedly
View products that this article applies to.



Article ID
:
953181


Last Review
:
May 22, 2008


Revision
:
1.0




On This Page



SYMPTOMS
To develop a custom credential provider for Windows Vista, you use the ReportResult method to customize the [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>After you use the ReportResult method to customize the error icon when a logon failure occurs in Windows Vista, the general error icon (CPSI_ERROR) is displayed unexpectedly</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>953181</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>May 22, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SYMPTOMS</h2>
<div class=sbody>To develop a custom credential provider for Windows Vista, you use the <b>ReportResult</b> method to customize the string and the error icon that are displayed in  a logon failure situation. However, when a logon failure occurs, the general error icon (CPSI_ERROR) is displayed instead of the customized error icon in the credential provider.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RESOLUTION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p>A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows Vista service pack that contains this hotfix.</p>
<p>To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/?linkid=6294451>http://go.microsoft.com/?linkid=6294451</a><span class=pLink> (http://go.microsoft.com/?linkid=6294451)</span></div>
<p><b>Note</b>  If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink> (http://support.microsoft.com/contactus/?ws=support)</span></div>
<h4 id=tocHeadRef>Prerequisites</h4>
<p>To apply this hotfix, you must have Windows Vista Service Pack 1 installed.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>You must  restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p> This hotfix does not replace any other previously released hotfixes.<br />
<h4 id=tocHeadRef>Registry information</h4>
<p> To use this hotfix, you do not have to make any changes to the registry.<br />
<h4 id=tocHeadRef>File information</h4>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control Panel.<br />
<h5 id=tocHeadRef>Windows Vista with SP1, x86-based versions</h5>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Package_1_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,789</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_2_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,956</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_3_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,794</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_4_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,794</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,367</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,431</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,421</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,423</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,425</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,431</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,422</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,429</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Update.mum</td>
<td>Not Applicable</td>
<td>3,077</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>X86_3515116c017ac72b22e29358e7ac307e_31bf3856ad364e35_6.0.6001.22180_none_adbb6519d9d9eaf4.manifest</td>
<td>Not Applicable</td>
<td>709</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>X86_microsoft-windows-authentication-authui_31bf3856ad364e35_6.0.6001.22180_none_0c269a820ec66149.manifest</td>
<td>Not Applicable</td>
<td>56,697</td>
<td>16-May-2008</td>
<td>05:34</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Authui.dll</td>
<td>6.0.6001.2218</td>
</tr>
</table>
<h5 id=tocHeadRef>Windows Vista with SP1, x64-based versions</h5>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Amd64_41c0fa786f1529b488706cf78138a781_31bf3856ad364e35_6.0.6001.22180_none_90ff3bd856c48710.manifest</td>
<td>Not Applicable</td>
<td>1,066</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Amd64_4e8f87e8a6837219230bcf256a6a6d75_31bf3856ad364e35_6.0.6001.22180_none_13cff55103278822.manifest</td>
<td>Not Applicable</td>
<td>713</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Amd64_microsoft-windows-authentication-authui_31bf3856ad364e35_6.0.6001.22180_none_68453605c723d27f.manifest</td>
<td>Not Applicable</td>
<td>56,755</td>
<td>16-May-2008</td>
<td>06:12</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_1_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,799</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_2_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,195</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_3_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,031</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_4_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,031</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,375</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,439</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,429</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,431</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,433</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,439</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,430</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,437</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Update.mum</td>
<td>Not Applicable</td>
<td>3,099</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Authui.dll</td>
<td>6.0.6001.22180</td>
<td>2,271,744</td>
<td>16-May-2008</td>
<td>05:30</td>
<td>x64</td>
</tr>
</table>
<h5 id=tocHeadRef>Windows Vista with SP1, Itanium-based versions</h5>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Ia64_6326e9a85dd88b916eb63888d204b95c_31bf3856ad364e35_6.0.6001.22180_none_aca4bab8d67480f7.manifest</td>
<td>Not Applicable</td>
<td>711</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Ia64_83b064555600877e9f2a65fba95455fa_31bf3856ad364e35_6.0.6001.22180_none_1c99b700ed4c5f55.manifest</td>
<td>Not Applicable</td>
<td>1,064</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Ia64_microsoft-windows-authentication-authui_31bf3856ad364e35_6.0.6001.22180_none_0c283e780ec46a45.manifest</td>
<td>Not Applicable</td>
<td>55,780</td>
<td>16-May-2008</td>
<td>06:11</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_1_for_kb953181~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,794</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_2_for_kb953181~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,026</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_3_for_kb953181~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,026</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,425</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,426</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,429</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,434</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv_0~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,426</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,433</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Update.mum</td>
<td>Not Applicable</td>
<td>2,423</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Authui.dll</td>
<td>6.0.6001.22180</td>
<td>2,941,952</td>
<td>16-May-2008</td>
<td>05:15</td>
<td>IA-64</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>STATUS</h2>
<div class=sbody>Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>For more information about  credential providers in Windows Vista, visit the following Microsoft Web site:
<div class=indent><a href=http://msdn.microsoft.com/en-us/library/bb530197.aspx>http://msdn.microsoft.com/en-us/library/bb530197.aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/bb530197.aspx)</span></div>
<p>For more information about  the <b>ReportResult</b> method, visit the following Microsoft Web site:
<div class=indent><a href=http://msdn.microsoft.com/en-us/library/bb776030(VS.85).aspx>http://msdn.microsoft.com/en-us/library/bb776030(VS.85).aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/bb776030(VS.85).aspx)</span></div>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a><span class=pLink> (/Feedback.aspx?kbNumber=824684/)</span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Ultimate 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Ultimate</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbfix kbqfe kbhotfixserver KB953181</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 Express Editions Service Pack 1 Beta release notes and a list of fixed issues</title>
		<link>http://ossmall.info/visual-studio-2008-express-editions-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/</link>
		<comments>http://ossmall.info/visual-studio-2008-express-editions-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 12:51:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/visual-studio-2008-express-editions-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/</guid>
		<description><![CDATA[Visual Studio 2008 Express Editions Service Pack 1 Beta release notes and a list of fixed issues
View products that this article applies to.



Article ID
:
952283


Last Review
:
May 6, 2008


Revision
:
2.1




Notice

Beta Information
This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.
No formal product support [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Visual Studio 2008 Express Editions Service Pack 1 Beta release notes and a list of fixed issues</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>952283</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>May 6, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>2.1</td>
</tr>
</table>
</div>
<div class=notice>
<h5 id=tocHeadRef>Notice</h5>
<div class=notice>
<h5 id=tocHeadRef>Beta Information</h5>
<p>This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.</p>
<p>No formal product support is available from Microsoft for this beta product. For information about how to obtain support for a beta release, see the documentation that is included with the beta product files, or check the Web location where you downloaded the release.</p></div>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SUMMARY</h2>
<div class=sbody>This article lists known issues with the setup and with the removal of Visual Studio 2008 Express Editions Service Pack 1 (SP1) Beta. Additionally, this article describes supporting features in Visual Studio 2008 Express Editions SP1 Beta.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>This article describes the following:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>How to obtain Visual Studio 2008 Express Editions SP1 Beta</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Changed features and fixed issues for Visual Studio 2008 Express Editions SP1 Beta</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Supported languages and operating systems</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Installation requirements</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Express Editions SP1 Beta support</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Installation issues for all platforms</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Removal issues for all platforms</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Known issues with the service pack</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Products to which Visual Studio 2008 Express Editions SP1 Beta applies</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Supported Windows versions that are not running any of the following editions of Visual Studio 2008:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Team Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Professional Edition</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The Microsoft .NET Framework 3.5</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual C# 2008  Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Basic 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual C++ 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Web Developer 2008 Express Edition</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>How to obtain Visual Studio 2008 Express Editions SP1 Beta</h3>
<p>To obtain Visual Studio 2008 Express Editions SP1 Beta, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkId=117352>http://go.microsoft.com/fwlink/?LinkId=117352</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkId=117352)</span></div>
<p>This package installs Visual C# 2008 SP1 Express Edition (Beta), Visual Basic 2008 SP1 Express Edition (Beta), Visual C++ 2008 SP1 Express Edition (Beta), and Visual Web Developer 2008 SP1 Express Edition (Beta).</p>
<p>For more information about the download location for Visual Studio 2008 SP1 Beta for Standard, Professional, and Team editions, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Lists of changed features and fixed issues for Visual Studio 2008 Express Editions SP1 Beta</h3>
<p>For lists of changed features and fixed issues for Visual Studio 2008 Express Editions SP1 Beta, see the following articles in the Microsoft Knowledge Base:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950263>950263</a><span class=pLink> (/Feedback.aspx?kbNumber=950263/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual C#</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950264>950264</a><span class=pLink> (/Feedback.aspx?kbNumber=950264/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual Basic</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950262>950262</a><span class=pLink> (/Feedback.aspx?kbNumber=950262/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual C++</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950261>950261</a><span class=pLink> (/Feedback.aspx?kbNumber=950261/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual Web Developer 2008</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=951847>951847</a><span class=pLink> (/Feedback.aspx?kbNumber=951847/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for the .NET Framework 3.5</div>
</td>
</tr>
</table>
<p>This service pack adds the following new features:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SQL Server 2008 Community Technology Preview (CTP) support is added to Visual Studio 2008.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual C++, the Libraries support for Technical Report 1 (TR1) is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual C++, the Microsoft Foundation Class (MFC) is improved to support the Office Look and Feel feature.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Web Developer, SQL Server 2008 support for Web projects is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Web Developer Express Edition, Web application projects support and Class Library support are added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Web Developer, JScript formatting support is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Web Developer, WCF Service Rename Experience is improved.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Debugging improvements are made to improve the support for inspecting the results of in-memory Language-Integrated Query (LINQ) queries.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>A new Visual C# feature is added to provide richer error information about your code.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The following debugging features for managed properties and managed operators are changed:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Step into Specific</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Step Filtering</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The debugger now can cancel symbol and source downloading from Microsoft Public Symbol Servers.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Streamlined support for Reference Source is added to the debugger.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> To ease data access, the ADO.NET Entity Designer is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The ability to add Local Database Cache to device projects is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>ASP.NET Dynamic Data templates and toolbox controls are added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Internet Information Services (IIS) 7.0 Managed Module and Handler templates are added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Support for starting the WCF Test client debugging of a WCF service (.svc) by pressing F5 is added.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Supported languages and operating systems</h3>
<h4 id=tocHeadRef>Supported languages</h4>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>English (United States)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Japanese</td>
</tr>
</table>
<h4 id=tocHeadRef>Supported operating systems</h4>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows XP SP2</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2003 SP2 or a later version of Windows Server 2003</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Installation requirements</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>A licensed copy of one of the supported Visual Studio 2008 Express editions must be installed on the destination computer.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Installer 3.1 or a later version of Windows Installer must be installed on the destination computer. For more information, visit the following Microsoft Developer Network (MSDN) Web site:
<div class=indent><a href=http://msdn2.microsoft.com/en-us/library/Aa372866.aspx>http://msdn2.microsoft.com/en-us/library/Aa372866.aspx</a><span class=pLink> (http://msdn2.microsoft.com/en-us/library/Aa372866.aspx)</span></div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>We recommend 512 megabytes (MB) or more of RAM.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Visual Studio 2008 Express Editions SP1 Beta support</h3>
<p>Formal support is available through Microsoft Connect. For more information, visit the following Microsoft Web site:
<div class=indent><a href=http://connect.microsoft.com>http://connect.microsoft.com</a><span class=pLink> (http://connect.microsoft.com)</span></div>
<p>Informal community support is available through the MSDN forums. For more information, visit the following Microsoft Web site:
<div class=indent><a href=http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=6&amp;SiteID=1>http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=6&amp;SiteID=1</a><span class=pLink> (http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=6&amp;SiteID=1)</span></div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Installation issues for all platforms</h3>
<h4 id=tocHeadRef>Visual Studio 2008 Express Editions SP1 Beta does not install immediately after a Visual Studio compilation</h4>
<p>You cannot install Visual Studio 2008 Express Editions SP1 Beta until the debugger service closes.</p>
<p>To resolve this issue, take one of the following actions:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Finish compilations that are in progress, and then wait for the debugger service to close. This may take ten minutes. </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Use Task Manager to end all instances of the Mspdbsrv.exe service.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Removal issues for all platforms</h3>
<h4 id=tocHeadRef>Mixed mode</h4>
<p>For multiple editions of Visual Studio 2008, Microsoft supports only those scenarios in which all editions are at the same service pack level. If there are multiple language versions or multiple editions of Visual Studio 2008 on a computer, all must be at the same level to be supported by Microsoft. For example, all versions or editions must be at the release level or at the SP1 level.<br />
<h4 id=tocHeadRef>How to remove Visual Studio 2008 Express SP1 Beta</h4>
<p>Visual Studio 2008 Express SP1 Beta is a complete update of the earlier version of Visual Studio 2008 Express editions.  To remove each language edition of Visual Studio 2008 Express SP1 Beta, follow these steps, depending on the version of Windows that you have installed.<br />
<h5 id=tocHeadRef>Windows Vista</h5>
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>In Control Panel, open the <strong class=uiterm>Programs and Features</strong> item. </td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click  <strong class=uiterm>Visual Studio 2008 Express SP1 Beta</strong>, and then click <strong class=uiterm>Uninstall</strong></td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>In the setup wizard, select the option to uninstall the product, and then follow the setup wizard.</td>
</tr>
</table>
<h5 id=tocHeadRef>Versions of Windows earlier than Windows Vista</h5>
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>In Control Panel, open the <strong class=uiterm>Add or Remove Programs</strong> item.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click  <strong class=uiterm>Visual Studio 2008 Express SP1 Beta</strong>, and then click <strong class=uiterm>Remove</strong></td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>In the setup wizard, select the option to uninstall the product, and then follow the setup wizard.</td>
</tr>
</table>
<h4 id=tocHeadRef>How to restore to the release version of Visual Studio 2008</h4>
<p>After you completely remove all Visual Studio 2008 SP1 Beta editions, you must repair the remaining Visual Studio 2008 release version to restore all the features that were replaced during the Visual Studio 2008 SP1 Beta update. The Microsoft .NET Framework 3.5 SP1 Beta remains on the operating system after you uninstall Visual Studio 2008 SP1 Beta. We recommend that you do not remove the .NET Framework 3.5 SP1 Beta from the operating system. The .NET Framework 3.5 SP1 Beta is backward compatible with earlier versions of Visual Studio.</p>
<p>To restore Visual Studio 2008 to a supported release-version state, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>If any Visual Studio 2008 Express SP1 Beta editions were installed, remove them  by following the steps in the How to remove Visual Studio 2008 Express SP1 Beta subsection of the Removal issues for all platforms section.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>If Visual Studio 2008 Express SP1 Beta was applied to any Visual Studio 2008 non-Express editions, remove the Visual Studio 2008 Express SP1 Beta updates by following the steps in the How to remove Visual Studio 2008 Express SP1 Beta subsection of the Removal issues for all platforms section..</td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>Follow these steps, depending on the version of Windows that you have installed.</p>
<p><b>Windows Vista</b><br />
<table class=list al>
<tr>
<td class=number>a. </td>
<td class=text>In Control Panel, open the <strong class=uiterm>Programs and Features</strong> item.</td>
</tr>
<tr>
<td class=number>b. </td>
<td class=text>Click each instance of Visual Studio 2008, and then click <strong class=uiterm>Uninstall/Change</strong> to start Visual Studio Setup in maintenance mode.</td>
</tr>
</table>
<p><b>Versions of Windows earlier than Windows Vista</b><br />
<table class=list al>
<tr>
<td class=number>a. </td>
<td class=text>In Control Panel, open the <strong class=uiterm>Add or Remove Programs</strong> item.</td>
</tr>
<tr>
<td class=number>b. </td>
<td class=text>Click each instance of Visual Studio 2008, and then click <strong class=uiterm>Change/Remove</strong> to start Visual Studio Setup in maintenance mode.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=number>4.</td>
<td class=text>Click to select the <strong class=uiterm>Repair/Reinstall</strong> option on the maintenance mode window, and then let Setup repair the existing features.</td>
</tr>
<tr>
<td class=number>5.</td>
<td class=text>Repeat step 3.</td>
</tr>
<tr>
<td class=number>6.</td>
<td class=text>Click to select the <strong class=uiterm>Add or Remove Features</strong> option on the maintenance mode window.</td>
</tr>
<tr>
<td class=number>7.</td>
<td class=text>Take one of the following actions:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Click to select one of the feature check boxes in the productâ€™s feature tree, and then click to clear the check box.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Add or remove any feature components that you want to modify.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=number>8.</td>
<td class=text>Click <strong class=uiterm>Update</strong>, and then let Setup update the Visual Studio components that are installed on the operating system.</td>
</tr>
<tr>
<td class=number>9.</td>
<td class=text>Reinstall any edition of  Visual Studio 2008 Express.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Known issues with the service pack</h3>
<h4 id=tocHeadRef>The Visual Studio 2008 Express Editions SP1 Beta installation fails if the .NET Framework 3.5 Client Beta 1 is already installed on the computer</h4>
<p>To work around this issue, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Uninstall the Microsoft .NET Framework 3.5 Client Beta 1.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Uninstall the Microsoft .NET Framework 3.0 Client Beta 1.</td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>Uninstall the Microsoft .NET Framework 2.0 Client Beta 1.</td>
</tr>
<tr>
<td class=number>4.</td>
<td class=text>Reinstall Visual Studio 2008 Express Editions SP1 Beta.</td>
</tr>
</table>
<h4 id=tocHeadRef>Visual Studio 2008 Express Editions SP1 Beta is incompatible with SQL Server 2008 Express Edition, and you cannot connect to SQL Server databases after you upgrade to SQL Server 2008 Express Edition</h4>
<p>When you upgrade to SQL Server 2008 Express Edition, the named instance of the database is overwritten,  and any Visual Studio 2008 Express editions can no longer target the default instance in SQL Server 2008 Express Edition.<br />
<h4 id=tocHeadRef>Sixty-four-bit debugger components are not updated on computers that have the release version of Visual Studio 2008 Express editions installed</h4>
<p>The Remote Debugger Light component lets you debug 64-bit applications in Visual Studio 2008 Express editions. If a release version of a Visual Studio 2008 Express edition is already installed on the computer, the installation of  Visual Studio 2008 Express Editions SP1 Beta does not upgrade the Remote Debugger Light component to the SP1 level. Therefore, some new features in Visual Studio 2008 Express Editions SP1 Beta do not function correctly or are not available when you debug 64-bit applications.  Additionally, if you repair the Visual Studio 2008 Express editions, the repair procedure fails at the step at which the repair procedure tries to repair the Remote Debugger Light component. Then, additional repairs of components are canceled.</p>
<p>To work around this issue, uninstall the Remote Debugger Light component in a 64-bit of version of Windows, and then install Visual Studio 2008 Express Editions SP1 Beta.<br />
<h4 id=tocHeadRef>The .NET Framework Setup program may fail in Visual Studio 2008 Express Editions SP1 Beta</h4>
<p>The .NET Framework Setup program fails if one of the following conditions is true:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>On a Windows XP-based computer, you have no version of the  .NET Framework installed.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>On a Windows XP-based computer, you have only the .NET Framework 2.0 or an earlier version of the .NET Framework installed.</td>
</tr>
</table>
<p> The Setup program fails because an IIS metabase lock is held for longer than expected.</p>
<p>To work around this issue, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Click <strong class=uiterm>Start</strong>, click <strong class=uiterm>run</strong>,  type <strong class=uiterm>eventvwr.msc</strong>, and then click <strong class=uiterm>OK</strong>.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click to select <strong class=uiterm>Application</strong>.</td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>Check whether the following error exists in the event log:
<div class=errormsg>Type: Error<br />Source: System.ServiceModel.Install 3.0.0.0 Description: System.Runtime.InteropServices.COMException (0&#215;80070094): The path specified cannot be used at this time.</div>
</td>
</tr>
<tr>
<td class=number>4.</td>
<td class=text>If this error exists, reinstall Visual Studio 2008 Express Editions SP1 Beta.</td>
</tr>
</table>
<h4 id=tocHeadRef>Entity Designer may display the safe mode watermark when you rename the entity data model namespace</h4>
<p>If the entity data model contains a type that has the same name as the last part of the storage model, Entity Designer displays the safe mode watermark when you rename the conceptual model namespace. This makes the .edmx file editable only in the XML editor. </p>
<p>For example, if the entity data model contains a type that is named Store and the storage model  namespace is AdventureWorksModel.Store, this issue will occur if you rename the entity data model namespace.</p>
<p>To work around this issue, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>In the Visual Studio 2008 IDE, double-click the related error in the error list. The error number is 34. For example:
<div class=errormsg>Error 34: Unknown namespace or alias (AdventureWorksModel)</div>
</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>In the XML editor, rename the namespace to the new namespace name, and then save and close the model.</td>
</tr>
</table>
<h4 id=tocHeadRef>Entity Designer displays the safe mode watermark when the parameters of a stored procedure that is mapped to a function import are modified</h4>
<p>If the parameters of a stored procedure that has a corresponding function import are added, removed, or changed, Entity Designer displays the safe mode watermark. This causes the .edmx file to be editable only in the XML editor.</p>
<p>To work around this issue, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Open the .edmx file in the XML editor.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Delete the <b>FunctionImport</b> element and the corresponding <b>FunctionImportMapping</b> element. (These elements exist at two positions in the .edmx file.) If you do not want to delete the elements, you can change the  parameters of the <b>Function Import</b> element to correctly map the  stored procedure that will be displayed as a function element in the store schema definition language (SSDL) section.</td>
</tr>
</table>
<h4 id=tocHeadRef>You may receive a System.OutofMemoryException exception on a model that has several hundred tables</h4>
<p>There is no known workaround for this issue now.<br />
<h4 id=tocHeadRef>Undo operations are slow for a model that contains more than 100 types</h4>
<p>There is no known workaround for this issue now.<br />
<h4 id=tocHeadRef>Entity data models that have the same SSDL schema names cause errors in Web site projects</h4>
<p>If a Web site project contains entity data models that have the same SSDL schema names, an error that indicates that the project contains conflicting storage namespace names occurs at run time.</p>
<p>To work around this issue, change the metadata part of the connection string in the Web.config file as follows.</p>
<p>The original version is as follows:<code>
<pre class=code>res://*</pre>
<p></code>The changed version should be as follows:<code>
<pre class=code>res://*/<var>virtual_root</var>.<var>path-to-file</var>.<var>file_name</var>.csdl|res://*/<var>virtual_root</var>.<var>path-to-file</var>.<var>file_name</var>.ssdl|res://*/<var>virtual_root</var>.<var>path-to-file</var>.<var>file_name</var>.msl</pre>
<p></code>For example, if you have a model in the App_Code folder (App_Code Model.edmx) in WebSite1, the connection string should resemble the following:<code>
<pre class=code>res://*/WebSite1.App_Code.Model.csdl| res://*/WebSite1.App_Code.Model.ssdl| res://*/WebSite1.App_Code.Model.msl</pre>
<p></code><br />
<h4 id=tocHeadRef>Visual Studio 2008 Express Editions SP1 Beta may not upgrade SQL Server to the February 2008 Community Technology Preview (CTP) release of SQL Server 2008</h4>
<p>After you install Visual Studio 2008 Express SP1 Beta on a computer that has  an earlier service pack level of SQL Server 2008 installed, SQL Server 2008 is not upgraded to the February 2008 CTP release (CTP6).   SQL Server 2008 CTP6 supports upgrades only from the following earlier versions:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SQL Server 2005 SP2 or a later service pack</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SQL Server 2000 SP4 or a later service pack</td>
</tr>
</table>
<p>To work around this issue, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Uninstall earlier  versions of SQL Server.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Run Visual Studio 2008 Express Editions SP1 Beta Setup in maintenance mode.</td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>Click to select the <strong class=uiterm>Add Optional Components</strong> option, and then select <strong class=uiterm>SQL Server 2008 Express Edition</strong>.</td>
</tr>
<tr>
<td class=number>4.</td>
<td class=text>Click <strong class=uiterm>Next</strong> to continue the setup.</td>
</tr>
</table>
<h4 id=tocHeadRef>References to SQL Server 2008 and to SQL Server 2005 appear on the computer after you install Visual Studio 2008 Express Editions SP1 Beta</h4>
<p>After you install Visual Studio 2008 Express Editions SP1 Beta on a computer that has SQL Server 2005 Express Edition installed, references to the 2008 and 2005 versions of SQL Server appear on the <strong class=uiterm>Start</strong> menu and  in the <strong class=uiterm>Add or Remove Programs</strong> item in Control Panel.In this case, SQL Server 2005 Express Edition has been upgraded to SQL Server 2008 Express Edition.  Any additional references that represent SQL Server 2005 Express Edition support files do not affect Visual Studio 2008 or SQL Server 2008.</p>
<p>To work around this issue, use the <strong class=uiterm>Add or Remove Programs</strong> item in Control Panel to remove SQL Server 2005 Express Edition.<br />
<h4 id=tocHeadRef>Visual Studio 2008 Express Editions SP1 Beta requires Windows Server 2003 SP2</h4>
<p>Visual Studio 2008 Express Editions SP1 Beta Setup installs SQL Server 2008 Express Edition. SQL Server 2008 Express Edition does not support Windows Server 2003 SP1.<br />
<h4 id=tocHeadRef>Visual Studio 2008 Express Editions SP1 Beta Setup does not run when a non-Express edition of Visual Studio 2008 is installed on the computer</h4>
<p>Visual Studio 2008 Express Editions SP1 Beta Setup reports a Visual Studio servicing issue that does not let you continue.  Visual Studio 2008 Express Editions SP1 Beta is not supported when it is installed on a computer  that has a non-Express edition of Visual Studio 2008 installed.</p>
<p>To work around this issue, uninstall any non-Express edition of Visual Studio 2008 before you install Visual Studio 2008 Express Editions SP1 Beta.<br />
<h4 id=tocHeadRef>Visual Studio 2008 Express Editions SP1 Beta  upgrades SQL Server to SQL Server 2008 only on specific versions of Windows</h4>
<p>SQL Server 2008 supports only the following versions of Windows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008or a later version</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Service Pack 1 or a later version</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows XP Service Pack 2 or a later version</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2003 Service Pack 2 or a later version</td>
</tr>
</table>
<p>For more information about the SQL Server 2008 CTP release, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkId=100093>http://go.microsoft.com/fwlink/?LinkId=100093</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkId=100093)</span></div>
<h4 id=tocHeadRef>By default, ClickOnce deployment uses SQL Server Express 2005 as a prerequisite</h4>
<p>By default, Visual Studio 2008 Express Editions SP1 Beta selects SQL Server Express 2005 as a prerequisite when you use ClickOnce to deploy applications that require SQL Server Express 2008.</p>
<p>To work around this issue, manually change the prerequisite in the application from SQL Server Express 2005 to SQL Server Express 2008. To do this, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Start Visual Studio 2008.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Open your application.</td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>  In Solution Explorer, click a project node.</td>
</tr>
<tr>
<td class=number>4.</td>
<td class=text>On the <strong class=uiterm>Project</strong> menu, click a project name, and then click <strong class=uiterm>Properties</strong>. </td>
</tr>
<tr>
<td class=number>5.</td>
<td class=text>In Project Designer, click the <strong class=uiterm>Publish</strong> tab, and then click <strong class=uiterm>Prerequisite</strong>.</td>
</tr>
<tr>
<td class=number>6.</td>
<td class=text>Click to clear the  <strong class=uiterm>SQL Server 2005 Express Edition</strong> check box, and then click to select the <strong class=uiterm>SQL Server 2008 Express Edition</strong> check box.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>REFERENCES</h2>
<div class=sbody>For more information, see the Visual Studio 2008 Express Editions Readme file. To do this, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkID=111607>http://go.microsoft.com/fwlink/?LinkID=111607</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkID=111607)</span></div>
<p>For more information about Visual Studio 2008 SP1 Beta for Standard, Professional, and Team editions, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Web Developer 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Basic 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2008 Express Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbhowto kbinfo KB952283</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/visual-studio-2008-express-editions-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access violation when class method is called via pointer-to-member-function for forward-declared class</title>
		<link>http://ossmall.info/access-violation-when-class-method-is-called-via-pointer-to-member-function-for-forward-declared-class/</link>
		<comments>http://ossmall.info/access-violation-when-class-method-is-called-via-pointer-to-member-function-for-forward-declared-class/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 12:59:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/access-violation-when-class-method-is-called-via-pointer-to-member-function-for-forward-declared-class/</guid>
		<description><![CDATA[A method is called through pointer and respective class is only forward declared.
For example:
class TestClass;
void Disp(TestClass&#38; rObj, void (TestClass::*pFun)())
{
(rObj.*pFun)();
}
Here ‘TestClass’ and function ‘Disp’ are in the same project, but defined in different .CPP files.


Result
The VC++ compiler compiles this without any errors, but the application fails with access violation exception (0xc0000005) during runtime at ‘(rObj.*pFun)();’.
&#160;
Cause

The representation of a pointer-to-member [...]]]></description>
			<content:encoded><![CDATA[<p class="sbody">A method is called through pointer and respective class is only forward declared.<br />
For example:</p>
<p>class TestClass;</p>
<p>void Disp(TestClass&amp; rObj, void (TestClass::*pFun)())<br />
{<br />
(rObj.*pFun)();<br />
}</p>
<p>Here ‘TestClass’ and function ‘Disp’ are in the same project, but defined in different .CPP files.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948989/Access-violation-class-method-called-class.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Result</h2>
<p class="sbody">The VC++ compiler compiles this without any errors, but the application fails with access violation exception (0xc0000005) during runtime at ‘(rObj.*pFun)();’.</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">Cause</h2>
<p class="sbody">
<p>The representation of a pointer-to-member depends on the declaration of the class.  It can vary from a simple offset or pointer in the simple case to a complicated structure in the case where virtual functions or multiple inheritance is involved.  When you just forward declare like this, the compiler doesn’t know about it and generates code assuming the “simple” representation.  At runtime, the value of pFun (which was built by code that <strong>does </strong>know it needs to be complicated) isn’t using the same layout and you get a crash.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948989/Access-violation-class-method-called-class.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Resolution</h2>
<p class="sbody">If possible, #include the header file that contains the whole declaration of the class TestClass (making forward declaration ‘class TestClass;’ unnecessary).<br />
If including the header is not possible (such as cases where a header is not available or when a circular reference would result), you can give the compiler information about the complexity of the class inheritance, so that it can generate the appropriately more &#8221;pessimistic&#8221; code, using one of the following options:</p>
<table class="list ul">
<tr>
<td class="bullet">•</td>
<td class="text"><a href="http://msdn2.microsoft.com/en-us/library/ck561bfk.aspx">Inheritance Keywords</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/ck561bfk.aspx)</span></td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text"><a href="http://msdn2.microsoft.com/en-us/library/83cch5a6.aspx">#pragma pointers_to_members</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/83cch5a6.aspx)</span></td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text"><a href="http://msdn2.microsoft.com/en-us/library/yad46a6z.aspx">Representation Method compiler options (/vmb or /vmg)</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/yad46a6z.aspx)</span></td>
</tr>
</table>
<p class="topOfPage"><a href="http://kbalertz.com/948989/Access-violation-class-method-called-class.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">More Information</h2>
<p class="sbody"><a href="http://msdn2.microsoft.com/en-us/library/f2wbycwh.aspx">Pointers to Members</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/f2wbycwh.aspx)</span><br />
<a href="http://msdn2.microsoft.com/en-us/library/fa0207h3.aspx">Pointers to Members and Virtual Functions</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/fa0207h3.aspx)</span></p>
<p class="topOfPage"><a href="http://kbalertz.com/948989/Access-violation-class-method-called-class.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">DISCLAIMER</h2>
<p class="sbody">MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948989/Access-violation-class-method-called-class.aspx#top"><br />
</a></p>
<hr />
<h5>APPLIES TO</h5>
<table class="list">
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Express Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Service Pack 1</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Standard Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Team Suite</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Academic Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<p><o:p> </o:p></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/access-violation-when-class-method-is-called-via-pointer-to-member-function-for-forward-declared-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: The Microsoft Software License Terms that are attached to the English version of the Visual C++ Redistributable Package in Visual Studio 2008 are incorrect</title>
		<link>http://ossmall.info/fix-the-microsoft-software-license-terms-that-are-attached-to-the-english-version-of-the-visual-c-redistributable-package-in-visual-studio-2008-are-incorrect/</link>
		<comments>http://ossmall.info/fix-the-microsoft-software-license-terms-that-are-attached-to-the-english-version-of-the-visual-c-redistributable-package-in-visual-studio-2008-are-incorrect/#comments</comments>
		<pubDate>Mon, 09 Aug 2010 00:33:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-the-microsoft-software-license-terms-that-are-attached-to-the-english-version-of-the-visual-c-redistributable-package-in-visual-studio-2008-are-incorrect/</guid>
		<description><![CDATA[FIX: The Microsoft Software License Terms that are attached to the English version of the Visual C++ Redistributable Package in Visual Studio 2008 are incorrect
View products that this article applies to.



Article ID
:
956414


Last Review
:
August 11, 2008


Revision
:
1.0




On This Page



SYMPTOMS
The Microsoft Software License Terms that are attached to the English version of the Microsoft Visual C++ Redistributable Package [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>FIX: The Microsoft Software License Terms that are attached to the English version of the Visual C++ Redistributable Package in Visual Studio 2008 are incorrect</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>956414</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>August 11, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SYMPTOMS</h2>
<div class=sbody>The Microsoft Software License Terms that are attached to the English version of the Microsoft Visual C++ Redistributable Package (VCRedist_x86.exe, VCRedist_x64.exe, and VCRedist_ia64.exe) in Microsoft Visual Studio 2008 do not let you redistribute these files. The incorrect license terms specify that you may install and use only one copy of the software. However, the correct license terms specify that you may install and use any number of copies of the software.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>CAUSE</h2>
<div class=sbody>This problem occurs when Visual Studio 2008 Service Pack (SP1) installs Visual C++ Redistributable Package files that have the incorrect license terms.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RESOLUTION</h2>
<div class=sbody>To resolve this problem, use one of the following methods.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Method 1</h3>
<p>Download Visual C++ Redistributable Package Service Pack (SP1), and then replace the Visual C++ Redistributable Package files on the disk.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Method 2</h3>
<p>Use this hotfix to replace the Visual C++ Redistributable Package files on the disk.<br />
<h4 id=tocHeadRef>Hotfix information</h4>
<p>A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix. </p>
<p>To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
<div class=indent><a href=http://code.msdn.microsoft.com/KB956414>http://code.msdn.microsoft.com/KB956414</a><span class=pLink> (http://code.msdn.microsoft.com/KB956414)</span></div>
<p><b>Note</b> The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.</p>
<p><b>Note</b> If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink> (http://support.microsoft.com/contactus/?ws=support)</span></div>
<h5 id=tocHeadRef>Prerequisites</h5>
<p>   There are no prerequisites for installing this hotfix.<br />
<h5 id=tocHeadRef>Restart requirement</h5>
<p>   You do not have to restart the computer after you apply this hotfix.<br />
<h5 id=tocHeadRef>Hotfix replacement information</h5>
<p>   This hotfix does not replace any other hotfixes.<br />
<h5 id=tocHeadRef>File information</h5>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control Panel.</p>
<p><b>x86-based version</b><br />
<table cellspacing=1 class=table>
<tr>
<th>	File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>	Atl90.dll</td>
<td>9.0.30729.1</td>
<td>161,784</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90.dll</td>
<td>9.0.30729.1</td>
<td>3,768,312</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90chs.dll</td>
<td>9.0.30729.1</td>
<td>38,912</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90cht.dll</td>
<td>	9.0.30729.1</td>
<td>39,936</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90deu.dll</td>
<td>	9.0.30729.1</td>
<td>66,560</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90enu.dll</td>
<td>9.0.30729.1</td>
<td>56,832</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90esn.dll</td>
<td>9.0.30729.1</td>
<td>65,024</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>Mfc90esp.dll</td>
<td>9.0.30729.1</td>
<td>65,024</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90fra.dll</td>
<td>9.0.30729.1</td>
<td>66,048</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90ita.dll</td>
<td>9.0.30729.1</td>
<td>64,512</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90jpn.dll</td>
<td>9.0.30729.1</td>
<td>46,592</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90kor.dll</td>
<td>9.0.30729.1</td>
<td>46,080</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90rus.dll</td>
<td>9.0.30729.1</td>
<td>62,976</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfc90u.dll</td>
<td>9.0.30729.1</td>
<td>3,783,672</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfcm90.dll</td>
<td>9.0.30729.1</td>
<td>59,904</td>
<td>28-Jul-08</td>
<td>22:07</td>
<td>x86</td>
</tr>
<tr>
<td>	Mfcm90u.dll</td>
<td>9.0.30729.1</td>
<td>59,904</td>
<td>28-Jul-08</td>
<td>22:07</td>
<td>x86</td>
</tr>
<tr>
<td>	Msvcm90.dll</td>
<td>9.0.30729.1</td>
<td>225,280</td>
<td>28-Jul-08</td>
<td>19:54</td>
<td>x86</td>
</tr>
<tr>
<td>	Msvcp90.dll</td>
<td>9.0.30729.1</td>
<td>572,928</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Msvcr90.dll</td>
<td>9.0.30729.1</td>
<td>655,872</td>
<td>29-Jul-08</td>
<td>00:05</td>
<td>x86</td>
</tr>
<tr>
<td>	Vcomp90.dll</td>
<td>9.0.21022.8</td>
<td>54,272</td>
<td>6-Nov-07</td>
<td>18:19</td>
<td>x86</td>
</tr>
</table>
<p><b>x64-based version</b><br />
<table cellspacing=1 class=table>
<tr>
<th>	File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>	Atl90.dll</td>
<td>9.0.30729.1</td>
<td>179,704</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90.dll</td>
<td>9.0.30729.1</td>
<td>5,086,712</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90chs.dll</td>
<td>9.0.30729.1</td>
<td>38,912</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90cht.dll</td>
<td>9.0.30729.1</td>
<td>39,936</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90deu.dll</td>
<td>9.0.30729.1</td>
<td>66,560</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90enu.dll</td>
<td>9.0.30729.1</td>
<td>56,832</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90esn.dll</td>
<td>9.0.30729.1</td>
<td>65,024</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90esp.dll</td>
<td>9.0.30729.1</td>
<td>65,024</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90fra.dll</td>
<td>9.0.30729.1</td>
<td>66,048</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90ita.dll</td>
<td>9.0.30729.1</td>
<td>64,512</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90jpn.dll</td>
<td>9.0.30729.1</td>
<td>46,592</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90kor.dll</td>
<td>9.0.30729.1</td>
<td>46,080</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90rus.dll</td>
<td>9.0.30729.1</td>
<td>62,976</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfc90u.dll</td>
<td>9.0.30729.1</td>
<td>5,105,656</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfcm90.dll</td>
<td>9.0.30729.1</td>
<td>67,072</td>
<td>28-Jul-08</td>
<td>20:59</td>
<td>x64</td>
</tr>
<tr>
<td>	Mfcm90u.dll</td>
<td>9.0.30729.1</td>
<td>67,072</td>
<td>28-Jul-08</td>
<td>20:59</td>
<td>x64</td>
</tr>
<tr>
<td>	Msdia90.dll</td>
<td>9.0.30729.1</td>
<td>853,504</td>
<td>29-Jul-08</td>
<td>04:49</td>
<td>x64</td>
</tr>
<tr>
<td>	Msvcm90.dll</td>
<td>9.0.30729.1</td>
<td>245,760</td>
<td>28-Jul-08</td>
<td>19:51</td>
<td>x64</td>
</tr>
<tr>
<td>	Msvcp90.dll</td>
<td>9.0.30729.1</td>
<td>856,576</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Msvcr90.dll</td>
<td>9.0.30729.1</td>
<td>626,688</td>
<td>28-Jul-08</td>
<td>21:23</td>
<td>x64</td>
</tr>
<tr>
<td>	Vcomp90.dll</td>
<td>9.0.21022.8</td>
<td>59,904</td>
<td>6-Nov-07</td>
<td>15:02</td>
<td>x64</td>
</tr>
</table>
<p><b>IA-64-based version</b><br />
<table cellspacing=1 class=table>
<tr>
<th>	File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>	Atl90.dll</td>
<td>9.0.30729.1</td>
<td>418,808</td>
<td>28-Jul-08</td>
<td>21:37</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90.dll</td>
<td>9.0.21022.8</td>
<td>3,624,440</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90chs.dll</td>
<td>9.0.21022.8</td>
<td>41,472</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90cht.dll</td>
<td>9.0.21022.8</td>
<td>41,984</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90deu.dll</td>
<td>9.0.21022.8</td>
<td>60,928</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90enu.dll</td>
<td>9.0.21022.8</td>
<td>54,272</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90esn.dll</td>
<td>9.0.21022.8</td>
<td>59,392</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90esp.dll</td>
<td>9.0.21022.8</td>
<td>59,392</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90fra.dll</td>
<td>9.0.21022.8</td>
<td>60,416</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90ita.dll</td>
<td>9.0.21022.8</td>
<td>59,392</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90jpn.dll</td>
<td>9.0.21022.8</td>
<td>47,104</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90kor.dll</td>
<td>9.0.21022.8</td>
<td>46,592</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfc90u.dll</td>
<td>9.0.21022.8</td>
<td>3,631,096</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfcm90.dll</td>
<td>9.0.21022.8</td>
<td>93,184</td>
<td>6-Nov-07</td>
<td>14:16</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Mfcm90u.dll</td>
<td>9.0.21022.8</td>
<td>93,184</td>
<td>6-Nov-07</td>
<td>14:16</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Msdia90.dll</td>
<td>9.0.30729.1</td>
<td>2,139,648</td>
<td>29-Jul-08</td>
<td>04:37</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Msvcm90.dll</td>
<td>9.0.30729.1</td>
<td>324,096</td>
<td>28-Jul-08</td>
<td>20:09</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Msvcp90.dll</td>
<td>9.0.30729.1</td>
<td>1,469,440</td>
<td>28-Jul-08</td>
<td>21:37</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Msvcr90.dll</td>
<td>9.0.30729.1</td>
<td>1,506,816</td>
<td>28-Jul-08</td>
<td>21:37</td>
<td>IA-64</td>
</tr>
<tr>
<td>	Vcomp90.dll</td>
<td>9.0.21022.8</td>
<td>144,896</td>
<td>6-Nov-07</td>
<td>14:53</td>
<td>IA-64</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a><span class=pLink> (/Feedback.aspx?kbNumber=824684/)</span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Foundation Server</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Load Agent</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2008 Academic Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2008 Tools for Applications Software Development Kit</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbqfe KB956414</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A><a href=/sponsor.aspx?ID=64>	<img src=/images/ads/TechTarget/windows-ba.gif width=300 height=250 border=0></a>&nbsp;<a href=/sponsor.aspx?ID=64>	<img src=/images/ads/TechTarget/Networking-ba.gif width=300 height=250 border=0></a>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-the-microsoft-software-license-terms-that-are-attached-to-the-english-version-of-the-visual-c-redistributable-package-in-visual-studio-2008-are-incorrect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: Live semantic analysis incorrectly reports error messages on a computer that has Visual Studio 2008 SP1 installed</title>
		<link>http://ossmall.info/fix-live-semantic-analysis-incorrectly-reports-error-messages-on-a-computer-that-has-visual-studio-2008-sp1-installed/</link>
		<comments>http://ossmall.info/fix-live-semantic-analysis-incorrectly-reports-error-messages-on-a-computer-that-has-visual-studio-2008-sp1-installed/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 11:56:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-live-semantic-analysis-incorrectly-reports-error-messages-on-a-computer-that-has-visual-studio-2008-sp1-installed</guid>
		<description><![CDATA[
Article ID: 957259 &#8211; Last Review: November 21, 2008 &#8211; Revision: 1.0
FIX: Live semantic analysis incorrectly reports error messages on a computer that has Visual Studio 2008 SP1 installed
View products that this article applies to.


On This Page




Expand all &#124; Collapse all
SYMPTOMS


On a computer that has Micrososft Visual Studio 2008 Service Pack 1		  (SP1) installed, [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 957259 &#8211; Last Review: November 21, 2008 &#8211; Revision: 1.0</div>
<p><strong class=title>FIX: Live semantic analysis incorrectly reports error messages on a computer that has Visual Studio 2008 SP1 installed</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=notice></div>
<div id=kb_section class=section>
<h2 class=subTitle id=tocTitle><span><a >On This Page</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody id=tocDiv></div>
<p><noscript></noscript>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<h2 class=subTitle id=tocHeadRef><span><a >SYMPTOMS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>On a computer that has Micrososft Visual Studio 2008 Service Pack 1		  (SP1) installed, live semantic analysis incorrectly reports error messages when you perform one of the following actions:
<ul>
<li>You open a solution that contains breakpoints in the .aspx.cs				files.</p>
<p><b>Note</b> If you double-click any error message or open the corresponding		  .aspx files, the error message disappears.</li>
<li>You run a project that uses a constant that requires				a conversion. When				this occurs, the				error message resembles the following:
<div class=kb_errormsgbody>
<div class=kb_errorcontent>
<div class=errormsg>The operation				overflows at compile time in checked mode</div>
</div>
</div>
<p>This				problem may occur if your code contains				the following				code:
<div class=kb_codebody>
<div class=kb_codecontent><code>
<pre class=code>class Program {static void Main(string[] args){    ulong x = ulong.MaxValue - 2;}}</pre>
<p></code></div>
</div>
</li>
<li>You reference certain constructs that are defined in				metadata.				This issue occurs if the metadata				is produced by a compiler other than the				C#				compiler.</li>
</ul>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RESOLUTION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p>A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix. </p>
<p>To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
<div class=indent><a href=http://code.msdn.microsoft.com/KB957259>http://code.msdn.microsoft.com/KB957259</a><span class=pLink>            (http://code.msdn.microsoft.com/KB957259)        </span></div>
<p><b>Note</b> The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.</p>
<p><b>Note</b> If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink>            (http://support.microsoft.com/contactus/?ws=support)        </span></div>
<p><b>Note</b> This hotfix can be applied to both x86 versions and x64 versions of Visual Studio 2008.<br />
<h4 id=tocHeadRef>Prerequisites</h4>
<p>You must have Visual Studio 2008 SP1 installed to apply this		  hotfix.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>You have to restart the computer, if Visual Studio is being used		  when you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>This hotfix does not replace any other hotfixes.<br />
<h4 id=tocHeadRef>File information</h4>
<p> The English version of this hotfix has the file			 attributes (or later file attributes) that are listed in the following table.			 The dates and times for these files are listed in Coordinated Universal Time			 (UTC). When you view the file information, it is converted to local time. To			 find the difference between UTC and local time, use the <strong class=uiterm>Time			 Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control			 Panel.
<div class=kb_outertablewrapper kb_outertablewrapper_closed>
<div class=kb_tabletop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this table</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this table</span></div>
<div class=kb_tablewrapper>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
</tr>
<tr>
<td>Cslangsvc.dll</td>
<td>9.0.30729.162</td>
<td>5,306,696</td>
<td>21-Oct-2008</td>
<td>14:44</td>
</tr>
</table>
</div>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >STATUS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>Microsoft			 has confirmed that this is a problem in the Microsoft products that are listed			 in the Applies to section.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >MORE INFORMATION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>For more information about			 software update terminology, click the following article number to view the			 article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a>Ã‚Â                             <span class=pLink>            (/Feedback.aspx?kbNumber=824684/                        )        </span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
<li>Microsoft Visual C# 2008 Express Edition</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbexpertiseadvanced kbfix kbqfe kbhotfixserver KB957259</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-live-semantic-analysis-incorrectly-reports-error-messages-on-a-computer-that-has-visual-studio-2008-sp1-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detection and deployment guidance for the March 11, 2008 security release</title>
		<link>http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/</link>
		<comments>http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 00:28:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[App HowTo]]></category>
		<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[Internet Explorer 7]]></category>
		<category><![CDATA[MS Office Access]]></category>
		<category><![CDATA[MS Office Accounting]]></category>
		<category><![CDATA[MS Office Excel]]></category>
		<category><![CDATA[MS Office Groove]]></category>
		<category><![CDATA[MS Office InfoPath]]></category>
		<category><![CDATA[MS Office OneNote]]></category>
		<category><![CDATA[MS Office Outlook]]></category>
		<category><![CDATA[MS Office Powerpoint]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Publisher]]></category>
		<category><![CDATA[MS Office SharePoint]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Office Word]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[VS General]]></category>
		<category><![CDATA[Vista Center]]></category>
		<category><![CDATA[Vista Easter Eggs]]></category>
		<category><![CDATA[Vista HowTo]]></category>
		<category><![CDATA[Vista Tips]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Win XP Center]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>
		<category><![CDATA[XP HowTo]]></category>

		<guid isPermaLink="false">http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/</guid>
		<description><![CDATA[Detection and deployment guidance for the March 11, 2008 security release
View products that this article applies to.



Article ID
:
950137


Last Review
:
March 11, 2008


Revision
:
1.3




On This Page



INTRODUCTION
As part of an ongoing commitment to provide detection tools and deployment recommendations for security updates, Microsoft is delivering this detection and deployment guidance for all updates that are released during a Microsoft [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Detection and deployment guidance for the March 11, 2008 security release</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>950137</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>March 11, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.3</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>INTRODUCTION</h2>
<div class=sbody>As part of an ongoing commitment to provide detection tools and deployment recommendations for security updates, Microsoft is delivering this detection and deployment guidance for all updates that are released during a Microsoft Security Response Center (MSRC) release cycle. </p>
<p>This guidance contains recommendations that are based on the types of scenarios that may exist in various Microsoft operating system environments. This guidance includes how to use tools such as the following tools:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Update</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Update</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office Update</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The Microsoft Baseline Security Analyzer (MBSA)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server Update Services (WSUS)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft System Center Configuration Manager </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Microsoft Systems Management Server (SMS)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The Extended Security Update Inventory Tool </td>
</tr>
</table>
<p>This article describes the detection and deployment guidance for the security release that is dated March 11, 2008.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Detection and deployment</h3>
<h4 id=tocHeadRef>Environments that detect and deploy security updates by using Windows Update, Microsoft Update, Office Update, and Mactopia</h4>
<p>Security updates that were released on March 11, 2008 are available through the following Web sites.  Any exceptions are described in each Web site section. The products that are supported by each Web site are also listed.</p>
<p><b>Note</b> Not every update is available on every Web site that is listed here.<br />
<h5 id=tocHeadRef>Windows Update </h5>
<div class=indent><a href=http://update.microsoft.com/windowsupdate>http://update.microsoft.com/windowsupdate</a><span class=pLink> (http://update.microsoft.com/windowsupdate)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows XP</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008</td>
</tr>
</table>
<h5 id=tocHeadRef>Microsoft Update</h5>
<div class=indent><a href=http://update.microsoft.com/microsoftupdate>http://update.microsoft.com/microsoftupdate</a><span class=pLink> (http://update.microsoft.com/microsoftupdate)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Internet Security and Acceleration Server 2004</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Internet Security and Acceleration Server 2006</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Exchange 2000 Server</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Exchange Server 2003</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Exchange Server 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2003</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The 2007 Microsoft Office system</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows 2000 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows XP</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft SQL Server 2005</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Forefront Client Security</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005</td>
</tr>
</table>
<p><b>General exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Update does not support Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Update does not support any Apple Macintosh products.</td>
</tr>
</table>
<p><b>Specific exceptions</b>Microsoft Update does not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2002 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft BizTalk Server 2000 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft BizTalk Server 2002 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft  Internet Security and Acceleration (ISA) Server 2000</td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<h5 id=tocHeadRef>Office Update</h5>
<div class=indent><a href=http://office.microsoft.com>http://office.microsoft.com</a><span class=pLink> (http://office.microsoft.com)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office 2000 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The 2007 Office system</td>
</tr>
</table>
<p><b>General Exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office Update does not support  2007 Office components when they are installed on computers that are running Windows Vista or Windows Server 2008. You must use Microsoft Update instead.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office Update does not support any Macintosh products.</td>
</tr>
</table>
<h5 id=tocHeadRef>Mactopia </h5>
<div class=indent><a href=http://www.microsoft.com/mac>http://www.microsoft.com/mac/</a><span class=pLink> (http://www.microsoft.com/mac/)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2001 for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office X for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac</td>
</tr>
</table>
<h4 id=tocHeadRef>Environments that detect security updates by using Microsoft Baseline Security Analyzer (MBSA) version 2.0.1</h4>
<p>You can detect security updates that were released on March 11, 2008 if you use MBSA version 2.0.1.</p>
<p><b>General Exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 2.0.1 does not support any Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 2.0.1 does not support any Macintosh products.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 2.0.1 is not supported on Windows Vista. However, MBSA version 2.0.1 supports remote scans of computers that are running Windows Vista. </p>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=931943>931943</a><span class=pLink> (/Feedback.aspx?kbNumber=931943/)</span>Microsoft Baseline Security Analyzer (MBSA) support for Windows Vista</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 1.2.1 is no longer supported. It will not detect security updates that were released after October 2007.</td>
</tr>
</table>
<p><b>Specific exceptions</b>MBSA version 2.0.1 does not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>BizTalk Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> BizTalk Server 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> ISA Server 2000 </td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<h4 id=tocHeadRef>Environments that detect and deploy security updates by using Windows Server Update Services (WSUS)</h4>
<p>You can detect and deploy security updates that were released on March 11, 2008 if you use any of the following items:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 2.0 Service Pack 1 (SP1)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 3.0</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 3.0 Service Pack 1 (SP1)</td>
</tr>
</table>
<p><b>General Exceptions </b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 2.0 SP1, WSUS 3.0, and WSUS 3.0 SP1 do not support any Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 2.0 SP1, WSUS 3.0,  and WSUS 3.0 SP1 do not support any Macintosh products.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SUS 1.0 Service Pack 1 (SP1) is no longer supported. It will not receive security updates. </td>
</tr>
</table>
<p><b>Specific exceptions</b>WSUS 2.0 SP1, WSUS 3.0, and WSUS 3.0 SP1 do not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>BizTalk Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> BizTalk Server 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> ISA Server 2000 </td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<h4 id=tocHeadRef>Environments that detect and deploy security updates by using SMS 2.0, SMS 2003, or System Center Configuration Manager 2007 </h4>
<p>You can detect and deploy all security updates that were released on March 11, 2008 if you use any of the following items:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Systems Management Server (SMS) 2.0 together with the SUS Feature Pack </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Systems Management Server (SMS) 2003 together with the SUS Feature Pack </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Systems Management Server (SMS) 2003 together with Inventory Tool for Microsoft Updates (ITMU)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>System Center Configuration Manager  2007</td>
</tr>
</table>
<p><b>General Exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SMS ITMU and System Center Configuration Manager do not support any Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SMS together with the SUS Feature Pack does not support the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The 2007 Office system</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Internet Explorer 7 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Any x64-based versions of Windows</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Any Itanium-based versions of Windows</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The SMS SUS Feature Pack, SMS ITMU, and System Center Configuration Manager do not support any Macintosh products.</td>
</tr>
</table>
<p><b>Specific exceptions</b>WSUS 2.0, WSUS 3.0, and WSUS 3.0 SP1 do not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>BizTalk Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> BizTalk Server 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>ISA Server 2000 </td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<p><b>Note</b> The SMS SUS Feature Pack requires the Extended Security Update Inventory Tool   to detect all the security updates. </p>
<p>To obtain the Extended Security Update Inventory Tool, visit the following Microsoft Web site:
<div class=indent><span class=ll><a href=http://www.microsoft.com/downloads/details.aspx?FamilyId=2C93DA1D-48A0-4E5C-991F-87E08954F61B&amp;displaylang=en>http://www.microsoft.com/downloads/details.aspx?FamilyId=2C93DA1D-48A0-4E5C-991F-87E08954F61B&amp;displaylang=en</a></span><span class=pLink> (http://www.microsoft.com/downloads/details.aspx?FamilyId=2C93DA1D-48A0-4E5C-991F-87E08954F61B&amp;displaylang=en)</span></div>
<h4 id=tocHeadRef>Summary of detection and deployment guidance</h4>
<p>The following table summarizes the detection and deployment guidance for each new security update.</p>
<p><b>Note</b> To simplify this table, items that were listed under the General Exceptions heading for each detection and deployment technology are not included. </p>
<p> For example, the Microsoft Update column in this table may include a Yes. However, the security bulletin lists an Office 2000 component as affected. Previously, we would have stated in the table that Microsoft Update partially supported deployment of the security update. However, no Office 2000 components are supported by Microsoft Update. Therefore, we no longer account for that product in the table because it is always listed as a general exception.<br />
<table cellspacing=1 class=table>
<tr>
<th>Security update</th>
<th>Bulletin</th>
<th>Component</th>
<th>Office Update</th>
<th>Windows Update</th>
<th>Microsoft Update</th>
<th>MBSA 2.0.1</th>
<th>WSUS 2.0 and WSUS 3.0</th>
<th>SMS SUS Feature Pack</th>
<th>SMS Inventory Tool for Microsoft Updates</th>
<th>System Center Configuration Manager 2007</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect only</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
</tr>
<tr>
<td>949029</td>
<td>MS08-014</td>
<td>Microsoft Excel</td>
<td>Yes</td>
<td>Not applicable</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>949031</td>
<td>MS08-015</td>
<td>Microsoft Outlook</td>
<td>Yes</td>
<td>Not applicable</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>949030</td>
<td>MS08-016</td>
<td>Office</td>
<td>Yes</td>
<td>Not applicable</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>933103</td>
<td>MS08-017</td>
<td>Microsoft Office Web Components</td>
<td>Partially. See Office Update section.</td>
<td>Not applicable</td>
<td>Partially. See Microsoft Update section.</td>
<td>Partially. See MBSA section.</td>
<td>Partially. See WSUS section.</td>
<td>Yes</td>
<td>Partially. See SMS section.</td>
<td>Partially. See System Center Configuration Manager section.</td>
</tr>
</table>
<h4 id=tocHeadRef>Rereleased security updates</h4>
<p>There are no rereleases this month.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Frequently asked questions</h3>
<p><b>What is Microsoft doing to provide guidance about how to deploy these updates? </p>
<p></b>We encourage system administrators to join the monthly technical Webcast to learn more about security updates. The Webcast for this security update airs on   	Thursday, March 13, 2008 12:00 A.M. (Pacific Time). To register, visit the following Microsoft Web site:
<div class=indent><a href=http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032373597>http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032373597</a><span class=pLink> (http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032373597)</span></div>
<p><b>What other information should I know about MBSA? </p>
<p></b>For more information about the programs that MBSA currently does not detect, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=895660>895660</a><span class=pLink> (/Feedback.aspx?kbNumber=895660/)</span>Microsoft Baseline Security Analyzer (MBSA) 2.0 is available </div>
<p>If you installed a program that is listed in the Affected software section of a security bulletin, you may have to manually determine whether you must install the required security update. For more information about MBSA, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkId=21134>http://go.microsoft.com/fwlink/?LinkId=21134</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkId=21134)</span></div>
<p><b> Can I use SMS or System Center Configuration Manager to determine whether the updates are required? </p>
<p></b>Yes. SMS helps detect and deploy these security updates. SMS 2.0 together with the SUS Feature Pack and SMS 2003 together with SUSFP use MBSA version 1.2.1 technology for detection. Therefore, SMS 2.0 together with the SUS Feature Pack and SMS 2003 together with the SUS Feature Pack have limitations that resemble the limitations of MBSA version 1.2.1. </p>
<p>For more information about SMS, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkId=21158>http://go.microsoft.com/fwlink/?LinkId=21158</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkId=21158)</span></div>
<p>The SUS Feature Pack together with the Extended Security Update Inventory Tool is required to detect all the security updates on Microsoft Windows and on other affected Microsoft products. </p>
<p>For more informationabout the limitations of the SUS Feature Pack, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=306460>306460</a><span class=pLink> (/Feedback.aspx?kbNumber=306460/)</span> Microsoft Baseline Security Analyzer (MBSA) returns note messages for some updates</div>
<p>SMS 2.0 together with the SUS Feature Pack  and SMS 2003 together with the SUS Feature Pack  also use the Microsoft Office Inventory Tool to detect the required security updates for Microsoft Office programs such as Microsoft Word. </p>
<p>SMS 2003 customers can also use ITMU to detect and to deploy security updates. ITMU uses technology from Microsoft Updates. For more information about ITMU, visit the following Microsoft Web site:
<div class=indent><a href=http://technet.microsoft.com/en-us/sms/bb676783.aspx>http://technet.microsoft.com/en-us/sms/bb676783.aspx</a><span class=pLink> (http://technet.microsoft.com/en-us/sms/bb676783.aspx)</span></div>
<p>System Center Configuration Manager 2007 uses WSUS 3.0 for detection and deployment of these security updates. Therefore, anything that is supported by WSUS 3.0 is also supported by System Center Configuration Manager 2007.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Ultimate</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Server 2003 Service Pack 2, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Web Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Standard Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Standard x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows XP Professional x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Server 2003 Service Pack 1, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Web Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Standard Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows XP Service Pack 2, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows XP Professional</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows XP Home Edition</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows 2000 Service Pack 4, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Advanced Server</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Datacenter Server</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Professional Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Server</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Small Business Server 2003 Premium Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Small Business Server 2003 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Small Business Server 2000 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Datacenter without Hyper-V</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Enterprise without Hyper-V</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 for Itanium-Based Systems</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Standard without Hyper-V</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Datacenter</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Enterprise</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Standard</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Web Server 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2000 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office XP Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Standard Edition 2003</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Professional 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Professional Plus 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Standard 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Ultimate 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac Student and Teacher Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office X for Mac Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac Home and Student Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac Special Media Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbhowto kbsecurity kbsecbulletin kbinfo KB950137</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sort function of STL Gives Unexpected Output when Vector is a Type Derived from _com_ptr_t</title>
		<link>http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt/</link>
		<comments>http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 11:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt</guid>
		<description><![CDATA[
Article ID: 967759 &#8211; Last Review: February 10, 2009 &#8211; Revision: 1.0
Sort function of STL Gives Unexpected Output when Vector is a Type Derived from _com_ptr_t
View products that this article applies to.

Expand all &#124; Collapse all
Source: Microsoft Support
Back to the top

RAPID PUBLISHING


RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 967759 &#8211; Last Review: February 10, 2009 &#8211; Revision: 1.0</div>
<p><strong class=title>Sort function of STL Gives Unexpected Output when Vector is a Type Derived from _com_ptr_t</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody><b>Source: </b>Microsoft Support
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RAPID PUBLISHING</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Action</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>C++ code which contains an STL vector containing types derived Ã‚Â fromÃ‚Â  the_com_ptr_t Ã‚Â COM smart pointer class and using the std:sort() function to sort interface pointers may give unexpected sort output._com_ptr_t COM smart pointer derived types are commonly created when using the &#8216;#import&#8217; keyword in C++ to import a COM type library. For example:Ã‚Â </p>
<p>#import msxml4.dll</p>
<p>Ã‚Â </p>
<p>Ã‚Â 
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Cause</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p><b>Cause:</b></p>
<p>The _com_ptr_t class implementation overrides the reference (&amp;) operator and returns a null interface pointer. This is in conflict with STL reference operator rules and may result in incorrect sorting order when std::sort () is called.Ã‚Â </p>
<p>Ã‚Â </p>
<p><b>Sample Code:</b></p>
<p>Ã‚Â </p>
<p>#include stdafx.h</p>
<p>#include &lt;iostream&gt;</p>
<p>#include &lt;vector&gt;</p>
<p>#include &lt;algorithm&gt;</p>
<p>#include &lt;sstream&gt;</p>
<p>Ã‚Â </p>
<p>// Create smart pointer wrappers for msxml com object</p>
<p>#import msxml4.dll</p>
<p>Ã‚Â </p>
<p>// Helper Function to create XML</p>
<p>_bstr_t CreateXML()</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nums[] = {1,10,11,12,13,14,15,16,17,18,19,2,20,21,22,23,24,25,26,27,28,29,3,30,31,32,33,34,4,5,6,7,8,9};</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::stringstream tempstr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(int i=0; i&lt;34 ;i++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt;  t&lt;Node&gt;&lt;NodeNum&gt; &lt;&lt; nums[i] &lt;&lt; &lt;/NodeNum&gt;&lt;/Node&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;/NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return static_cast&lt;_bstr_t&gt;(tempstr.str().c_str());</p>
<p>}</p>
<p>Ã‚Â </p>
<p>// Compare Function for std::swap</p>
<p>bool myCompare(MSXML2::IXMLDOMNodePtr&amp; node1, MSXML2::IXMLDOMNodePtr&amp; node2)</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nNode1No(-1),nNode2No(-1);</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( ( NULL == node1.GetInterfacePtr() ) || ( NULL == node2.GetInterfacePtr() ) )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node1-&gt;text, _T(%d), &amp;nNode1No );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node2-&gt;text, _T(%d), &amp;nNode2No );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( nNode1No &lt; nNode2No )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return true;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>};</p>
<p>Ã‚Â </p>
<p>int _tmain(int argc, _TCHAR* argv[])</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // A vector of IXMLDOMNode smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;MSXML2::IXMLDOMNodePtr&gt; vecNodesList;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoInitialize( NULL );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Create and Load the XML document</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMDocumentPtr docPtr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr.CreateInstance(__uuidof(MSXML2::DOMDocument40));Ã‚Â Ã‚Â Ã‚Â Ã‚Â  </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr-&gt;loadXML(CreateXML());</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMNodeListPtr nodes = docPtr-&gt;selectNodes( _T(NodesCol/Node/NodeNum) );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; Before Sorting Nodes &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Initialize the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for( int i = 0; i &lt; nodes-&gt;length; i++ )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â  Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â int nNodeNo = -1;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  vecNodesList.push_back( nodes-&gt;item[i] );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; nodes-&gt;item[i]-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Sort the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::sort( vecNodesList.begin(), vecNodesList.end(), myCompare );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Display sorted results</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt;  nAfter Sorting Nodes n &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;MSXML2::IXMLDOMNodePtr&gt;::iterator iter;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(iter = vecNodesList.begin(); iter!=vecNodesList.end();iter++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if(NULL != (*iter).GetInterfacePtr())</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; (*iter)-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  else</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; -1 &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  *iter = NULL; // Release smart pointer before destroying vector;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Release smart pointers before CoUninitialize</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  nodes = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoUninitialize( );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return 0;</p>
<p>}</p>
<p>Ã‚Â </p>
<p>Ã‚Â </p>
<p>The sort() method uses the utility function std::swap():</p>
<p>Ã‚Â </p>
<p>template&lt;class _Ty&gt; inlineÃ‚Â Ã‚Â Ã‚Â </p>
<p>void swap(_Ty&amp; _Left, _Ty&amp; _Right)Ã‚Â </p>
<p>{Ã‚Â </p>
<p>Ã‚Â // exchange values stored at _Left and _RightÃ‚Â Ã‚Â Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â if (&amp;_Left != &amp;_Right)Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â {Ã‚Â Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â // different, worth swappingÃ‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _Ty _Tmp = _Left;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _Left = _Right;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _Right = _Tmp;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â }</p>
<p>}</p>
<p>Ã‚Â </p>
<p>The if (&amp;_Left != &amp;_Right) line of code calls the overloaded operator &amp; from _com_ptr_t comip.h header file, which returns a NULL interface pointer:</p>
<p>Ã‚Â </p>
<p>Interface** operator&amp;() throw()Ã‚Â Ã‚Â </p>
<p>{ </p>
<p>_Release();</p>
<p>m_pInterface = NULL;</p>
<p>return &amp;m_pInterface;Ã‚Â Ã‚Â  </p>
<p>}
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Resolution</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>This is a known issue. </p>
<p>All STL containers, including vector, forbid their elements from overloading operator&amp;().Ã‚Â  (This is C++ Specification 03 23.1/3 The type of objects stored in these components must meet the requirements of CopyConstructible types (20.1.3) and the additional requirements of Assignable types, and 20.1.3/1 requires &amp;t to have type T * and denote the address of t.)</p>
<p>The best solution is to never overload operator&amp;() when using STL containers. If that is not possible (e.g. because the operator overload is coming from code that you don&#8217;t control), an alternative is to wrap the class in another wrapper class that doesn&#8217;t overload operator&amp;() which you can then add to the vector or other container class.Ã‚Â  CAdapt is one example of such a class.Ã‚Â </p>
<p><b>Fixed Sample Code example using CAdapt</b></p>
<p>Ã‚Â </p>
<p>#include stdafx.h</p>
<p>#include &lt;iostream&gt;</p>
<p>#include &lt;vector&gt;</p>
<p>#include &lt;algorithm&gt;</p>
<p>#include &lt;sstream&gt;</p>
<p>#include atlcomcli.h</p>
<p>Ã‚Â </p>
<p>// Create smart pointer wrappers for msxml com object</p>
<p>#import msxml4.dll</p>
<p>Ã‚Â </p>
<p>// Helper Function to create XML</p>
<p>_bstr_t CreateXML()</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nums[] = {1,10,11,12,13,14,15,16,17,18,19,2,20,21,22,23,24,25,26,27,28,29,3,30,31,32,33,34,4,5,6,7,8,9};</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::stringstream tempstr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(int i=0; i&lt;34 ;i++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt;  t&lt;Node&gt;&lt;NodeNum&gt; &lt;&lt; nums[i] &lt;&lt; &lt;/NodeNum&gt;&lt;/Node&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;/NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return static_cast&lt;_bstr_t&gt;(tempstr.str().c_str());</p>
<p>}</p>
<p>Ã‚Â </p>
<p>// Compare Function for std::swap</p>
<p>bool myCompare(MSXML2::IXMLDOMNodePtr&amp; node1, MSXML2::IXMLDOMNodePtr&amp; node2)</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nNode1No(-1),nNode2No(-1);</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( ( NULL == node1.GetInterfacePtr() ) || ( NULL == node2.GetInterfacePtr() ) )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node1-&gt;text, _T(%d), &amp;nNode1No );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node2-&gt;text, _T(%d), &amp;nNode2No );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( nNode1No &lt; nNode2No )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return true;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>};</p>
<p>Ã‚Â </p>
<p>int _tmain(int argc, _TCHAR* argv[])</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // A vector of IXMLDOMNode smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;CAdapt&lt;MSXML2::IXMLDOMNodePtr&gt;&gt; vecNodesList;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoInitialize( NULL );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Create and Load the XML document</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMDocumentPtr docPtr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr.CreateInstance(__uuidof(MSXML2::DOMDocument40));Ã‚Â Ã‚Â Ã‚Â Ã‚Â  </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr-&gt;loadXML(CreateXML());</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMNodeListPtr nodes = docPtr-&gt;selectNodes( _T(NodesCol/Node/NodeNum) );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; Before Sorting Nodes &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Initialize the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for( int i = 0; i &lt; nodes-&gt;length; i++ )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nNodeNo = -1;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  vecNodesList.push_back( nodes-&gt;item[i] );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; nodes-&gt;item[i]-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Sort the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::sort( vecNodesList.begin(), vecNodesList.end(), myCompare );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Display sorted results</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt;  nAfter Sorting Nodes n &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;CAdapt&lt;MSXML2::IXMLDOMNodePtr&gt;&gt;::iterator iter;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(iter = vecNodesList.begin(); iter!=vecNodesList.end();iter++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if(NULL != (*iter).m_T.GetInterfacePtr())</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; (*iter).m_T-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  else</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; -1 &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  *iter = NULL; // Release smart pointer before destroying vector;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Release smart pointers before CoUninitialize</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  nodes = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoUninitialize( );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return 0;</p>
<p>}
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >DISCLAIMER</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual C++ 2008 Express Edition</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbnomt kbrapidpub KB967759</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling A .NET Managed Method from Native Code</title>
		<link>http://ossmall.info/calling-a-net-managed-method-from-native-code-1/</link>
		<comments>http://ossmall.info/calling-a-net-managed-method-from-native-code-1/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 12:42:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/calling-a-net-managed-method-from-native-code-1/</guid>
		<description><![CDATA[Calling A .NET Managed Method from Native Code
View products that this article applies to.



Article ID
:
953836


Last Review
:
May 31, 2008


Revision
:
1.0




Source: Microsoft Support
Back to the top

RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Calling A .NET Managed Method from Native Code</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>953836</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>May 31, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<div class=sbody><b>Source: </b>Microsoft Support
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RAPID PUBLISHING</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Action</h2>
<div class=sbody>
<p>This is a sample native console application which will query the registry to verify if a specific version of the .NET Framework is installed. It will then use the CorBindToRuntimeEx API to load a specific version of the Common Language Runtime (CLR). Finally, it uses the Interfaces and methods exposed in mscorlib.tlb to load an assembly and type and execute methods.</p>
<p>Create a new C++ Console application named CheckCLR and replace the code in CheckCLR.cpp with the following code:</p>
<p>/*<br />Â Â Â Â CheckCLR.cpp &#8211; A Native Code CLR Host Sample</p>
<p>Â Â Â  CheckCLR is a native console application which queries the registry to <br />Â Â Â  determine if a specific version of the .NET runtime is installed on the<br />Â Â Â  machine. It then loads the specific CLR required.</p>
<p>Â Â Â  It will then load a managed console app and execute the Main method.<br />Â Â Â  It then loads a managed assembly and executes a method.<br />*/<br />#include stdafx.h<br />#include &lt;windows.h&gt;<br />#include &lt;mscoree.h&gt;<br />#include &lt;assert.h&gt;<br />#include &lt;stdio.h&gt;<br />#include &lt;tchar.h&gt;</p>
<p>// Import mscorlib typelib. Using 1.0 for maximum backwards compatibility<br />#import C: windows Microsoft.NET Framework v1.0.3705 mscorlib.tlb auto_rename<br />// Link with mscoree.dll import lib.<br />#pragma comment(lib,mscoree.lib)</p>
<p>using namespace mscorlib;</p>
<p>int _tmain(int argc, _TCHAR* argv[])<br />{<br />Â Â Â Â //<br />Â Â Â Â // Query &#8216;HKEY_LOCAL_MACHINE SOFTWARE Microsoft NET Framework Setup NDP v3.5 Install&#8217; DWORD value<br />Â Â Â Â // See <a href=/Feedback.aspx?kbNumber=318785>/Feedback.aspx?kbNumber=318785/</a><span class=pLink> (/Feedback.aspx?kbNumber=318785/)</span> for more information on .NET runtime versioning information<br />Â Â Â Â //<br />Â Â Â Â HKEY key = NULL;<br />Â Â Â Â DWORD lastError = 0;<br />Â Â Â Â lastError = RegOpenKeyEx(HKEY_LOCAL_MACHINE,TEXT(SOFTWARE  Microsoft  NET Framework Setup  NDP  v3.5),0,KEY_QUERY_VALUE,&amp;key);<br />Â Â Â Â if(lastError!=ERROR_SUCCESS) {<br />Â Â Â Â Â Â Â Â _putts(TEXT(Error opening HKEY_LOCAL_MACHINE  SOFTWARE  Microsoft  NET Framework Setup  NDP  v3.5));<br />Â Â Â Â Â Â Â Â return 1;<br />Â Â Â Â }</p>
<p>Â Â Â Â DWORD type;<br />Â Â Â Â BYTE data[4];<br />Â Â Â Â DWORD len = sizeof(data);<br />Â Â Â Â lastError = RegQueryValueEx(key,TEXT(Install),NULL,&amp;type,data,&amp;len);<br />Â <br />Â Â Â Â if(lastError!=ERROR_SUCCESS) {<br />Â Â Â Â Â Â Â Â RegCloseKey(key);<br />Â Â Â Â Â Â Â Â _putts(TEXT(Error querying HKEY_LOCAL_MACHINE  SOFTWARE  Microsoft  NET Framework Setup  NDP  v3.5  Install));<br />Â Â Â Â Â Â Â Â return 2;<br />Â Â Â Â }</p>
<p>Â Â Â Â RegCloseKey(key);</p>
<p>Â Â Â Â // Was Install DWORD key value == 1 ??<br />Â Â Â Â if(data[0]==1)<br />Â Â Â Â Â Â Â Â _putts(TEXT(.NET Framework 3.5 is installed));<br />Â Â Â Â else {<br />Â Â Â Â Â Â Â Â _putts(TEXT(.NET Framework 3.5 is NOT installed));<br />Â Â Â Â Â Â Â Â return 3;<br />Â Â Â Â }</p>
<p>Â Â Â Â //Â <br />Â Â Â Â // Load the runtime the 3.5 Runtime (CLR version 2.0)<br />Â Â Â Â //<br />Â Â Â Â LPWSTR pszVer = Lv2.0.50727;Â  // .NET Fx 3.5 needs CLR 2.0<br />Â Â Â Â LPWSTR pszFlavor = Lwks;<br />Â Â Â Â ICorRuntimeHost *pHost = NULL;</p>
<p>Â Â Â Â HRESULT hr = CorBindToRuntimeEx( pszVer,Â Â Â Â Â Â Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â pszFlavor,Â Â Â Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN | STARTUP_CONCURRENT_GC,Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  CLSID_CorRuntimeHost,Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  IID_ICorRuntimeHost, <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â  (void **)&amp;pHost);</p>
<p>Â Â Â  if (!SUCCEEDED(hr)) {<br />Â Â Â Â Â Â Â  _tprintf(TEXT(CorBindToRuntimeEx failed 0x%x n),hr);<br />Â Â Â Â Â Â Â  return 1;<br />Â Â Â  }<br />Â <br />Â Â Â Â _putts(TEXT(Loaded version 2.0.50727 of the CLR n));<br />Â <br />Â Â Â Â pHost-&gt;Start(); // Start the CLR</p>
<p>Â Â Â Â //<br />Â Â Â Â // Get a pointer to the default domain in the CLR<br />Â Â Â Â //<br />Â Â Â Â _AppDomainPtr pDefaultDomain = NULL;<br />Â Â Â Â IUnknownPtrÂ Â  pAppDomainPunk = NULL;</p>
<p>Â Â Â Â hr = pHost-&gt;GetDefaultDomain(&amp;pAppDomainPunk);<br />Â Â Â Â assert(pAppDomainPunk);Â <br />Â <br />Â Â Â Â hr = pAppDomainPunk-&gt;QueryInterface(__uuidof(_AppDomain),(void**) &amp;pDefaultDomain);<br />Â Â Â Â assert(pDefaultDomain);</p>
<p>Â Â Â Â //<br />Â Â Â Â // Load an Exe Assembly and call Main()<br />Â Â Â Â //<br />Â Â Â Â _bstr_t bstrExeName = LConsoleApplication1.exe;<br />Â Â Â Â try {<br />Â Â Â Â Â Â Â Â hr = pDefaultDomain-&gt;ExecuteAssembly_2(bstrExeName);<br />Â Â Â Â }<br />Â Â Â Â catch(_com_error&amp; error) {<br />Â Â Â Â Â Â Â Â _tprintf(TEXT(ERROR: %s n),(_TCHAR*)error.Description());<br />Â Â Â Â Â Â Â Â goto exit;<br />Â Â Â Â }</p>
<p>Â Â Â Â /*<br />Â Â Â Â Â Â Â Â Load a type from a DLL Assembly and call it</p>
<p>Â Â Â Â Â Â Â  Doing the same thing from native code as this C# code:</p>
<p>Â Â Â Â Â Â Â Â Â Â Â Â System.Runtime.Remoting.ObjectHandle objptr;<br />Â Â Â Â Â Â Â Â Â Â Â  objptr = AppDomain.CurrentDomain.CreateInstanceFrom(ClassLibrary1.dll,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  ClassLibrary1.Class1);<br />Â Â Â Â Â Â Â Â Â Â Â  object obj = objptr.Unwrap();<br />Â Â Â Â Â Â Â Â Â Â Â  Type t = obj.GetType();<br />Â Â Â Â Â Â Â Â Â Â Â  t.InvokeMember(Test,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  BindingFlags.InvokeMethod,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  null,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  obj,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  new object[0]);<br />Â Â Â Â */<br />Â Â Â Â try {<br />Â Â Â Â Â Â Â Â _ObjectHandlePtr pObjectHandle;Â <br />Â Â Â Â Â Â Â Â _ObjectPtr pObject;Â <br />Â Â Â Â Â Â Â Â _TypePtr pType;<br />Â Â Â Â Â Â Â Â SAFEARRAY* psa;</p>
<p>Â Â Â Â Â Â Â Â // Create an instance of a type from an assembly<br />Â Â Â Â Â Â Â Â pObjectHandle = pDefaultDomain-&gt;CreateInstanceFrom(LClassLibrary1.dll,Â Â Â Â  // no path &#8212; local directory<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â  LClassLibrary1.Class1);<br />Â Â <br />Â Â Â Â Â Â Â Â variant_t vtobj = pObjectHandle-&gt;Unwrap();Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Get an _Object (as variant) from the _ObjectHandle<br />Â Â Â Â Â Â Â Â vtobj.pdispVal-&gt;QueryInterface(__uuidof(_Object),(void**)&amp;pObject);Â Â // QI the variant for the Object iface<br />Â Â Â Â Â Â Â Â pType = pObject-&gt;GetType();Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Get the _Type iface<br />Â Â Â Â Â Â Â Â psa = SafeArrayCreateVector(VT_VARIANT,0,0);Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Create a safearray (0 length)<br />Â Â Â Â Â Â Â Â pType-&gt;InvokeMember_3(Test,Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Invoke Test method on pType<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â Â Â Â Â  BindingFlags_InvokeMethod,<br />Â Â Â  Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  NULL,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â Â Â Â Â  vtobj,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  psa );<br />Â Â Â Â Â Â Â Â SafeArrayDestroy(psa);Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  // Destroy safearray<br />Â Â Â Â }<br />Â Â Â Â catch(_com_error&amp; error) {<br />Â Â Â Â Â Â Â Â _tprintf(TEXT(ERROR: %s n),(_TCHAR*)error.Description());<br />Â Â Â Â Â Â Â Â goto exit;<br />Â Â Â Â }</p>
<p>exit:<br />Â Â Â Â pHost-&gt;Stop();<br />Â Â Â Â pHost-&gt;Release();</p>
<p>Â Â Â Â return 0;<br />}</p>
<p>/*** End of file CheckCLR.cpp ***/</p>
<p>Create a C# Console Application namedÂ ConsoleApplication1. Add a Console.WriteLine call in the Main method andÂ output a simple string message. Build ConsoleApplication1. Copy the ConsoleApplication1.exe build target to the ouput directory where CheckCLR.exe is built. Alternatively, you can change the code above to have the full path name to where ConsoleApplication1.exe is built.</p>
<p>Create a C# Class Library named ClassLibrary1. In the Class1 class, add a public method named Test. In Test, add a Console.WriteLine call and output a simple string message. Build ClassLibrary1.dll. Copy the ClassLibrary1.dll build target to the outut directory where CheckCLR.exe is built. Alternatively, you can change the code above to have the full path name to where ClassLibrary1.dll is built.</p>
<p>After building CheckCLR, you should should be able to run CheckCLR.exe from a command prompt and see the output of the Console.WriteLine calls:</p>
<p><i>Â Â Â Â .NET Framework 3.5 is installed<br />Â Â Â Â Loaded version 2.0.50727 of the CLR</i></p>
<p><i>Â Â Â Â Hello World from ConsoleApplication1.Main<br />Â Â Â Â Hello World from ClassLibrary1.Class1</i></p>
<p>If running CheckCLR.exe under the debugger from your Visual C++ project, you may get <i>could not load file or assembly</i> error messages. In that case, copy ConsoleApplication1.exe and ClassLibrary1.dll to the folder containing the CheckCLR.sln solution file. The debugger uses that folder as the application default directory.</p>
<p>Â </p>
<p>Â </p>
<p>Â 
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>DISCLAIMER</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE â€œMATERIALSâ€) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2005 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2005 Express Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbnomt kbrapidpub KB953836</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/calling-a-net-managed-method-from-native-code-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Static, identifiers , missing ,from , ClassView ,Globals, folder , Visual ,C++</title>
		<link>http://ossmall.info/static-identifiers-missing-from-classview-globals-folder-visual-c/</link>
		<comments>http://ossmall.info/static-identifiers-missing-from-classview-globals-folder-visual-c/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 12:27:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://ossmall.info/static-identifiers-missing-from-classview-globals-folder-visual-c/</guid>
		<description><![CDATA[The Globals folder in the ClassView of Developer&#8217;s Studio is used to display and provide quick access to global identifiers in the current project. Identifiers declared as static that have file scope are missing from the ClassView Globals folder.
Note In Microsoft Visual C++ .NET and in Microsoft Visual C++ 2005, the nonstatic identifiers do not [...]]]></description>
			<content:encoded><![CDATA[<p>The Globals folder in the ClassView of Developer&#8217;s Studio is used to display and provide quick access to global identifiers in the current project. Identifiers declared as static that have file scope are missing from the ClassView Globals folder.</p>
<p><strong>Note</strong> In Microsoft Visual C++ .NET and in Microsoft Visual C++ 2005, the nonstatic identifiers do not appear either.</p>
<h2>STATUS</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'status'); </script>Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.</p>
<h2>MORE INFORMATION</h2>
<h3><script type="text/javascript"> loadTOCNode(1, 'moreinformation'); </script>Sample Code to Demonstrate Problem</h3>
<pre><script type="text/javascript">
loadTOCNode(2, 'moreinformation');
</script>   // Main.cpp</pre>
<pre>   #include &lt;StdIo.h&gt;</pre>
<pre>   ...</pre>
<pre>   static int nGlobalStaticInt;  // Will not show up in Globals Folder</pre>
<pre>   int        nGlobalInt;        // Will show up in Globals Folder</pre>
<pre>   ...</pre>
<pre>   void main(void)</pre>
<pre>   {</pre>
<pre>   }</pre>
<pre></pre>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/static-identifiers-missing-from-classview-globals-folder-visual-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 IDE may crash while building a VC++ Project after modifying Linker properties</title>
		<link>http://ossmall.info/visual-studio-2008-ide-may-crash-while-building-a-vc-project-after-modifying-linker-properties/</link>
		<comments>http://ossmall.info/visual-studio-2008-ide-may-crash-while-building-a-vc-project-after-modifying-linker-properties/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 00:33:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/visual-studio-2008-ide-may-crash-while-building-a-vc-project-after-modifying-linker-properties/</guid>
		<description><![CDATA[Visual Studio 2008 IDE may crash while building a VC++ Project after modifying Linker properties
View products that this article applies to.



Article ID
:
956322


Last Review
:
July 29, 2008


Revision
:
1.0




Source: Microsoft Support
Back to the top

RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Visual Studio 2008 IDE may crash while building a VC++ Project after modifying Linker properties</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>956322</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>July 29, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<div class=sbody><b>Source: </b>Microsoft Support
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RAPID PUBLISHING</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Action</h2>
<div class=sbody>
<p>You createÃ‚Â a VC++ project and, in the linker options of the Project Properties, you have accidentallyÃ‚Â included an extra period(&#8216;.&#8217;) in the </p>
<p><b>Project Properties-&gt;Configuration Properties-&gt;Linker-&gt;Input-&gt;Additional Dependencies</b></p>
<p>For example this may be something like :</p>
<p>kernel32.lib<br />user32.lib<br />gdi32.lib<br />winspool.lib<br />comdlg32.lib<br /><b>advapi32.lib.<br /></b>shell32.lib<br />ole32.lib<br />oleaut32.lib<br />uuid.lib<br />odbc32.lib<br />odbccp32.lib
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Result</h2>
<div class=sbody>
<p>Visual Studio IDE may crash with an Access Violation.Ã‚Â  You may get a Microsoft Visual Studio 2008 has encountered a problem and needs to close. message.</p>
<p>In the Event Viewer, you may see the following Application error log:</p>
<p>Event Type:Ã‚Â Error<br />Event Source:Ã‚Â .NET Runtime 2.0 Error Reporting<br />Event Category:Ã‚Â None<br />Event ID:Ã‚Â 1000<br />Date:Ã‚Â Ã‚Â 7/29/2008<br />Time:Ã‚Â Ã‚Â 7:28:48 PM<br />User:Ã‚Â Ã‚Â N/A<br />Computer:Ã‚Â <br />Description:<br />Faulting application devenv.exe, version 9.0.21022.8, stamp 47317b3d, faulting module vcprojectengine.dll, version 9.0.21022.8, stamp 47318038, debug? 0, fault address 0&#215;0008c7c1.</p>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Cause</h2>
<div class=sbody>TheÃ‚Â VC project engine doesn&#8217;t properly handleÃ‚Â the extra period when determining project dependencies the first time after the list is modified. We are currently investigating the issue.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Resolution</h2>
<div class=sbody>
<p>Remove the extra period(&#8216;.&#8217;) from </p>
<p><b>Project Properties-&gt;Configuration Properties-&gt;Linker-&gt;Input-&gt;Additional Dependencies</b>.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>DISCLAIMER</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â </h5>
</td>
<td class=text>kbnomt kbrapidpub KB956322</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A><a href=/sponsor.aspx?ID=64>	<img src=/images/ads/TechTarget/windows-ba.gif width=300 height=250 border=0></a>&nbsp;<a href=/sponsor.aspx?ID=64>	<img src=/images/ads/TechTarget/Networking-ba.gif width=300 height=250 border=0></a>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/visual-studio-2008-ide-may-crash-while-building-a-vc-project-after-modifying-linker-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Visual Basic compiler (Vbc.exe) may use 100 percent of the CPU resources when you build a .NET Framework 3.5-based application that has many assemblies and references</title>
		<link>http://ossmall.info/the-visual-basic-compiler-vbcexe-may-use-100-percent-of-the-cpu-resources-when-you-build-a-net-framework-35-based-application-that-has-many-assemblies-and-references/</link>
		<comments>http://ossmall.info/the-visual-basic-compiler-vbcexe-may-use-100-percent-of-the-cpu-resources-when-you-build-a-net-framework-35-based-application-that-has-many-assemblies-and-references/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 05:03:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Application Center]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/the-visual-basic-compiler-vbcexe-may-use-100-percent-of-the-cpu-resources-when-you-build-a-net-framework-35-based-application-that-has-many-assemblies-and-references/</guid>
		<description><![CDATA[The Visual Basic compiler (Vbc.exe) may use 100 percent of the CPU resources when you build a .NET Framework 3.5-based application that has many assemblies and references
View products that this article applies to.



Article ID
:
953595


Last Review
:
July 1, 2008


Revision
:
1.0




On This Page



SYMPTOMS
Consider the following scenario:


â€¢
You build a Microsoft .NET Framework 3.5-based application				in debug mode. For example, in the [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>The Visual Basic compiler (Vbc.exe) may use 100 percent of the CPU resources when you build a .NET Framework 3.5-based application that has many assemblies and references</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>953595</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>July 1, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SYMPTOMS</h2>
<div class=sbody>Consider the following scenario:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You build a Microsoft .NET Framework 3.5-based application				in debug mode. For example, in the Web.config file for a				.NET Framework 3.5-based Web application, you set the  debug option as follows:
<div class=indent>debug=true</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You				use Microsoft Visual Basic 2008 as the programming language.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The application depends on many				assemblies and references.</td>
</tr>
</table>
<p>In this scenario, the Visual Basic compiler (Vbc.exe) may use		  100 percent of the CPU resources. Additionally, you may receive an error message		  that resembles the following:
<div class=errormsg>Object		  &#8216;/32eba493_7a69_40af_bfe6_52887ab07396/jdkqqpvt_pufe5n+ogossdnv_258.rem&#8217; has		  been disconnected or does not exist at the server.</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>CAUSE</h2>
<div class=sbody>This issue may occur because the CPU computes lots of debug		  data when you build the application in debug mode. How		  much debug data  is		  computed depends on the size of the project and on the number of references. In		  some cases, the debug data is		  computed multiple times.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RESOLUTION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p>A supported hotfix is now available from			 Microsoft. However, it is intended to correct only the problem that is			 described in this article. Apply it only to systems that are experiencing this			 specific problem. This hotfix may receive additional testing. Therefore, if you			 are not severely affected by this problem, we recommend that you wait for the			 next service pack that contains this hotfix.</p>
<p>To resolve this problem			 immediately, contact Microsoft Customer Support Services to obtain the hotfix.			 For a complete list of Microsoft Customer Support Services telephone numbers			 and information about support costs, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink> (http://support.microsoft.com/contactus/?ws=support)</span></div>
<p><b>Note</b> In special cases, charges that are ordinarily incurred for			 support calls may be canceled if a Microsoft Support Professional determines			 that a specific update will resolve your problem. The usual support costs will			 apply to additional support questions and issues that do not qualify for the			 specific update in question.<br /><b>Note </b>After you install this hotfix, the CPU computes the		  debug data only one		  time. This change minimizes		  the workload for the compiler and resolves the issue		  that is mentioned in the Symptoms section. To completely resolve the		  problem, we recommend that you also install the Visual Basic 2008 hotfix that		  is provided in the following Microsoft Knowledge Base  article:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=951708>951708</a><span class=pLink> (/Feedback.aspx?kbNumber=951708/)</span> The Visual Basic compiler (VBC.exe) may use 100 percent of the CPU resources when you build a Visual Basic 2008 application that has a lot of assemblies and references</div>
<h4 id=tocHeadRef>Prerequisites</h4>
<p>To apply this		  hotfix, you must have the .NET Framework 3.5 installed.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>You do not have to restart the computer after you apply this		  hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>This hotfix does not replace any other hotfixes.<br />
<h4 id=tocHeadRef>File information</h4>
<p> The English version of this hotfix has the file			 attributes (or later file attributes) that are listed in the following table.			 The dates and times for these files are listed in Coordinated Universal Time			 (UTC). When you view the file information, it is converted to local time. To			 find the difference between UTC and local time, use the <strong class=uiterm>Time			 Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control			 Panel.<br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Vbc.exe</td>
<td>9.0.21022.113</td>
<td>1,710,584</td>
<td>03-Jun-2008</td>
<td>06:50</td>
<td>x86</td>
</tr>
<tr>
<td>Vbc.exe</td>
<td>9.0.21022.113</td>
<td>2,346,488</td>
<td>03-Jun-2008</td>
<td>07:02</td>
<td>x64</td>
</tr>
<tr>
<td>Vbc.exe</td>
<td>9.0.21022.113</td>
<td>4,620,280</td>
<td>03-Jun-2008</td>
<td>07:02</td>
<td>IA-64</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>WORKAROUND</h2>
<div class=sbody>To work around this issue, use one of the following methods.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Method 1</h3>
<p>Build the application in release mode.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Method 2</h3>
<p>If you are trying to build a Web application, set the  debug option as follows  in		  the Web.config file:
<div class=indent>debug=false</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>STATUS</h2>
<div class=sbody>Microsoft			 has confirmed that this is a problem in the Microsoft products that are listed			 in the Applies to section.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody> For more information, click the			 following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a><span class=pLink> (/Feedback.aspx?kbNumber=824684/)</span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft .NET Framework 3.5</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Basic 2008 Express Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbpubtypekc kbqfe kbhotfixserver KB953595</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/the-visual-basic-compiler-vbcexe-may-use-100-percent-of-the-cpu-resources-when-you-build-a-net-framework-35-based-application-that-has-many-assemblies-and-references/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stack Size Monitoring Tools</title>
		<link>http://ossmall.info/stack-size-monitoring-tools/</link>
		<comments>http://ossmall.info/stack-size-monitoring-tools/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 15:55:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VS General]]></category>

		<guid isPermaLink="false">http://ossmall.info/stack-size-monitoring-tools/</guid>
		<description><![CDATA[
Monitor stack size to prevent, predict or debug the StackOverflowException.
&#160;
Result
The following tools can be used to view the current stack size for threads:
1) Visual studio debugger.
2) WinDBG
3) Process Explorer
&#160;
Cause
The need to monitor and diagnose potential stack overflow problems during the software development and testing stage is due to the catastrophic nature of the stack overflow condition.  This exception [...]]]></description>
			<content:encoded><![CDATA[<p class="section">
<p class="sbody">Monitor stack size to prevent, predict or debug the StackOverflowException.</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">Result</h2>
<p class="sbody">The following tools can be used to view the current stack size for threads:<br />
1) Visual studio debugger.<br />
2) WinDBG<br />
3) Process Explorer</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">Cause</h2>
<p class="sbody">The need to monitor and diagnose potential stack overflow problems during the software development and testing stage is due to the catastrophic nature of the stack overflow condition.  This exception or state can rarely be handled intelligently and often cannot be handled at all.  For these reasons, it can be desirable to detect or monitor thread stack size during application development and testing, or debugging, when the potential for too-little stack space exists, or stack overflow errors are detected.</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">Resolution</h2>
<p class="sbody">See the windbg help documentation under the heading, Debugging a Stack Overflow, for a detailed example of debugging thread stack size issues on a native debugger.</p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">More Information</h2>
<p class="sbody">Debugging Tools for Windows<br />
<a href="http://www.microsoft.com/whdc/devtools/debugging/default.mspx">http://www.microsoft.com/whdc/devtools/debugging/default.mspx</a><span class="pLink"> (http://www.microsoft.com/whdc/devtools/debugging/default.mspx)</span></p>
<p>Managed StackOverflowException Class:<br />
<span class="ll"><a href="http://msdn2.microsoft.com/en-us/library/system.stackoverflowexception.aspx">http://msdn2.microsoft.com/en-us/library/system.stackoverflowexception.aspx</a></span><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/system.stackoverflowexception.aspx)</span></p>
<p class="topOfPage">&nbsp;</p>
<h2 class="subTitle" id="tocHeadRef">DISCLAIMER</h2>
<p class="sbody">MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.</p>
<p class="topOfPage">&nbsp;</p>
<hr />
<h5>APPLIES TO</h5>
<table class="list">
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio .NET 2002 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio .NET 2003 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Standard Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 6.0 Enterprise Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Team Edition for Software Developers</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/stack-size-monitoring-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Description of the Word 2007 hotfix package: June 20, 2008</title>
		<link>http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/</link>
		<comments>http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 03:19:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[MS Office Access]]></category>
		<category><![CDATA[MS Office Accounting]]></category>
		<category><![CDATA[MS Office Excel]]></category>
		<category><![CDATA[MS Office Groove]]></category>
		<category><![CDATA[MS Office InfoPath]]></category>
		<category><![CDATA[MS Office OneNote]]></category>
		<category><![CDATA[MS Office Outlook]]></category>
		<category><![CDATA[MS Office Powerpoint]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Publisher]]></category>
		<category><![CDATA[MS Office SharePoint]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Office Word]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/</guid>
		<description><![CDATA[Description of the Word 2007 hotfix package: June 20, 2008
View products that this article applies to.



Article ID
:
954576


Last Review
:
July 17, 2008


Revision
:
1.0




On This Page



SUMMARY

This article describes the Microsoft Office Word 2007 issue that is fixed in the Word 2007 hotfix package that is dated June 20, 2008.

This article describes the following items about the hotfix package:


Ã¢â‚¬Â¢
The issues [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Description of the Word 2007 hotfix package: June 20, 2008</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>954576</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>July 17, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SUMMARY</h2>
<div class=sbody>
<div class=indent>This article describes the Microsoft Office Word 2007 issue that is fixed in the Word 2007 hotfix package that is dated June 20, 2008.</p>
</div>
<div class=indent>This article describes the following items about the hotfix package:</div>
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The issues that the hotfix package fixes.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The prerequisites for installing the hotfix				  package.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Whether you must restart the computer after you install				  the hotfix package.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Whether the hotfix package is replaced by any other				  hotfix package.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Whether you must make any registry changes. </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The files that the hotfix package contains. </td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>INTRODUCTION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Issues that the hotfix package fixes</h3>
<h4 id=tocHeadRef>List of issues that are fixed</h4>
<p>This hotfix fixes the following issues:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=954540>954540</a><span class=pLink> (/Feedback.aspx?kbNumber=954540/)</span> The changes in the TOC and PageRef fields do not appear when you compare Word 2007 documents</div>
</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=954541>954541</a><span class=pLink> (/Feedback.aspx?kbNumber=954541/)</span> The Ref field is updated incorrectly when you print a Word 2007 document</div>
</td>
</tr>
</table>
<p>This hotfix fixes the			 following issues that are not previously documented in a Microsoft Knowledge			 Base article:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>When you compare and merge documents that are written in				Chinese characters or in Japanese characters in Word 2007, the text that is				marked as deleted and inserted is much larger than the text that is actually				changed. For example, if you delete only one character or one word, a large				chunk of text around this character or word is marked as deleted. Additionally,				the chunk of text is marked as reinserted, except for the character or for the				word that is actually deleted. </p>
<p><b>Note</b> The issue occurs for both character-level comparison and				word-level comparison. However, this issue does not occur if you delete the				word or the character at the end of the sentence.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Consider the following scenario. You create and then save a				new document from a template on a trusted network share. This template contains				Microsoft Visual Basic for Application (VBA) code. Then, you open the document				again.</p>
<p>In this scenario, you cannot save the document again.				Additionally, you receive the following error message:
<div class=errormsg>The				save failed due to out of memory or disk space.</div>
<p></td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Consider the following scenario. You create and then save a				document that contains a table. You delete one row, and you modify the content				in the following row. Then, you save the document as a different				name.</p>
<p>In this scenario, if you compare the revised document to the				original document, the result is incorrect.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Consider the following scenario. You create a Microsoft				Office Word 2003 document, and you apply a new style such				as <var>Style1</var> to some				paragraphs that have outline numbering enabled. Then, you change the number				format of <var>Style1</var>. To change this number format, you				add text before the number in that document.</p>
<p>In this scenario, when				you use the Compare Documents functionality to compare the revised document to				the original document, the comparison document shows the formatting as the				formatting in the original document. However, the comparison document should				show the formatting as the formatting in the revised document.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>You create a document that is based on a template that has				customized Ribbons. When you open the document, Word 2007 may not display the				Ribbon customizations. This issue can occur if the following conditions are				true:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The template uses the editing restriction,					 <strong class=uiterm>Filling in forms</strong>. </p>
<p><b>Note</b> This issue does not occur if the template is unprotected or if					 the template uses one of the following editing restrictions:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text><strong class=uiterm>Comments</strong></td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text><strong class=uiterm>No changes (Read only) </strong></td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text><strong class=uiterm>Tracked changes </strong></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The document is saved in one of the following file					 formats:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Word 2003 XML Document (*.xml) </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Word XML Document (*.xml) </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text> Word Document (*.docx) </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text> Word Macro-Enabled Document (*.docm) </td>
</tr>
</table>
<p><b>Note</b> This issue does not occur if the document is saved in a rich text					 format (RTF) or in a binary document file format.</td>
</tr>
</table>
<p>However, the template is still correctly loaded as a base				template. </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>When you add one or more letters at the beginning or at the				end of a word, a word-level comparison only marks the inserted letters as an				insertion, as if the inserted characters are a separate word. The expected				behavior is that the original word should be marked as deleted, and the new				word should be marked as an insertion.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>If you click to clear the <strong class=uiterm>White space</strong>				check box in the <strong class=uiterm>Compare Documents</strong> dialog box, the closing				paragraph mark of an insertion is ignored. The expected behavior is that the				closing paragraph mark should be displayed as				part of the insertion, and the closing paragraph mark should not be ignored.				</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>When you insert or delete a text box in the revised				document, and then you compare this document to the original document, there is				a revision bar next to the border of the text box. However, there is no				revision markup in the text box.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>If two plain text content controls are grouped, you may				experience the following issues when you run the Spelling and Grammar check:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The last word in the first content control is selected					 together with part of the first word of the second content control. This					 behavior occurs when the following conditions are true:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>There is no space after the last word in the first						  content control.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The last word of the first content control is						  proofed in the <strong class=uiterm>Spelling and Grammar</strong> dialog box. </td>
</tr>
</table>
<p>This issue occurs whether the last word of the first					 content control is spelled correctly.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>After the last word of the first content control is					 proofed, the Spelling and Grammar check is complete.					 However, misspelled					 words					 are not checked in the second content control.</td>
</tr>
</table>
</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p> A			 supported hotfix is available from Microsoft. However, this hotfix is intended			 to correct only the problem that is described in this article. Apply this			 hotfix only to systems that are experiencing this specific problem. This hotfix			 might receive additional testing. Therefore, if you are not severely affected			 by this problem, we recommend that you wait for the next software update that			 contains this hotfix.</p>
<p>If the hotfix is available for download, there			 is a Hotfix download available section at the top of this Knowledge Base			 article. If this section does not appear, contact Microsoft Customer Service			 and Support to obtain the hotfix. </p>
<p><b>Note</b> If additional issues occur or if any troubleshooting is required,			 you might have to create a separate service request. The usual support costs			 will apply to additional support questions and issues that do not qualify for			 this specific hotfix. For a complete list of Microsoft Customer Service and			 Support telephone numbers or to create a separate service request, visit the			 following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink> (http://support.microsoft.com/contactus/?ws=support)</span></div>
<p><b>Note</b> The Hotfix download available form displays the languages for			 which the hotfix is available. If you do not see your language, it is because a			 hotfix is not available for that language.<br />
<h4 id=tocHeadRef>Prerequisites</h4>
<p>There are no prerequisites for			 installing this hotfix.<br />
<h4 id=tocHeadRef>Restart information</h4>
<p>You do			 not have to restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>This hotfix package does not replace any other hotfix packages.<br />
<h4 id=tocHeadRef>Registry information</h4>
<p>You do not have to make any changes to the registry.<br />
<h4 id=tocHeadRef>File information</h4>
<p>This hotfix may not contain			 all the files that you must have to fully update a product to the latest build.			 This hotfix contains only the files that you must have to correct the issues			 that are listed in this article.</p>
<p>The Global			 version of this hotfix uses a Microsoft Windows Installer package to install			 the hotfix. The dates and the times for these files are listed in Coordinated			 Universal Time (UTC) in the following table. When you view the file			 information, the date is converted to local time. To find the difference			 between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the Date			 and Time item in Control Panel.</p>
<p>Download information<br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Office-kb954576-fullfile-x86-glb.exe</td>
<td>12.0.6320.5000</td>
<td>15,929,040</td>
<td>19-Jun-2008</td>
<td>14:28</td>
<td>x86</td>
</tr>
</table>
<p>Microsoft Windows Installer .msp file information<br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Word.msp</td>
<td>Not				  Applicable</td>
<td>13,252,608</td>
<td>19-Jun-2008</td>
<td>18:33</td>
<td>Not				  Applicable</td>
</tr>
<tr>
<td>Wordconv.msp</td>
<td>Not				  Applicable</td>
<td>6,301,696</td>
<td>19-Jun-2008</td>
<td>18:33</td>
<td>Not				  Applicable</td>
</tr>
</table>
<p><b>Word.msp file information</b><br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Msword.olb</td>
<td>12.0.6300.5000</td>
<td>768,024</td>
<td>06-Dec-2007</td>
<td>17:05</td>
<td>Not				  Applicable</td>
</tr>
<tr>
<td>Winword.exe</td>
<td>12.0.6320.5000</td>
<td>349,720</td>
<td>19-Jun-2008</td>
<td>15:00</td>
<td>x86</td>
</tr>
<tr>
<td>Wwlib.dll</td>
<td>12.0.6320.5000</td>
<td>17,491,480</td>
<td>19-Jun-2008</td>
<td>15:00</td>
<td>x86</td>
</tr>
</table>
<p><b>Wordconv.msp file information</b><br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Wordcnv.dll</td>
<td>12.0.6320.5000</td>
<td>4,281,368</td>
<td>19-Jun-2008</td>
<td>22:42</td>
<td>x86</td>
</tr>
<tr>
<td>Wordconv.exe</td>
<td>12.0.6300.5000</td>
<td>24,584</td>
<td>13-Dec-2007</td>
<td>01:08</td>
<td>x86</td>
</tr>
</table>
<p> For			 more information about software update terminology, click the following article			 number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a><span class=pLink> (/Feedback.aspx?kbNumber=824684/)</span> Description of the standard			 terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Office Word 2007</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â </h5>
</td>
<td class=text>kbautohotfix kbhotfixrollup kbexpertiseinter kbfix kbqfe kbhotfixserver KB954576</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hang When Reading StdErr/StdOut Properties of WshScriptExec Object</title>
		<link>http://ossmall.info/hang-when-reading-stderrstdout-properties-of-wshscriptexec-object/</link>
		<comments>http://ossmall.info/hang-when-reading-stderrstdout-properties-of-wshscriptexec-object/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 11:56:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[MS Office Access]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[VS General]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/hang-when-reading-stderrstdout-properties-of-wshscriptexec-object</guid>
		<description><![CDATA[
Article ID: 960246 &#8211; Last Review: November 18, 2008 &#8211; Revision: 1.0
Hang When Reading StdErr/StdOut Properties of WshScriptExec Object
View products that this article applies to.

Expand all &#124; Collapse all
Source: Microsoft Support
Back to the top

RAPID PUBLISHING


RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 960246 &#8211; Last Review: November 18, 2008 &#8211; Revision: 1.0</div>
<p><strong class=title>Hang When Reading StdErr/StdOut Properties of WshScriptExec Object</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody><b>Source: </b>Microsoft Support
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RAPID PUBLISHING</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Symptoms</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>The Windows Script Host object model provides the WshShell.Exec method, which allows script to run an application in a child command-shell. The Exec method returns a WshScriptExec object, which exposes the StdOut andÃ‚Â StdErr properties. These properties provide access toÃ‚Â informationÃ‚Â the child process has written to its standard output or standard error streams.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<div class=sbody>When reading the StdErr or StdOut properties of the WshScriptExec object, the script may hang (deadlock).
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Cause</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>A console application&#8217;s StdOut and StdErr streams share the same internal 4KB buffer. In addition,Ã‚Â the WshScriptExec object only providesÃ‚Â synchronous read operations on these streams. Synchronous read operationsÃ‚Â introduce a dependency between the calling scriptÃ‚Â reading from theseÃ‚Â streams and the child process writing to those streams, which can resultÃ‚Â in deadlock conditions. </p>
<p>When the caller reads from the redirected stream of a child process, it is dependent on the child. The caller waits on the read operation until the child writes to the stream or closes the stream. When the child process writes enough data to fill its redirected stream, it is dependent on the parent. The child process waits on the next write operation until the parent reads from the full stream or closes the stream. The deadlock condition results when the caller and child process wait on each other to complete an operation, and neither can proceed. Generally, this occurs if the spawned application is writing to both the StdOut and StdErr streams, whileÃ‚Â the calling script is architected so that it reads only from one of them.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Resolution</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>These are severalÃ‚Â possible workarounds.</p>
<p>1. Architect the script so that it reads from both StdOut and StdErr, which prevents the buffer from filling up.</p>
<p>2. Redirect the console program output to a disk file (or files), and then read the file(s). When spawning the console application, you can use the &gt; operator to output the results of the operation to a file. You could then use the FileSystemObject to read the output files back in for processing.</p>
<p>FileSystemObject Object<br /><a href=http://msdn.microsoft.com/en-us/library/z9ty6h50(VS.85).aspx>http://msdn.microsoft.com/en-us/library/z9ty6h50(VS.85).aspx</a><span class=pLink>            (http://msdn.microsoft.com/en-us/library/z9ty6h50(VS.85).aspx)        </span></p>
<p>3. Instead of using the WScriptÃ‚Â object model for reading the StdOut/StdErr streams, write a COM component that implementsÃ‚Â asynchronous reads of these streams; and then call the COM component from your script. For example, theÃ‚Â System.Diagnostics.Process class in the Microsoft .NET Framework exposes anÃ‚Â asynchronous model for reading the StdOut/StdErr streams. Therefore;Ã‚Â it is possible to write aÃ‚Â COM callable component which utilizes the Microsoft .NET Framework whichÃ‚Â could raiseÃ‚Â event back to the script on read operations. </p>
<p>Process.StandardOutput Property<br /><span class=ll><a href=http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardoutput.aspx>http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardoutput.aspx</a></span><span class=pLink>            (http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardoutput.aspx)        </span></p>
<p>Process.StandardError Property<br /><span class=ll><a href=http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standarderror.aspx>http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standarderror.aspx</a></span><span class=pLink>            (http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standarderror.aspx)        </span></p>
<p>Ã‚Â 
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Advanced Steps</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>Steps to Reproduce Problem<br />=====================</p>
<p>1. Create a new text file with the following script.</p>
<p>&#8216;This script will simulate the work done by a console application.<br />&#8216;This just iterates 500 times, writing data to both the StdOut and StdErr streams.<br />Dim i<br />For i = 1 toÃ‚Â 500<br />Ã‚Â Ã‚Â  WScript.StdOut.WriteLine StdOut:  &amp; i<br />Ã‚Â Ã‚Â  WScript.StdErr.WriteLine StdErr:  &amp; i <br />Next</p>
<p>2. Save the file as scriptworker.vbs.<br />3. Create a new text file with the following script.</p>
<p>Dim WSHShell<br />Dim oExec </p>
<p>Set WSHShell = CreateObject(WScript.Shell)<br />Set oExec = WSHShell.Exec(cscript scriptworker.vbs)<br />With oExec <br />Ã‚Â Ã‚Â  Do While .Status = 0 <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  WScript.Sleep 10 <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Do While Not .StdOut.AtEndOfStream <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  WScript.Echo .StdOut.ReadLine <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Loop<br />Ã‚Â Ã‚Â  Loop <br />End With</p>
<p>4. Save this file as scriptspawn.vbs, and place it in the same folder with scriptworker.vbs.<br />5. Start a new command prompt (cmd.exe).<br />6. Navigate to the folder where you copied scriptworker.vbs and scriptspawn.vbs.<br />7. Run the following command:</p>
<p>cscript.exe scriptspawn.vbs</p>
<p>Note that the script hangs after outputting just over 300 items, and you have to manually kill the process by pressing CTRL+C or CTRL+BREAK.</p>
<p>Steps to Work Around Problem<br />=======================</p>
<p>This example demonstrates how toÃ‚Â changeÃ‚Â the scriptÃ‚Â to read from both StdOut and StdErr, whichÃ‚Â prevents the buffer from filling up.</p>
<p>1. Follow the steps in the Steps to Reproduce Problem section above.<br />2. Use the following script for scriptspawn.vbs, rather than the script shown in the Steps to Reproduce Problem section.</p>
<p>Dim WSHShell<br />Dim oExec </p>
<p>Set WSHShell = CreateObject(WScript.Shell)<br />Set oExec = WSHShell.Exec(cscript scriptworker.vbs)<br />With oExec <br />Ã‚Â Ã‚Â  Do While .Status = 0 <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  WScript.Sleep 10 <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Do While Not .StdOut.AtEndOfStream <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  WScript.Echo .StdOut.ReadLine<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  &#8216;Check the .StdErr to see if it is at the end of its<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  &#8217;stream. If not, call ReadLine on it<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  If Not .StdErr.AtEndOfStream Then<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .StdErr.ReadLine<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  End If<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Loop<br />Ã‚Â Ã‚Â  Loop <br />End With</p>
<p>Note that when running this script, it does not hang and successfully reads all data from the StdOut property.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >DISCLAIMER</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Windows 2000</li>
<li>Microsoft Windows XP Professional</li>
<li>Windows Server 2008 Enterprise</li>
<li>Microsoft Windows Server 2003, Standard Edition (32-bit x86)</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbnomt kbrapidpub KB960246</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/hang-when-reading-stderrstdout-properties-of-wshscriptexec-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A hotfix rollup is available for WPF Designer</title>
		<link>http://ossmall.info/a-hotfix-rollup-is-available-for-wpf-designer/</link>
		<comments>http://ossmall.info/a-hotfix-rollup-is-available-for-wpf-designer/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 11:56:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/a-hotfix-rollup-is-available-for-wpf-designer</guid>
		<description><![CDATA[
Article ID: 958017 &#8211; Last Review: November 11, 2008 &#8211; Revision: 2.0
A hotfix rollup is available for WPF Designer
View products that this article applies to.


On This Page




Expand all &#124; Collapse all

Introduction
A hotfix rollup is available for Windows Presentation Foundation		  (WPF) Designer.
Back to the top

MORE INFORMATION


This hotfix rollup fixes several issues in		  the WPF [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 958017 &#8211; Last Review: November 11, 2008 &#8211; Revision: 2.0</div>
<p><strong class=title>A hotfix rollup is available for WPF Designer</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=notice></div>
<div id=kb_section class=section>
<h2 class=subTitle id=tocTitle><span><a >On This Page</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody id=tocDiv></div>
<p><noscript></noscript>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody>
<h3 id=tocHeadRef>Introduction</h3>
<p>A hotfix rollup is available for Windows Presentation Foundation		  (WPF) Designer.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >MORE INFORMATION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>This hotfix rollup fixes several issues in		  the WPF Designer. This hotfix rollup applies only to the computer that has Visual Studio 2008 Service Pack 1 installed.
<ul>
<li> When a resource in an external resource dictionary is				updated, Visual Studio 2008 crashes.</li>
<li>	WPF Designer cannot load read-only attached properties, such as the <b>VisualStateManager.VisualStateGroups</b> property.</li>
<li> If users or codes set a data binding locally, and then the users or codes				clear the data binding, WPF designer reports the following error message:
<div class=kb_errormsgbody>
<div class=kb_errorcontent>
<div class=errormsg>&#8216;System.Windows.Data.Binding&#8217; is not a valid value for property</div>
</div>
</div>
</li>
<li>If a Win32 project is set as the startup project, WPF Designer cannot load solutions in Visual Studio 2008 or in Visual Studio 2008 Service Pack 1.</li>
<li>When				you set and then delete the <b>Source</b> property of a				WPF <b>WebBrowser</b> control,				Visual Studio crashes.</li>
<li> When you move a control that uses the <b>MultiTrigger</b> class or				the <b>DataTrigger</b> class in the <b>Style</b> class, WPF Designer may generate an				InvalidCastException exception.</li>
</ul>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<h3 id=tocHeadRef>Hotfix information</h3>
<p>A supported hotfix is now			 available from Microsoft. However, it is intended to correct only the problem			 that is described in this article. Apply it only to systems that are			 experiencing this specific problem. This hotfix may receive additional testing.			 Therefore, if you are not severely affected by this problem, we recommend that			 you wait for the next Visual Studio 2008 service pack that contains this			 hotfix.</p>
<p>To resolve this problem immediately, contact Microsoft			 Customer Support Services to obtain the hotfix. For a complete list of			 Microsoft Customer Support Services telephone numbers and information about			 support costs, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink>            (http://support.microsoft.com/contactus/?ws=support)        </span></div>
<p><b>Note</b> In special cases, charges that are ordinarily incurred for			 support calls may be canceled if a Microsoft Support Professional determines			 that a specific update will resolve your problem. The usual support costs will			 apply to additional support questions and issues that do not qualify for the			 specific update in question.</p>
<p>If you already have the latest version of Silverlight Tools for Visual Studio 2008 SP1 installed, do not apply this hotfix rollup. All the fixes in this hotfix rollup are already included in Silverlight Tools for Visual Studio 2008 SP1.<br />
<h4 id=tocHeadRef>Prerequisites</h4>
<p>You must have Visual Studio 2008 Service Pack 1 installed to apply this hotfix. To download Visual Studio 2008 Service Pack 1,  visit the following Microsoft Web site:
<div class=indent><span class=ll><a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=27673c47-b3b5-4c67-bd99-84e525b5ce61&amp;displaylang=en>http://www.microsoft.com/downloads/details.aspx?FamilyID=27673c47-b3b5-4c67-bd99-84e525b5ce61&amp;displaylang=en</a></span><span class=pLink>            (http://www.microsoft.com/downloads/details.aspx?FamilyID=27673c47-b3b5-4c67-bd99-84e525b5ce61&amp;displaylang=en)        </span></div>
<h4 id=tocHeadRef>Restart requirement</h4>
<p>You do not have to restart the computer after you apply this		  hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>This hotfix does not replace any other hotfixes.<br />
<h4 id=tocHeadRef>File information</h4>
<p> The English version of this hotfix has the file			 attributes (or later file attributes) that are listed in the following table.			 The dates and times for these files are listed in Coordinated Universal Time			 (UTC). When you view the file information, it is converted to local time. To			 find the difference between UTC and local time, use the <strong class=uiterm>Time			 Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control			 Panel.
<div class=kb_outertablewrapper kb_outertablewrapper_closed>
<div class=kb_tabletop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this table</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this table</span></div>
<div class=kb_tablewrapper>
<table cellspacing=1 class=table>
<tr>
<th>File name 				</th>
<th>File version 				</th>
<th>File size 				</th>
<th>Date 				</th>
<th>Time 				</th>
<th>Platform 				</th>
</tr>
<tr>
<td>Microsoft.visualstudio.xaml.dll </td>
<td>9.0.30729.166				  </td>
<td>1,355,776 </td>
<td>20-Oct-2008 </td>
<td>22:21</td>
<td>x86</td>
</tr>
<tr>
<td>Microsoft.windows.design.developer.dll </td>
<td>9.0.30729.166				  </td>
<td>991,232 </td>
<td>20-Oct-2008 </td>
<td>22:21 </td>
<td>x86</td>
</tr>
<tr>
<td>Microsoft.windows.design.markup.dll </td>
<td>9.0.30729.166				  </td>
<td>782,336 </td>
<td>20-Oct-2008 </td>
<td>22:21 </td>
<td>x86 </td>
</tr>
</table>
</div>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >MORE INFORMATION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>For more information about			 software update terminology, click the following article number to view the			 article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a>Ã‚Â                             <span class=pLink>            (/Feedback.aspx?kbNumber=824684/                        )        </span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
<li>Microsoft Visual Basic 2008 Express Edition</li>
<li>Microsoft Visual C# 2008 Express Edition</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbfix kbexpertiseadvanced kbqfe kbhotfixserver KB958017</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/a-hotfix-rollup-is-available-for-wpf-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to locate a value or closest match in a Visual FoxPro table from VB .NET using the VFP OLE DB Provider</title>
		<link>http://ossmall.info/how-to-locate-a-value-or-closest-match-in-a-visual-foxpro-table-from-vb-net-using-the-vfp-ole-db-provider/</link>
		<comments>http://ossmall.info/how-to-locate-a-value-or-closest-match-in-a-visual-foxpro-table-from-vb-net-using-the-vfp-ole-db-provider/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 00:33:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/how-to-locate-a-value-or-closest-match-in-a-visual-foxpro-table-from-vb-net-using-the-vfp-ole-db-provider/</guid>
		<description><![CDATA[How to locate a value or closest match in a Visual FoxPro table from VB .NET using the VFP OLE DB Provider
View products that this article applies to.



Article ID
:
956277


Last Review
:
July 28, 2008


Revision
:
1.0




Source: Microsoft Support
Back to the top

RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>How to locate a value or closest match in a Visual FoxPro table from VB .NET using the VFP OLE DB Provider</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>956277</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>July 28, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<div class=sbody><b>Source: </b>Microsoft Support
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RAPID PUBLISHING</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Action</h2>
<div class=sbody>You have a Microsoft Visual FoxPro (VFP) table you are accessing from Microsoft Visual Basic .NET via the VFP OLE DB Provider. You wish to locate a particular value in a column, or the nearest match.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Resolution</h2>
<div class=sbody>
<p>The VFP SET NEAR command controls what happens to the record pointer in a VFP table after an unsuccessful SEEK (or FIND) operation (SEEK uses an index on a VFP column to locate a value). When NEAR is on, the record pointer in the VFP table is positioned at the closest matching recordÃ‚Â after an unsuccessful SEEK.</p>
<p>The following VB .NET code demonstrates how to SEEK a record or the closest match thereto via the VFP OLE DB Provider.Ã‚Â  To use this code&#8230;</p>
<p>1. Create a sample VFP table and index using the following VFP code:</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â CLOSE DATA ALLÃ‚Â <br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â DELETE FILE C: CUSTS.DBF RECYCLE<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â DELETE FILE C: CUSTS.CDX RECYCLE<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â CREATE TABLE C: CUSTS (NAMES VarChar(30))<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â INDEX ON UPPER(NAMES) TAG NAMES<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â INSERT INTO CUSTS VALUES(&#8216;FRED&#8217;)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â INSERT INTO CUSTS VALUES(&#8216;JOHN&#8217;)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â INSERT INTO CUSTS VALUES(&#8216;MARY&#8217;)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â CLOSE DATA ALL</p>
<p>2.Ã‚Â Create a new Visual Studio VB .NET Windows application. Drop a TextBox, a CheckBox and a Button on the form. <br />3. Double-click the form surface to open the code editor (form1.vb)Ã‚Â and then paste the code below into it, replacing the current contents.</p>
<p>The code does the following&#8230;</p>
<p>Ã‚Â - Sets near ON / OFF depending on the state of the CheckBox on the VB form (checked = ON).<br />Ã‚Â - OpensÃ‚Â the free VFP table (C: CUSTS) and SEEKs theÃ‚Â customer name.<br />Ã‚Â - In the VFP OLE DB Provider, creates a cursor to be returned to the .NET session.<br />Ã‚Â - Populates the return cursor with the values of FOUND(), RECNO(&#8216;CUSTS&#8217;) and RECCOUNT(&#8216;CUSTS&#8217;).<br />Ã‚Â - Uses the VFP SETRESULTSET() function to return the VFP cursor to .NET.<br />Ã‚Â - VB .NET uses a OleDbDataReader object to read the returned cursor and display the results of the SEEK in a MSGBOX.</p>
<p>**NOTES**</p>
<p>Ã‚Â - When the VFP SEEK finds an exact match, FOUND() (first column in the result set) is True. Other columns can be ignored.<br />Ã‚Â - When the VFP SEEK *does not* find an exact match and NEAR is ON, FOUND() (first column in the result set) is False and RECNO() (2nd column in result set) will either be a valid number or will be RECCOUNT() (3rd column in result set) +1 (indicating EOF in the VFP table).<br />Ã‚Â - When the VFP SEEK *does not* find an exact match and NEAR is OFF, FOUND() will be .F., RECNO() will be RECCOUNT() + 1.<br />Ã‚Â - Third column in result set is constant: RECCOUNT(&#8216;CUSTS&#8217;). Use this to determine if you are on the nearest record when NEAR is on (i.e, column 2 is *not* column 3 +1).</p>
<p>Imports System.Data.OleDb<br />Imports System.Text</p>
<p>Public Class Form1</p>
<p>Ã‚Â Ã‚Â Ã‚Â  Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  TextBox1.Focus()<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  TextBox1.Text = JOHN<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  TextBox1.CharacterCasing = CharacterCasing.Upper<br />Ã‚Â Ã‚Â Ã‚Â  End Sub</p>
<p>Ã‚Â Ã‚Â Ã‚Â  Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  FindOperator(TextBox1.Text, CheckBox1.Checked)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  TextBox1.Focus()<br />Ã‚Â Ã‚Â Ã‚Â  End Sub</p>
<p>Ã‚Â Ã‚Â Ã‚Â  Function FindOperator(ByVal Name2Find As String, ByVal Near As Boolean) As VariantType<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Dim oConn As New OleDbConnection( _<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Provider=VFPOLEDB;Data Source=C: )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Dim oCmd As New OleDbCommand(, oConn)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Dim oStrBldr As New StringBuilder<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Dim oReader As OleDbDataReader<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Dim lcNear As String = IIf(Near, ON, OFF)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  With oStrBldr<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append(EXECS()<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([SET NEAR  &amp; lcNear &amp; ] + CHR(13) + )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([USE CUSTS ORDER NAMES SHARED AGAIN IN 0] + CHR(13) + )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([SEEK ' &amp; Name2Find &amp; ' IN CUSTS] + CHR(13) + )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([SELECT 0] + CHR(13) + )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([CREATE CURSOR SeekResults(lFound L, nRecno I, nReccount I)] + CHR(13) + )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([INSERT INTO SeekResults VALUES ( FOUND('CUSTS'), RECNO('CUSTS'), RECCOUNT('CUSTS') )]+ CHR(13) + )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([USE IN SELECT('CUSTS')] + CHR(13) + )<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append([RETURN SETRESULTSET( 'SeekResults' )])<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  .Append())<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  oCmd.CommandText = .ToString<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  End With</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  oConn.Open()<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  oReader = oCmd.ExecuteReader()<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  While oReader.Read<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MsgBox(Found:  &amp; oReader.GetBoolean(0).ToString &amp; vbCrLf &amp; _<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  RECNO():  &amp; oReader.GetInt32(1).ToString &amp; vbCrLf &amp; _<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  RECCOUNT():  &amp; oReader.GetInt32(2).ToString)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  End While</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  oConn.Close()<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  oConn.Dispose()<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  oCmd.Dispose()<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  oReader.Close()<br />Ã‚Â Ã‚Â Ã‚Â  End Function</p>
<p>End Class
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>More Information</h2>
<div class=sbody>
<p>For more information about the VFP functions and commands used in this article (SEEK, SET NEAR, RECNO(), RECCOUNT(), SELECT(), SETRESULTSET(), etc.), please refer to the Visual FoxPro 9.0 SP2 online help here:<br /><a href=http://msdn.microsoft.com/en-us/library/724fd5h9(VS.80).aspx>http://msdn.microsoft.com/en-us/library/724fd5h9(VS.80).aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/724fd5h9(VS.80).aspx)</span></p>
<p>You can also download the entire VFP9 SP2 help file here (.CHM):<br /><span class=ll><a href=http://www.microsoft.com/downloads/details.aspx?FamilyID=842ACEC8-F79C-41CD-AB1A-AE4F184387C2&amp;displaylang=en>http://www.microsoft.com/downloads/details.aspx?FamilyID=842ACEC8-F79C-41CD-AB1A-AE4F184387C2&amp;displaylang=en</a></span><span class=pLink> (http://www.microsoft.com/downloads/details.aspx?FamilyID=842ACEC8-F79C-41CD-AB1A-AE4F184387C2&amp;displaylang=en)</span></p>
<p>The VFP OLE DB Provider is available as a free download and is the preferred way to access VFP data from non-VFP applications. It is available here:<br /><span class=ll><a href=http://www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&amp;displaylang=en>http://www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&amp;displaylang=en</a></span><span class=pLink> (http://www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&amp;displaylang=en)</span>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>DISCLAIMER</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual FoxPro 9.0 Service Pack 2</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Basic 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Basic 2005 Express Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Basic 2005</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Basic .NET 2003 Standard Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Basic .NET 2002 Standard Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â </h5>
</td>
<td class=text>kbnomt kbrapidpub KB956277</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A><a href=/sponsor.aspx?ID=64>	<img src=/images/ads/TechTarget/windows-ba.gif width=300 height=250 border=0></a>&nbsp;<a href=/sponsor.aspx?ID=64>	<img src=/images/ads/TechTarget/Networking-ba.gif width=300 height=250 border=0></a>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/how-to-locate-a-value-or-closest-match-in-a-visual-foxpro-table-from-vb-net-using-the-vfp-ole-db-provider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual C#</title>
		<link>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-visual-c/</link>
		<comments>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-visual-c/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 12:50:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-visual-c/</guid>
		<description><![CDATA[List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual C#
View products that this article applies to.



Article ID
:
950263


Last Review
:
April 29, 2008


Revision
:
1.1





Beta Information
This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.
No formal product support [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual C#</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>950263</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>April 29, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.1</td>
</tr>
</table>
</div>
<div class=notice>
<div class=notice>
<h5 id=tocHeadRef>Beta Information</h5>
<p>This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.</p>
<p>No formal product support is available from Microsoft for this beta product. For information about how to obtain support for a beta release, see the documentation that is included with the beta product files, or check the Web location where you downloaded the release.</p></div>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>INTRODUCTION</h2>
<div class=sbody>This article describes the following aspects of Microsoft Visual Studio 2008 Service Pack 1 (SP1) Beta for Microsoft Visual C#:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The known issues in this service pack and how to work around the known issues</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The issues that may occur when you uninstall this service pack and how to roll back to the release version of Visual Studio 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The hotfixes that are included in this service pack</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The features and the functionalities that are new, changed, or improved</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Known issues in this service pack and how to work around the known issues</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>For multiple editions of Visual Studio 2008, Microsoft supports only the scenarios in which all the editions are at the same service pack level.  If multiple languages or multiple editions of Visual Studio 2008 are installed on a computer, all the languages or all the editions must be the release version or must have Visual Studio 2008 SP1 Beta installed to be supported by Microsoft.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>This beta release is not installed if you have a beta version of Microsoft Silverlight installed on the operating system.</td>
</tr>
</table>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Issues that may occur when you uninstall this service pack and how to roll back to the release version of Visual Studio 2008</h3>
<p>For more information about the issues that may occur when you uninstall this service pack and about how to roll back to the release version of Visual Studio 2008, see the Removal issues for all platforms section in Microsoft Knowledge Base article 945140. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Hotfixes that are included in this service pack</h3>
<p>No hotfixes are included in this service pack.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Features and functionalities that are new, changed, or improved</h3>
<h4 id=tocHeadRef>New features and new functionalities</h4>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>This service pack adds debugging support for the following items:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Range variables in queries</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Anonymous types</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Generic type arguments</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>This service pack  adds a new Visual C# IDE feature that provides a richer set of error information about your code.  Specifically, this feature presents the expression-level errors that occur in open files to you according to  your code. These expression-level errors were previously reported only after a build operation.</td>
</tr>
</table>
<h4 id=tocHeadRef>Changed features and changed functionalities</h4>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In earlier  versions of Visual Studio, the task list is populated by using  the ToDo tasks that are specified in open files.  In  this service pack, the Visual C# IDE extends this functionality. The Visual C# IDE populates the task list by using the ToDo tasks that are specified in the whole solution.</td>
</tr>
</table>
<h4 id=tocHeadRef>Improved features and improved functionalities</h4>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>This service pack improves the performance of the <b>Enumerable.Cast&lt;T&gt;</b>  method by disabling  the primitive value conversions and  the explicitly defined user conversions. An example of a primitive value conversion is a  conversion from the <b>int</b>  data type to the <b>long</b> data type.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>This service pack improves the performance of the <b>Where</b> standard query operator and of the <b>Select</b> standard query operator.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Fixed issues for which hotfixes were not released</h3>
<p>The following table lists some issues that this service pack fixes. No hotfixes were released for these issues.<br />
<table cellspacing=1 class=table>
<tr>
<th>Connect ID</th>
<th>Description</th>
</tr>
<tr>
<td>307131</td>
<td>IntelliSense does not show the extension methods that apply to generic type parameters.</td>
</tr>
<tr>
<td>304804</td>
<td>The <b>Using</b> directive is not applied to both parts of a partial method if the <b>Using</b> directive is defined in different scopes.</td>
</tr>
<tr>
<td>154722</td>
<td>The <b>==</b> operator and the <b>!=</b> operator do not work correctly when the operators compare a nullable value type with itself and when the value is null.</td>
</tr>
<tr>
<td>315853</td>
<td>Two <b>lock</b> statements in the same block may cause the compiler to crash.</td>
</tr>
<tr>
<td>319387</td>
<td>When you call a generic interface method in expression trees, value types are boxed.</td>
</tr>
<tr>
<td>319429</td>
<td>Object initializers for value types do not work correctly in expression trees.</td>
</tr>
<tr>
<td>319454</td>
<td>Expression trees that have user-defined conversions do not work correctly.</td>
</tr>
<tr>
<td>321448</td>
<td>Rename refactoring may cause Visual C# 2008 Express Edition to stop responding (hang).</td>
</tr>
<tr>
<td>329326</td>
<td>Multiple issues occur when you compile the following code: </p>
<p>default(T) ?? t</td>
</tr>
<tr>
<td>319465</td>
<td>The <b>true</b> operator and the <b>false</b> operator do not  work correctly in expression trees when these operators are overloaded.</td>
</tr>
<tr>
<td>294736</td>
<td>IntelliSense proposes read-only properties in object initializers.</td>
</tr>
<tr>
<td>295945</td>
<td>The <b>Remove Unused Usings</b> command does not remove unbound <b>using</b> Language-Integrated Query (LINQ) statements.</td>
</tr>
<tr>
<td>316127</td>
<td>When you press CTRL+ENTER or SHIFT+CTRL+ENTER in an XML comment, Visual Studio 2008 crashes.</td>
</tr>
<tr>
<td>317256</td>
<td>The Debugger Visualizer template references the wrong version of the <b>Microsoft.VisualStudio.DebuggerVisualizers</b> assembly when an earlier version of Visual Studio is installed.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>REFERENCES</h2>
<div class=sbody>For more information about Visual Studio 2008 Service Pack 1 Beta, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2008 Express Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbhowto kbinfo KB950263</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-visual-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 Crashes After Installing PowerCommands Add-In</title>
		<link>http://ossmall.info/visual-studio-2008-crashes-after-installing-powercommands-add-in/</link>
		<comments>http://ossmall.info/visual-studio-2008-crashes-after-installing-powercommands-add-in/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 11:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/visual-studio-2008-crashes-after-installing-powercommands-add-in</guid>
		<description><![CDATA[
Article ID: 967679 &#8211; Last Review: February 9, 2009 &#8211; Revision: 1.0
Visual Studio 2008 Crashes After Installing PowerCommands Add-In
View products that this article applies to.

Expand all &#124; Collapse all
Source: Microsoft Support
Back to the top

RAPID PUBLISHING


RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 967679 &#8211; Last Review: February 9, 2009 &#8211; Revision: 1.0</div>
<p><strong class=title>Visual Studio 2008 Crashes After Installing PowerCommands Add-In</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody><b>Source: </b>Microsoft Support
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RAPID PUBLISHING</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Action</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>You are using Visual Studio 2008 with the Visual Studio PowerCommands Add-In installed.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Result</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>When working with Visual Studio, it crashes unexpectedly and you see information similar to the following in the Windows Application event log.</p>
<p>Log Name: Application<br />Source: .NET Runtime<br />Event ID: 1023</p>
<p>.NET Runtime version 2.0.50727.3053 &#8211; Fatal Execution Engine Error (000007FEF671203F) (0)
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Cause</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>This is due to a bug in the Common Language Runtime (CLR) when loading assemblies.Ã‚Â In some scenarios, the CLR might rejectÃ‚Â a native image for a particular assembly based on the context it was requested to load in, rather than the context it actually belongs to. This can cause the native image for the assembly to be lost at some point while the process is running. When the CLR detects this condition, it purposely throws the ExecutionEngineException (Fatal Execution Engine Error), which terminates the process.Ã‚Â </p>
<p>In this scenario, System.Core.dll is reuqested by Microsoft.PowerCommands.dll. In certain scenarios,Ã‚Â System.Core.dll loses its native image and is loaded in the wrong context, which results in the crash.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Resolution</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>You can resolve the issue by adding a &lt;dependentAssembly&gt; entry for Microsoft.PowerCommands in the Devenv.exe.config file.</p>
<p>1.Ã‚Â Using Notepad, open the devenv.exe.config file which is situated under  Program Files Visual Studio 9 Common7 IDE folder.<br />2. Locate the &lt;assemblyBinding&gt; element underneath the &lt;runtime&gt; element. You should see a number of &lt;dependentAssembly&gt; elements listed under this.<br />3. Add the following &lt;dependentAssembly&gt; entry at the bottom of the &lt;dependentAssembly&gt; entries.</p>
<p>&lt;dependentAssembly&gt;<br />Ã‚Â Ã‚Â  &lt;assemblyIdentity name=Microsoft.PowerCommands publicKeyToken=nullÃ‚Â culture=neutral/&gt;<br />Ã‚Â Ã‚Â  &lt;codeBase version=1.1.0.0 href=C: Program Files PowerCommands Microsoft.PowerCommands.dll/&gt;<br />&lt;/dependentAssembly&gt;</p>
<p>4. Be sure to place the path to Microsoft.PowerCommands.dll with the path to it on your computer.<br />5. Save the file and close it.<br />6. Restart Visual Studio 2008.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >DISCLAIMER</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbnomt kbrapidpub KB967679</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/visual-studio-2008-crashes-after-installing-powercommands-add-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: The Visual C++ 2008 Libraries Extension Feature Pack is available</title>
		<link>http://ossmall.info/fix-the-visual-c-2008-libraries-extension-feature-pack-is-available/</link>
		<comments>http://ossmall.info/fix-the-visual-c-2008-libraries-extension-feature-pack-is-available/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 12:43:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-the-visual-c-2008-libraries-extension-feature-pack-is-available/</guid>
		<description><![CDATA[FIX: The Visual C++ 2008 Libraries Extension Feature Pack is available
View products that this article applies to.



Article ID
:
945273


Last Review
:
April 15, 2008


Revision
:
1.0




On This Page



INTRODUCTION
This article describes the Microsoft Visual C++ 2008 Libraries Extension Feature Pack that is available.
Back to the top

MORE INFORMATION
This package installs the Visual C++ 2008 Feature Pack.  This feature pack extends the [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>FIX: The Visual C++ 2008 Libraries Extension Feature Pack is available</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>945273</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>April 15, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>INTRODUCTION</h2>
<div class=sbody>This article describes the Microsoft Visual C++ 2008 Libraries Extension Feature Pack that is available.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>This package installs the Visual C++ 2008 Feature Pack.  This feature pack extends the Visual C++ Libraries that are included with Visual Studio 2008.</p>
<p>The Visual C++ 2008 MFC libraries have been extended to enable you to create applications that have features such as the following:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	A Microsoft Office Ribbon-style interface</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The appearance and behavior of	2007 Office, Office 2003, and Office XP</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	Modern Visual Studio-style docking toolbars and panes</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	Fully customizable toolbars and menus</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	A rich set of advanced GUI controls</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	Advanced multiple document interface (MDI) tabs and groups</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Hotfix information</h3>
<h4 id=tocHeadRef>How to obtain the Visual C++ 2008 Libraries Extension Feature Pack</h4>
<p>The following file is available for download from the Microsoft Download Center:<br /><img class=graphic src=http://support.microsoft.com/library/images/support/kbgraphics/public/EN-US/Download.gif alt=Download title=Download><a href=http://www.microsoft.com/downloads/details.aspx?familyid=D466226B-8DAB-445F-A7B4-448B326C48E7&amp;amp;displaylang=en>Download the VC2008FeaturePack.exe package now.</a><span class=pLink> (http://www.microsoft.com/downloads/details.aspx?familyid=D466226B-8DAB-445F-A7B4-448B326C48E7&amp;amp;displaylang=en)</span></p>
<p>For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=119591>119591</a><span class=pLink> (/Feedback.aspx?kbNumber=119591/)</span> How to obtain Microsoft support files from online services</div>
<p>Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.<br />
<h4 id=tocHeadRef>Prerequisites</h4>
<p>You must have the Visual Studio 2008 installed to apply this hotfix.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>You have to restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>File information</h4>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control Panel.<br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Dhtmlheader.html</td>
<td>Not Applicable</td>
<td>15,942</td>
<td>04-Mar-2008</td>
<td>13:02</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Parameterinfo.xml</td>
<td>Not Applicable</td>
<td>248,856</td>
<td>04-Mar-2008</td>
<td>13:02</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Spinstaller.exe</td>
<td>9.0.30219.0</td>
<td>78,344</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>x86</td>
</tr>
<tr>
<td>Spinstallerengine.dll</td>
<td>9.0.30219.0</td>
<td>488,464</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>x86</td>
</tr>
<tr>
<td>Spinstallerui.dll</td>
<td>9.0.30219.0</td>
<td>208,392</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>x86</td>
</tr>
<tr>
<td>Sqmapi.dll</td>
<td>6.0.6000.16386</td>
<td>143,352</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>x86</td>
</tr>
<tr>
<td>Uiinfo.xml</td>
<td>Not Applicable</td>
<td>2,190</td>
<td>04-Mar-2008</td>
<td>13:02</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Vc90fp-kb945273-x86-enu.msp</td>
<td>Not Applicable</td>
<td>170,636,288</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Vc90fp-kb947886-x86_x64-enu.msp</td>
<td>Not Applicable</td>
<td>156,362,240</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Vc_x64runtime.exe</td>
<td>9.0.30304.0</td>
<td>9,410,568</td>
<td>04-Mar-2008</td>
<td>01:38</td>
<td>x86</td>
</tr>
<tr>
<td>Vc_x86runtime.exe</td>
<td>9.0.30304.0</td>
<td>8,427,528</td>
<td>04-Mar-2008</td>
<td>01:32</td>
<td>x86</td>
</tr>
<tr>
<td>Eula.rtf</td>
<td>Not Applicable</td>
<td>160,254</td>
<td>04-Mar-2008</td>
<td>10:51</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Spinstallerresources.dll</td>
<td>9.0.30219.0</td>
<td>23,576</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>x86</td>
</tr>
<tr>
<td>Spinstallerresources.dll</td>
<td>9.0.30219.0</td>
<td>24,600</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>x86</td>
</tr>
<tr>
<td>Spinstallerresources.dll</td>
<td>9.0.30219.0</td>
<td>24,088</td>
<td>04-Mar-2008</td>
<td>13:08</td>
<td>x86</td>
</tr>
</table>
<p>For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=>824684</a><span class=pLink> (/)</span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Academic Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseinter kbfix kbinfo KB945273</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-the-visual-c-2008-libraries-extension-feature-pack-is-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
