<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Suspected Errors of Version 18.0.1</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Suspected Errors of Version 18.0.1]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 12:40:16 +0000</pubDate>
  <lastBuildDate>Thu, 10 Aug 2017 22:49:53 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23409</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Suspected Errors of Version 18.0.1 : Hi Alexander,Thank you for kind...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76024&amp;title=suspected-errors-of-version-18-0-1#76024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8983">jychoe</a><br /><strong>Subject:</strong> 23409<br /><strong>Posted:</strong> 10 August 2017 at 10:49pm<br /><br /><div><br></div><div>Hi Alexander,&nbsp;</div><div><br></div><div>Thank you for kind reponses.</div><div><br></div><div>Replying your questions:</div><div><br></div><div>1. In file, XTPFontComboBox.h's line #329, commented description is shown</div><div>&nbsp; // &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ? &nbsp;Item 1 sorts before item 2.&nbsp;</div><div>&nbsp; the ? above triggers warning. I know its just trivial thing, however..</div><div><br></div><div>2. Followed by XTP_SUBSTITUTE_GDI_MEMBER_WITH_CACHED macros there is m_xtpFontRegular as cachedMemberName macro argument,</div><div>however it was declared at nowhere. Thus I had to add it to build.</div><div><br></div><div>3. I was talking situation when below defines are used with MFC headers.</div><div>GdiPlus needs additional new &amp; delete overloads to comply with this.</div><div><br></div><div># Ifdef _DEBUG&nbsp;</div><div># Define new DEBUG_NEW&nbsp;</div><div># Endif</div><div><br></div><div>5. Yes as you mentioned m_xtpBrushWindow gets created in just one place.</div><div>But, if there's previously created brush with same color then it looks for previously created cached brush,</div><div>and creates indirectly, actually it's technically not creating. m_xtpBrushTheme's cached brushes get created preceding creation of m_xtpBrushWindow, thus when creating m_xtpBrushWindow it looks for previously created and cached brushes.</div><div><br></div><div>In my use case, m_xtpBrushWindow looks for the same colored brush which was previously created and cached when creation of m_xtpBrushThemes' brushes was performed. It is expected to grab the brush according to the desired color, however unwanted color brush gets used when drawing some part of widget. This phenomena is described in my former report, of which the link is as below.</div><div><br></div><div><a href="http://forum.codejock.com/forum_posts.asp?TID=23406&amp;title=&#111;n-toolkit-v1801s-change-with-widgets-border" rel="nofollow">http://forum.codejock.com/forum_posts.asp?TID=23406&amp;title=on-toolkit-v1801s-change-with-widgets-border</a></div><div><br></div><div>Regards</div>]]>
   </description>
   <pubDate>Thu, 10 Aug 2017 22:49:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76024&amp;title=suspected-errors-of-version-18-0-1#76024</guid>
  </item> 
  <item>
   <title><![CDATA[Suspected Errors of Version 18.0.1 : Hi Pete,Thank you for reporting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76020&amp;title=suspected-errors-of-version-18-0-1#76020</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 23409<br /><strong>Posted:</strong> 10 August 2017 at 12:34am<br /><br /><div>Hi Pete,</div><div><br></div><div>Thank you for reporting all those issues, while some of them has been fixed and others are in progress, there are some that requires clarification. First of all, which compiler and configurations did you use? Did you use any additional code analysis tools or enabled any special all all VC compiler warnings?</div><div><br></div><div>Let me comment some of your findings:</div><div>1. warning C4819 in In Source/Controls/Combo/XTPFontComboBox.h Line 329 Col 20</div><div><span style="white-space:pre">	</span>This line contains a comment, and word "Item" starts at the specified location, however it does not contain any non-ANSI characters</div><div><br></div><div>2. Compile Error ...</div><div><span style="white-space:pre">	</span>We wouldn't be able to even build installers if the file did not compile, and the compilation of the build was tested in all common VC compilers, moreover no user has reported this compilation error. What kind of error did you get?</div><div><br></div><div>3. Debug Build GdiPlus ...</div><div><span style="white-space:pre">	</span>As mentioned above, the build was thoroughly tested and no user has reported this kind of issue too. Can you please explain what do you mean by missing operators and how it affects you compilation or linking?</div><div><br></div><div>5. Strange behavior with m_xtpBrushWindow ...</div><div><span style="white-space:pre">	</span>m_xtpBrushWindow gets created in just one place and it's created from COLORREF (m_xtpBrushWindow.CreateSolidBrush(m_clrTheme&#091;COLOR_WINDOW&#093;). Can you please explain what m_xtpBrushTheme has to do about it?</div><div><br></div><div>Regards,</div><div>&nbsp; Alexander</div>]]>
   </description>
   <pubDate>Thu, 10 Aug 2017 00:34:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76020&amp;title=suspected-errors-of-version-18-0-1#76020</guid>
  </item> 
  <item>
   <title><![CDATA[Suspected Errors of Version 18.0.1 : Thank you,OleksandrPlease figure...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76019&amp;title=suspected-errors-of-version-18-0-1#76019</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8983">jychoe</a><br /><strong>Subject:</strong> 23409<br /><strong>Posted:</strong> 09 August 2017 at 9:02pm<br /><br />Thank you,&nbsp;<span style="font-size: 12px; : rgb248, 248, 252;">Oleksandr</span><div><br></div><div>Please figure out if the other suspected items should be fixed.</div><div><br></div><div>Cheers</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 09 Aug 2017 21:02:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76019&amp;title=suspected-errors-of-version-18-0-1#76019</guid>
  </item> 
  <item>
   <title><![CDATA[Suspected Errors of Version 18.0.1 : Hello Pete Choe,Thank you for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76014&amp;title=suspected-errors-of-version-18-0-1#76014</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23409<br /><strong>Posted:</strong> 09 August 2017 at 8:56am<br /><br /><div>Hello Pete Choe,</div><div><br>Thank you for information!<br><br></div><div>Item <b>4</b> we have already fixed (<a href="http://forum.codejock.com/forum_posts.asp?TID=23410" rel="nofollow">see this topic</a>).<br>Also I have fixed item <b>6.3</b><br>About other - we need more time to investigation.<br><br>Regards,<br>&nbsp;Oleksandr Lebed</div>]]>
   </description>
   <pubDate>Wed, 09 Aug 2017 08:56:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76014&amp;title=suspected-errors-of-version-18-0-1#76014</guid>
  </item> 
  <item>
   <title><![CDATA[Suspected Errors of Version 18.0.1 : Hi I would like to report some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76009&amp;title=suspected-errors-of-version-18-0-1#76009</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8983">jychoe</a><br /><strong>Subject:</strong> 23409<br /><strong>Posted:</strong> 09 August 2017 at 2:54am<br /><br />Hi I would like to report some of seemingly defects that are present in version 18.01.<div><br></div><div><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">1.</font> warning C4819</b><br></font></font><font size="-1"><font face="맑은 고딕"><font size="-1"><font face="맑은 고딕"><font size="-1"><font face="맑은 고딕"><font size="-1"><font face="맑은 고딕">&nbsp;<font color="#0000cc"><b>1.1</b></font><b>)</b> In Source/Common/XTPEnableAdvancedWarnings.h Line 132                    Col 53<br></font></font></font></font></font></font>&nbsp;</font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">1.</font></b></span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">2</font>)</b> In Source/Common/XTPVersion.h Line 61 Col 43</span></div><div><font size="-1"><font face="맑은 고딕">&nbsp;</font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">1.</font></b></span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">3</font>)</b> In Source/Controls/Combo/XTPFontComboBox.h Line 329 Col 20</span></div><div><font size="-1"><font face="맑은 고딕">&nbsp;</font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">1.</font></b></span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">4</font>)</b> In Source/FlowGraph/XTPFlowGraphNodeCustom.h Line 85 Col 56</span></div><div><font size="-1"><font face="맑은 고딕"><br></font></font></div><div><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">2.</font> Compile Error</b><br>&nbsp; In Source/CommandBars/XTPPaintManager.h Line 1454<br>&nbsp; &nbsp; Below members are omitted.<br>        <font face="C&#111;nsolas">&nbsp;&nbsp;&nbsp; CXTPFont m_xtpFontRegular;<br>          &nbsp;&nbsp;&nbsp; CXTPFont m_xtpFontRegularBold;<br>          &nbsp;&nbsp;&nbsp; CXTPFont m_xtpFontVert;<br>          &nbsp;&nbsp;&nbsp; CXTPFont m_xtpFontVertBold;</font></font></font></div><div><font size="-1"><font face="맑은 고딕"><font face="C&#111;nsolas"><br></font></font></font></div><div><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">3. </font>Debug Build GdiPlus</b><br></font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">3.1)</font></b> In Source/GraphicLibrary/GdiPlus/GdiPlusBase.h</span><font size="-1"><font face="맑은 고딕"><br></font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">3.</font></b></span><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">2)</font></b> When using static linking<br>&nbsp; &nbsp;debug new &amp; delete for&nbsp;</font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;">GdiPlus</span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;">&nbsp;</span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;">are also missing.</span></div><div><font size="-1"><font face="맑은 고딕">        <font face="C&#111;nsolas">&nbsp;&nbsp;&nbsp; void* (operator new)(size_t nSize,          LPCSTR /*lpszFileName*/, int /*nLine*/)<br>          &nbsp;&nbsp;&nbsp; {<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return DllExports::GdipAlloc(nSize);<br>          &nbsp;&nbsp;&nbsp; }<br>          &nbsp;&nbsp;&nbsp; void operator delete(void* p, LPCSTR /*lpszFileName*/, int          /*nLine*/)<br>          &nbsp;&nbsp;&nbsp; {<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DllExports::GdipFree(p);<br>          &nbsp;&nbsp;&nbsp; }</font><br></font></font></div><div><font size="-1"><font face="맑은 고딕"><br>        <font color="#0000cc" style="font-weight: bold;">4. </font><font color="#009900">(fixed)</font> <b>CXTPSystemVersion::GetComCtlVersion() Error</b><br><br>        </font></font></div><div><font size="-1"><font face="맑은 고딕">&nbsp; &nbsp; &nbsp;dwVersion&nbsp;</font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;">conditional</span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;">&nbsp;</span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;">statement seems to have error.</span></div><div><font size="-1"><font face="맑은 고딕"><br>        &nbsp;&nbsp;<font face="C&#111;nsolas">&nbsp; DWORD          CXTPSystemVersion::GetComCtlVersion() const<br>          &nbsp;&nbsp;&nbsp; {<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static DWORD dwVersion = 0;<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><i>if (0<font color="#990000"> != </font>dwVersion)</i>&nbsp; -&gt; think this should be <i>if (0 <font color="#009900">==</font> dwVersion)</i></b><br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>          &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dwVersion =          CXTPModuleHandle(_T("comctl32.dll")).GetVersion();<br>          <br>          &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (0 == dwVersion)<br>          &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; dwVersion = MAKELONG(0, 4);&nbsp;&nbsp; // Old ComCtl32          had version 4.0<br>          &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; }<br>          <br>          &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; return dwVersion;<br>          &nbsp;&nbsp;&nbsp; }</font></font></font></div><div><font size="-1"><font face="맑은 고딕"><font face="C&#111;nsolas"><br></font></font></font></div><div><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">5.</font>&nbsp;</b></font></font><b style="font-family: &quot;맑은 고딕&quot;; font-size: small;">Strange</b><b style="font-family: &quot;맑은 고딕&quot;; font-size: small;">&nbsp;behavior with m_xtpBrushWindow</b></div><div><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">5.1)</font></b> when m_xtpBrushWindow uses cached brush that was formerly created from m_xtpBrushTheme&nbsp;</font></font></div><div><font size="-1"><font face="맑은 고딕">(color and type are same)</font></font></div><div><font size="-1"><font face="맑은 고딕">&nbsp;&nbsp;<br></font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">5.</font></b></span><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">2)</font></b>&nbsp;</font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;">For multi line edit control, whose edit region is set from application, or IP address edit control, white color border is being drawn in editing region instead of the color that was set as skin's COLOR_WINDOW.</span></div><div><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><br></span></div><div><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">5.</font></b></span><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">3)</font></b> when m_xtpBrushWindow is not a cached brush, but additionally created HBRUSH, then it displays as expected.</span></div><div><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><br></span></div><div><font size="-1"><font face="맑은 고딕"><br>        <b><font color="#0000cc">6.</font> Skin doesn't get reflected in some cases, these cases were actually normally working cases with former version.</b><br><b><font color="#0000cc">6.1) </font></b>LoadSkin succeeds but, in some Windows 7 PC set skin doesn't get reflected.<br></font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">6.</font></b></span><font size="-1"><font face="맑은 고딕"><b><font color="#0000cc">2)</font></b> This gets fixed if USER32.dll is added as ExcludeModule in CXTPSkinManagerApiHook::CXTPSkinManagerApiHook()</font><font face="C&#111;nsolas">&nbsp;as below.</font></font></div><div><font size="-1"><font face="맑은 고딕"><font face="C&#111;nsolas">&nbsp; &nbsp; ExcludeModule(_T("SHLWAPI.DLL"),          TRUE);<br>          &nbsp;&nbsp;&nbsp; ExcludeModule(_T("COMCTL32.DLL"), TRUE);<br>          &nbsp;&nbsp;&nbsp; ExcludeModule(_T("KERNEL32.DLL"), FALSE);<br>          &nbsp;&nbsp;&nbsp; <b><font color="#006600">ExcludeModule(_T("USER32.DLL"), FALSE); ///&lt; Here.</font></b><br>          &nbsp;&nbsp;&nbsp; ExcludeModule(_T("GDI32.DLL"), FALSE);<br>          &nbsp;&nbsp;&nbsp; ExcludeModule(_T("WININET.DLL"), FALSE);<br>          &nbsp;&nbsp;&nbsp; ExcludeModule(_T("MSCTF.DLL"), FALSE);<br>          &nbsp;&nbsp;&nbsp; ExcludeModule(_T("ACLAYERS.DLL"), FALSE);<br>        </font><br></font></font><span style="font-family: &quot;맑은 고딕&quot;; font-size: small;"><b><font color="#0000cc">6.</font></b></span><font size="-1"><font face="맑은 고딕"><b style="color: rgb0, 0, 204;">3) </b><font color="#009900">(fixed)</font> In CXTPSkinManagerApiFunction::ReplaceInOneModule(),&nbsp;</font></font>even when&nbsp;<font size="-1"><font face="맑은 고딕"><font size="-1"><font face="맑은 고딕">bReplaced</font></font>&nbsp;is true,&nbsp;</font></font><font size="-1"><font face="맑은 고딕"><font size="-1"><font face="맑은 고딕">bAtLeastOneReplaced should be</font></font>&nbsp;TRUE.<br>        <br>        &nbsp;&nbsp;<font face="C&#111;nsolas">&nbsp; if (bFound)<br>          &nbsp;&nbsp;&nbsp; {<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bAtLeastOneReplaced = TRUE;<br>          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>          &nbsp;&nbsp;&nbsp; }<br>          <b>&nbsp;&nbsp;&nbsp; <font color="#009900">else if (bReplaced)<br>&nbsp; &nbsp; {</font></b><font color="#009900"><b><br>          </b><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bAtLeastOneReplaced = TRUE;</b><b><br>          </b><b>&nbsp;&nbsp;&nbsp; }</b></font></font></font></font></div><div><font size="-1"><font face="맑은 고딕"><br></font></font></div><div><font size="-1"><font face="맑은 고딕">I wish this report leads to productive discussions, or solutions. Maybe someone is out there having the same trouble i just had.</font></font></div><div><br></div><div>Cheers.</div>]]>
   </description>
   <pubDate>Wed, 09 Aug 2017 02:54:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23409&amp;PID=76009&amp;title=suspected-errors-of-version-18-0-1#76009</guid>
  </item> 
 </channel>
</rss>