<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>AtlServer Work Item Rss Feed</title><link>http://www.codeplex.com/AtlServer/WorkItem/List.aspx</link><description>AtlServer Work Item Rss Description</description><item><title>Commented Issue: SPROXY ignores minOccurs="0" [4118]</title><link>http://atlserver.codeplex.com/workitem/4118</link><description>Currently the stub generation does not take the special case of minOccurs&amp;#61;&amp;#34;0&amp;#34; into consideration.  It should treat these items the same as if the wsdl has specified nillable&amp;#61;&amp;#34;true&amp;#34; as per Trevors previous fix.&lt;br /&gt;&amp;#160;&lt;br /&gt;Gordon&lt;br /&gt;Comments: ** Comment from web user: icnocop ** &lt;p&gt;Schmoo has uploaded [patch #456](https://atlserver.codeplex.com/SourceControl/list/patches) for this issue. &lt;/p&gt;</description><author>icnocop</author><pubDate>Thu, 11 Apr 2013 01:18:10 GMT</pubDate><guid isPermaLink="false">Commented Issue: SPROXY ignores minOccurs="0" [4118] 20130411011810A</guid></item><item><title>Commented Issue: Make ATLPref work under Vista [6815]</title><link>http://atlserver.codeplex.com/workitem/6815</link><description>The pref objects don&amp;#39;t work under Vista, there seem to be two problems with it&amp;#58;&lt;br /&gt;Comments: ** Comment from web user: icnocop ** &lt;p&gt;There is a duplicate issue here: [Perfomance Counter Support in Vista](https://atlserver.codeplex.com/workitem/9279)&lt;/p&gt;</description><author>icnocop</author><pubDate>Thu, 11 Apr 2013 01:09:14 GMT</pubDate><guid isPermaLink="false">Commented Issue: Make ATLPref work under Vista [6815] 20130411010914A</guid></item><item><title>Commented Issue: Perfomance Counter Support in Vista [9279]</title><link>http://atlserver.codeplex.com/workitem/9279</link><description>The performance counter support in Vista is broken.&lt;br /&gt;Comments: ** Comment from web user: icnocop ** &lt;p&gt;See this related issue: [Make ATLPref work under Vista](https://atlserver.codeplex.com/workitem/6815)&lt;/p&gt;</description><author>icnocop</author><pubDate>Thu, 11 Apr 2013 01:08:54 GMT</pubDate><guid isPermaLink="false">Commented Issue: Perfomance Counter Support in Vista [9279] 20130411010854A</guid></item><item><title>Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/workitem/12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: AlanChen ** &lt;p&gt;Just Ignore it , nobody fix this&amp;#33; &lt;/p&gt;&lt;p&gt;property&amp;#58; linker&amp;#58; commandline--&amp;#62; Ignore&amp;#58;4254&lt;/p&gt;</description><author>AlanChen</author><pubDate>Thu, 24 May 2012 10:02:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20120524100252A</guid></item><item><title>Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/workitem/12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: research_opencs ** &lt;p&gt;I have a similar problem with &amp;#34;ATLS&amp;#34; section and VC2010.&lt;/p&gt;&lt;p&gt;Based on the comments posted by vvdb I discovered that this error is caused because the .rdata in VC2010 does not accept the attribute shared required by ATLS &amp;#40;dumpbin&amp;#41;&amp;#58; &lt;/p&gt;&lt;p&gt;SECTION HEADER &amp;#35;3&lt;br /&gt;  .rdata name&lt;br /&gt;   2651D virtual size&lt;br /&gt;   FC000 virtual address &amp;#40;100FC000 to 1012251C&amp;#41;&lt;br /&gt;   26600 size of raw data&lt;br /&gt;   AA000 file pointer to raw data &amp;#40;000AA000 to 000D05FF&amp;#41;&lt;br /&gt;       0 file pointer to relocation table&lt;br /&gt;       0 file pointer to line numbers&lt;br /&gt;       0 number of relocations&lt;br /&gt;       0 number of line numbers&lt;br /&gt;40000040 flags&lt;br /&gt;         Initialized Data&lt;br /&gt;         Read Only&lt;/p&gt;&lt;p&gt;While the ATLS defines the attribute shared&amp;#58;&lt;br /&gt;&amp;#9;&amp;#9; &lt;br /&gt;SECTION HEADER &amp;#35;6&lt;br /&gt;    ATLS name&lt;br /&gt;     208 virtual size&lt;br /&gt;  12B000 virtual address &amp;#40;1012B000 to 1012B207&amp;#41;&lt;br /&gt;     400 size of raw data&lt;br /&gt;   D3E00 file pointer to raw data &amp;#40;000D3E00 to 000D41FF&amp;#41;&lt;br /&gt;       0 file pointer to relocation table&lt;br /&gt;       0 file pointer to line numbers&lt;br /&gt;       0 number of relocations&lt;br /&gt;       0 number of line numbers&lt;br /&gt;50000040 flags&lt;br /&gt;         Initialized Data&lt;br /&gt;         Shared&lt;br /&gt;         Read Only&lt;/p&gt;&lt;p&gt;In order to solve this, I modified the header &amp;#34;atlisapi.h&amp;#34; to remove the merge if _MSC_VER is greater or equal to 1600 &amp;#40;VC2010&amp;#41;. This fixed the problem and appears to be working with no major problems except for the existence of an extra segment.&lt;/p&gt;&lt;p&gt;The modification is as follows&amp;#58;&lt;/p&gt;&lt;p&gt;&amp;#35;if &amp;#33;defined&amp;#40;_M_IA64&amp;#41;&lt;br /&gt;&amp;#9;&amp;#35;if _MSC_VER &amp;#60; 1600 &lt;br /&gt;&amp;#9;&amp;#9;&amp;#35;pragma comment&amp;#40;linker, &amp;#34;&amp;#47;merge&amp;#58;ATLS&amp;#61;.rdata&amp;#34;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#35;endif&lt;br /&gt;&amp;#35;endif&lt;/p&gt;&lt;p&gt;It is possible that the same approach will solve the error detected with the ATL section as well because the problem appears to be the same. &lt;/p&gt;&lt;p&gt;More details about the sections can be found in http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;sf9b18xk.aspx&lt;br /&gt;&lt;/p&gt;</description><author>research_opencs</author><pubDate>Mon, 07 Nov 2011 16:31:01 GMT</pubDate><guid isPermaLink="false">Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20111107043101P</guid></item><item><title>Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/workitem/12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: pally_sandher ** &lt;p&gt;Still seeing this with SP1 for VS2010 applied.&lt;/p&gt;</description><author>pally_sandher</author><pubDate>Fri, 19 Aug 2011 16:25:59 GMT</pubDate><guid isPermaLink="false">Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20110819042559P</guid></item><item><title>Commented Issue: Possible crash in CAtlHttpClientT [15897]</title><link>http://atlserver.codeplex.com/workitem/15897</link><description>If a binary file is being downloaded using chunked Transfer-Encoding, and the binary file contains a null character, this line in ReadChunkedBody will only append some of the result_buffer to m_current, because Append with no length uses strlen, which will stop at the null. Later attempts to use m_current can cause access violations because GetBodyLength&amp;#40;&amp;#41; still returns the actual download size.&lt;br /&gt;&amp;#9;if &amp;#40;&amp;#33;m_current.Append&amp;#40;&amp;#40;LPCSTR&amp;#41;result_buffer&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;return false&amp;#59;&lt;br /&gt;&lt;br /&gt;Changing it to this, fixes the problem&amp;#58;&lt;br /&gt;&amp;#9;if &amp;#40; &amp;#33;m_current.Append&amp;#40;&amp;#40;LPCSTR&amp;#41;result_buffer, result_buffer.GetLength&amp;#40;&amp;#41;&amp;#41; &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;return false&amp;#59;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Not a bug, but I also added this code in ReadChunkedBody just after a successful Read so that callback clients will get feedback during a chunked download.&lt;br /&gt;                if &amp;#40;m_pNavData-&amp;#62;pfnReadStatusCallback&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;    bool bRet &amp;#61; m_pNavData-&amp;#62;pfnReadStatusCallback&amp;#40;dwReadBuffSize, m_pNavData-&amp;#62;m_lParamRead&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;        if &amp;#40;&amp;#33;bRet&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;        return bRet&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;Comments: ** Comment from web user: asalamon ** &lt;p&gt;Apparently this was reported as far back as 2002 and still hasn&amp;#39;t been fixed&amp;#58;&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;groups.google.com&amp;#47;group&amp;#47;microsoft.public.vc.atl&amp;#47;msg&amp;#47;4e2e29008d33ca17&lt;/p&gt;</description><author>asalamon</author><pubDate>Fri, 20 May 2011 18:57:57 GMT</pubDate><guid isPermaLink="false">Commented Issue: Possible crash in CAtlHttpClientT [15897] 20110520065757P</guid></item><item><title>Created Issue: Possible crash in CAtlHttpClientT [15897]</title><link>http://atlserver.codeplex.com/workitem/15897</link><description>If a binary file is being downloaded using chunked Transfer-Encoding, and the binary file contains a null character, this line in ReadChunkedBody will only append some of the result_buffer to m_current, because Append with no length uses strlen, which will stop at the null. Later attempts to use m_current can cause access violations because GetBodyLength&amp;#40;&amp;#41; still returns the actual download size.&lt;br /&gt;&amp;#9;if &amp;#40;&amp;#33;m_current.Append&amp;#40;&amp;#40;LPCSTR&amp;#41;result_buffer&amp;#41;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;return false&amp;#59;&lt;br /&gt;&lt;br /&gt;Changing it to this, fixes the problem&amp;#58;&lt;br /&gt;&amp;#9;if &amp;#40; &amp;#33;m_current.Append&amp;#40;&amp;#40;LPCSTR&amp;#41;result_buffer, result_buffer.GetLength&amp;#40;&amp;#41;&amp;#41; &amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;return false&amp;#59;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Not a bug, but I also added this code in ReadChunkedBody just after a successful Read so that callback clients will get feedback during a chunked download.&lt;br /&gt;                if &amp;#40;m_pNavData-&amp;#62;pfnReadStatusCallback&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;    bool bRet &amp;#61; m_pNavData-&amp;#62;pfnReadStatusCallback&amp;#40;dwReadBuffSize, m_pNavData-&amp;#62;m_lParamRead&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;        if &amp;#40;&amp;#33;bRet&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;        return bRet&amp;#59;&lt;br /&gt;                &amp;#125;&lt;br /&gt;</description><author>asalamon</author><pubDate>Fri, 20 May 2011 18:34:09 GMT</pubDate><guid isPermaLink="false">Created Issue: Possible crash in CAtlHttpClientT [15897] 20110520063409P</guid></item><item><title>Commented Issue: Make ATLPref work under Vista [6815]</title><link>http://atlserver.codeplex.com/workitem/6815</link><description>The pref objects don&amp;#39;t work under Vista, there seem to be two problems with it&amp;#58;&lt;br /&gt;Comments: ** Comment from web user: audriusz ** &lt;p&gt;I had encountered supposedly the same issue on Windows Server 2008 R2. I believe that this is the result of a problem inside RegQueryValueEx, by including uninitialized data into the reported byte array. As with other uninitialized data, reproducing the problem is quite random.&lt;br /&gt;I have submitted the issue via Microsoft Connect &amp;#40;https&amp;#58;&amp;#47;&amp;#47;connect.microsoft.com&amp;#47;WindowsServerFeedback&amp;#47;feedback&amp;#47;details&amp;#47;633595&amp;#47;a-possible-problem-in-winapi-function-regqueryvalueex-prevents-perf-counter-registration&amp;#35;&amp;#41;&lt;/p&gt;&lt;p&gt;A simple workaround may be coded into ATL Server, &amp;#60;atlperf.inl&amp;#62;&amp;#58;&lt;br /&gt;Metods CPerfMon&amp;#58;&amp;#58;_AppendRegStrings and CPerfMon&amp;#58;&amp;#58;_RemoveRegStrings should zero-fill the buffer inside CStrBuf passed as a parameter to the second calls to rkLang.QueryMultiStringValue.&lt;br /&gt;&lt;/p&gt;</description><author>audriusz</author><pubDate>Tue, 28 Dec 2010 15:14:04 GMT</pubDate><guid isPermaLink="false">Commented Issue: Make ATLPref work under Vista [6815] 20101228031404P</guid></item><item><title>Commented Issue: CSoapHandler not wired under IIS7, Win Server 2008 [14847]</title><link>http://atlserver.codeplex.com/workitem/14847</link><description>Running against IIS7 &amp;#47; Windows Server 2008, CSoapHandler Isapi extension would not route calls into the instance of the soap handler due to a bug in atlisapi.h&lt;br /&gt;&lt;br /&gt;The fix -- inside class CServerContext had to change implementation of the Initialize method to obtain the script path explicitly&lt;br /&gt;&lt;br /&gt;void Initialize&amp;#40;__in EXTENSION_CONTROL_BLOCK &amp;#42;pECB&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    ATLENSURE&amp;#40;pECB&amp;#41;&amp;#59;&lt;br /&gt;    m_pECB &amp;#61; pECB&amp;#59;&lt;br /&gt;&lt;br /&gt;    &amp;#47;&amp;#47; Initialize the translated script path&lt;br /&gt;    DWORD dwSize&amp;#61;0&amp;#59;&lt;br /&gt;    BOOL bRes &amp;#61; GetServerVariable&amp;#40;&amp;#34;SCRIPT_TRANSLATED&amp;#34;, NULL, &amp;#38;dwSize&amp;#41;&amp;#59;&lt;br /&gt;    char &amp;#42;szScriptPathTranslated &amp;#61; NULL&amp;#59;&lt;br /&gt;    ATLTRY&amp;#40;szScriptPathTranslated &amp;#61; m_strScriptPathTranslated.GetBuffer&amp;#40;dwSize&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;    if &amp;#40;szScriptPathTranslated&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        GetServerVariable&amp;#40;&amp;#34;SCRIPT_TRANSLATED&amp;#34;, szScriptPathTranslated, &amp;#38;dwSize&amp;#41;&amp;#59;&lt;br /&gt;        szScriptPathTranslated&amp;#91;dwSize&amp;#93; &amp;#61; &amp;#39;&amp;#92;0&amp;#39;&amp;#59;&lt;br /&gt;        m_strScriptPathTranslated.ReleaseBuffer&amp;#40;dwSize&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    &amp;#47;&amp;#47; Old implementation&amp;#58;&lt;br /&gt;    &amp;#47;&amp;#47;_AtlGetScriptPathTranslated&amp;#40;GetPathTranslated&amp;#40;&amp;#41;, m_strScriptPathTranslated&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: boolka ** &lt;p&gt;The above is inside atlisapi.h.&lt;/p&gt;</description><author>boolka</author><pubDate>Wed, 08 Dec 2010 21:16:47 GMT</pubDate><guid isPermaLink="false">Commented Issue: CSoapHandler not wired under IIS7, Win Server 2008 [14847] 20101208091647P</guid></item><item><title>Created Issue: CSoapHandler not wired under IIS7, Win Server 2008 [14847]</title><link>http://atlserver.codeplex.com/workitem/14847</link><description>Running against IIS7 &amp;#47; Windows Server 2008, CSoapHandler Isapi extension would not route calls into the instance of the soap handler due to a bug in atlisapi.h&lt;br /&gt;&lt;br /&gt;The fix -- inside class CServerContext had to change implementation of the Initialize method to obtain the script path explicitly&lt;br /&gt;&lt;br /&gt;void Initialize&amp;#40;__in EXTENSION_CONTROL_BLOCK &amp;#42;pECB&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;    ATLENSURE&amp;#40;pECB&amp;#41;&amp;#59;&lt;br /&gt;    m_pECB &amp;#61; pECB&amp;#59;&lt;br /&gt;&lt;br /&gt;    &amp;#47;&amp;#47; Initialize the translated script path&lt;br /&gt;    DWORD dwSize&amp;#61;0&amp;#59;&lt;br /&gt;    BOOL bRes &amp;#61; GetServerVariable&amp;#40;&amp;#34;SCRIPT_TRANSLATED&amp;#34;, NULL, &amp;#38;dwSize&amp;#41;&amp;#59;&lt;br /&gt;    char &amp;#42;szScriptPathTranslated &amp;#61; NULL&amp;#59;&lt;br /&gt;    ATLTRY&amp;#40;szScriptPathTranslated &amp;#61; m_strScriptPathTranslated.GetBuffer&amp;#40;dwSize&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;    if &amp;#40;szScriptPathTranslated&amp;#41;&lt;br /&gt;    &amp;#123;&lt;br /&gt;        GetServerVariable&amp;#40;&amp;#34;SCRIPT_TRANSLATED&amp;#34;, szScriptPathTranslated, &amp;#38;dwSize&amp;#41;&amp;#59;&lt;br /&gt;        szScriptPathTranslated&amp;#91;dwSize&amp;#93; &amp;#61; &amp;#39;&amp;#92;0&amp;#39;&amp;#59;&lt;br /&gt;        m_strScriptPathTranslated.ReleaseBuffer&amp;#40;dwSize&amp;#41;&amp;#59;&lt;br /&gt;    &amp;#125;&lt;br /&gt;&lt;br /&gt;    &amp;#47;&amp;#47; Old implementation&amp;#58;&lt;br /&gt;    &amp;#47;&amp;#47;_AtlGetScriptPathTranslated&amp;#40;GetPathTranslated&amp;#40;&amp;#41;, m_strScriptPathTranslated&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>boolka</author><pubDate>Wed, 08 Dec 2010 21:15:10 GMT</pubDate><guid isPermaLink="false">Created Issue: CSoapHandler not wired under IIS7, Win Server 2008 [14847] 20101208091510P</guid></item><item><title>Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/workitem/12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: mloskot ** &lt;p&gt;It looks to me there is conflict between read-only and shared attributes of the declared sections and merging them with .rdata.&lt;/p&gt;&lt;p&gt;I have asked related question here http&amp;#58;&amp;#47;&amp;#47;social.msdn.microsoft.com&amp;#47;Forums&amp;#47;en-US&amp;#47;vcmfcatl&amp;#47;thread&amp;#47;4763bc2d-0e86-45e9-bfe4-ddaa735e5ad5&lt;/p&gt;</description><author>mloskot</author><pubDate>Wed, 01 Dec 2010 15:54:28 GMT</pubDate><guid isPermaLink="false">Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20101201035428P</guid></item><item><title>Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/workitem/12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: Paul7 ** &lt;p&gt;The same issue here. Lots of warnings when linking. This could be a problem with VC ATL includes. In VS 2008 atlbase.h the part of the file with pragmas is compiled conditionally.&lt;br /&gt;&amp;#36;if defined&amp;#40;_M_IA64&amp;#41; &amp;#124;&amp;#124; defined&amp;#40;_M_IX86&amp;#41; ...&lt;br /&gt;In VS 2010 the same declaration in atlbase.h is not conditional so it is included in 64 bit compilation. &lt;br /&gt;For now I prefer to ignore these warnings. Maybe in the next VS 2010 service pack it will be fixed.  &lt;/p&gt;</description><author>Paul7</author><pubDate>Mon, 18 Oct 2010 23:24:39 GMT</pubDate><guid isPermaLink="false">Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20101018112439P</guid></item><item><title>Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/workitem/12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: ReenaG ** &lt;p&gt;I am having the same problem. Since this is a warning and not an error is it Ok to ignore it&amp;#63;&lt;/p&gt;</description><author>ReenaG</author><pubDate>Tue, 15 Jun 2010 00:13:10 GMT</pubDate><guid isPermaLink="false">Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20100615121310A</guid></item><item><title>Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/WorkItem/View.aspx?WorkItemId=12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;Comments: ** Comment from web user: vvdb ** &lt;p&gt;I get the same linker warning here.&lt;br /&gt;It&amp;#39;s not clear how to solve this problem.&lt;br /&gt;Probably due to the following&amp;#58;&lt;/p&gt;&lt;p&gt;&amp;#35;if &amp;#33;defined&amp;#40;_M_IA64&amp;#41;&lt;br /&gt;&amp;#35;pragma comment&amp;#40;linker, &amp;#34;&amp;#47;merge&amp;#58;ATL&amp;#61;.rdata&amp;#34;&amp;#41;&lt;br /&gt;&amp;#35;endif&lt;/p&gt;&lt;p&gt;being defined in the standard ATL files, but NOT in the ATLServer files.&lt;/p&gt;&lt;p&gt;I tried adding it around i.e. &amp;#35;include &amp;#60;atlhttp.h&amp;#62;, but it doesn&amp;#39;t help.&lt;/p&gt;&lt;p&gt;Any help in solving this problem is greatly appreciated.&lt;br /&gt;&lt;/p&gt;</description><author>vvdb</author><pubDate>Tue, 04 May 2010 11:25:15 GMT</pubDate><guid isPermaLink="false">Commented Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20100504112515A</guid></item><item><title>Created Issue: DllMain rule violation in _g_smtp_init's constructor [12923]</title><link>http://atlserver.codeplex.com/WorkItem/View.aspx?WorkItemId=12923</link><description>In the atlsmtpconnection.h file, the global variable declaration &amp;#34;__declspec&amp;#40;selectany&amp;#41; CSMTPWSAStartup _g_smtp_init&amp;#59;&amp;#34; calls &amp;#34;WSAStartup&amp;#40;ATLSMTP_WSA_VERSION, &amp;#38;wsadata&amp;#41;&amp;#34; in its constructor &amp;#40;see init&amp;#40;&amp;#41; method&amp;#41;.&lt;br /&gt;This violates the rule that we may not call imported functions other than those located in Kernel32.dll &amp;#40;see &amp;#34;DllMain Restrictions&amp;#34; section at http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;aa290048&amp;#37;28VS.71&amp;#37;29.aspx&amp;#41;.&lt;br /&gt;&lt;br /&gt;Possible solutions &amp;#40;IMHO&amp;#41;&amp;#58;&lt;br /&gt;1&amp;#41; remove the init&amp;#40;&amp;#41; call from the constructor of CSMTPWSAStartup&lt;br /&gt;2&amp;#41; wrap the _g_smtp_init object in a songleton&lt;br /&gt;&lt;br /&gt;Note&amp;#58;&lt;br /&gt;Because of this issue, we had a crash when the DLLS were loaded &amp;#40;DllMain&amp;#41; -&amp;#62; hard to diagnose &amp;#38; debug. DLL Delay Load &amp;#40;in Visual Studio&amp;#41; helped, but it isn&amp;#39;t a &amp;#34;real&amp;#34; solution...&lt;br /&gt;</description><author>denissie</author><pubDate>Mon, 03 May 2010 11:59:23 GMT</pubDate><guid isPermaLink="false">Created Issue: DllMain rule violation in _g_smtp_init's constructor [12923] 20100503115923A</guid></item><item><title>Created Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158]</title><link>http://atlserver.codeplex.com/WorkItem/View.aspx?WorkItemId=12158</link><description>I see atlperf.h creates a section as readonly-shared. However I don&amp;#39;t understand why is it needed. I&amp;#39;ve dumpbin&amp;#39;ed my dll compiled with vs2005 and it looks like it was always 40000040, just with no warning.&lt;br /&gt; If I specify &amp;#47;section&amp;#58;.rdata,rs for linker it give another warning&amp;#58; warning LNK4223&amp;#58; the SHARED &amp;#40;S&amp;#41; attribute specified for section &amp;#39;.rdata&amp;#39; is ineffective without the WRITE &amp;#40;W&amp;#41; attribute&lt;br /&gt;&lt;br /&gt;Is the &amp;#34;shared&amp;#34; really needed for ATLP section&amp;#63;&lt;br /&gt;</description><author>JarLob</author><pubDate>Sat, 20 Mar 2010 17:14:36 GMT</pubDate><guid isPermaLink="false">Created Issue: vs2010: warning LNK4254: section 'ATLP' (50000040) merged into '.rdata' (40000040) with different attributes [12158] 20100320051436P</guid></item><item><title>Created Issue: atlperf.inl generates PreFast static analyzer warnings: C6284 objects passed, when string is required. [10641]</title><link>http://atlserver.codeplex.com/WorkItem/View.aspx?WorkItemId=10641</link><description>At several locations in atlper.inl an object is passed while a string is required.&lt;br /&gt;&lt;br /&gt;For example&amp;#58;&lt;br /&gt;&lt;br /&gt;strMutexName.Format&amp;#40;_T&amp;#40;&amp;#34;Global&amp;#92;&amp;#92;ATLPERF_&amp;#37;s_LOCK&amp;#34;&amp;#41;, strAppName&amp;#41;&amp;#59; &amp;#40;line 1873&amp;#41;&lt;br /&gt;&lt;br /&gt;This should be&amp;#58;&lt;br /&gt;&lt;br /&gt;strMutexName.Format&amp;#40;_T&amp;#40;&amp;#34;Global&amp;#92;&amp;#92;ATLPERF_&amp;#37;s_LOCK&amp;#34;&amp;#41;, strAppName.GetString&amp;#40;&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;</description><author>vbaderks</author><pubDate>Thu, 17 Sep 2009 11:29:28 GMT</pubDate><guid isPermaLink="false">Created Issue: atlperf.inl generates PreFast static analyzer warnings: C6284 objects passed, when string is required. [10641] 20090917112928A</guid></item><item><title>Commented Issue: ATLMIME.H - GetRecipientsString()</title><link>http://www.codeplex.com/AtlServer/WorkItem/View.aspx?WorkItemId=4683</link><description>Version&amp;#58; ATL Server Source and Headers 9.0.70425 Alpha&lt;br /&gt;&lt;br /&gt;Problem&amp;#58;&lt;br /&gt;New code added to used function AtlMimeMakeRecipientsString&amp;#40;&amp;#41; means that GetRecipientsString&amp;#40;&amp;#41; will always return FALSE.&lt;br /&gt;The problem is that the &amp;#39;dwLen&amp;#39; parameter will always be zero, and buffer length validation in AtlMimeMakeRecipientsString&amp;#40;&amp;#41; will fail the call.&lt;br /&gt;&lt;br /&gt;Fix&amp;#58;&lt;br /&gt;In GetRecipientsString&amp;#40;&amp;#41; the three instances of this line&amp;#58;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;dwLen &amp;#61; &amp;#42;pdwLen - dwTotalLen&amp;#59;&lt;br /&gt;should be changed to this&amp;#58;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;dwLen &amp;#61; dwMaxLen - dwTotalLen&amp;#59;&lt;br /&gt;This will correctly maintain the remaining buffer length in dwLen.&lt;br /&gt;Comments: ** Comment from web user: pawelek ** &lt;p&gt;You can simply comment line 531 of the ATLMIME.H like this&amp;#58;&lt;/p&gt;&lt;p&gt;530&amp;#58;&amp;#9;&amp;#9;DWORD dwMaxLen &amp;#61; &amp;#42;pdwLen&amp;#59;&lt;br /&gt;531&amp;#58;&amp;#9;&amp;#9;&amp;#47;&amp;#47;&amp;#42;pdwLen &amp;#61; 0&amp;#59;&lt;/p&gt;&lt;p&gt;This is a serious error and it should be corrected in the next release.&lt;/p&gt;</description><author>pawelek</author><pubDate>Fri, 20 Feb 2009 12:28:28 GMT</pubDate><guid isPermaLink="false">Commented Issue: ATLMIME.H - GetRecipientsString() 20090220122828P</guid></item><item><title>Created Issue: Perfomance Counter Support in Vista</title><link>http://www.codeplex.com/AtlServer/WorkItem/View.aspx?WorkItemId=9279</link><description>The performance counter support in Vista is broken.&lt;br /&gt;</description><author>mireku</author><pubDate>Thu, 19 Feb 2009 05:01:08 GMT</pubDate><guid isPermaLink="false">Created Issue: Perfomance Counter Support in Vista 20090219050108A</guid></item></channel></rss>