<?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 : StylerBrowser sample error!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : StylerBrowser sample error!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 08:02:15 +0000</pubDate>
  <lastBuildDate>Thu, 17 Jul 2008 23:01:58 +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=11356</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[StylerBrowser sample error! : thank you for your answer! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38528&amp;title=stylerbrowser-sample-error#38528</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4273">littleameng</a><br /><strong>Subject:</strong> 11356<br /><strong>Posted:</strong> 17 July 2008 at 11:01pm<br /><br />thank you for your answer!]]>
   </description>
   <pubDate>Thu, 17 Jul 2008 23:01:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38528&amp;title=stylerbrowser-sample-error#38528</guid>
  </item> 
  <item>
   <title><![CDATA[StylerBrowser sample error! : Hello,  Thanks, agree :-(  Sample&amp;#039;s...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38514&amp;title=stylerbrowser-sample-error#38514</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11356<br /><strong>Posted:</strong> 17 July 2008 at 12:29pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Thanks, agree :-( </DIV><DIV>Sample's sources assumed length of ansi string is same as length of unicode. not for MBCS locale.</DIV><DIV>&nbsp;</DIV><DIV>Please change code in CSourceCtrl::Refresh</DIV><DIV>&nbsp;</DIV><DIV>replace</DIV><DIV>&nbsp;int nLength = SysStringLen(bstrHTMLText);</DIV><DIV>&nbsp;&nbsp;LPTSTR psz = new TCHAR&#091;nLength + 1&#093;;<BR>&nbsp;&nbsp;lstrcpy(psz, OLE2T(bstrHTMLText));<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;SetTextFormat(psz);</DIV><DIV>&nbsp;</DIV><DIV>to</DIV><DIV>&nbsp;</DIV>&nbsp;&nbsp;CString str(bstrHTMLText);<BR>&nbsp;&nbsp;SetTextFormat((LPTSTR)(LPCTSTR)str);<BR><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 17 Jul 2008 12:29:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38514&amp;title=stylerbrowser-sample-error#38514</guid>
  </item> 
  <item>
   <title><![CDATA[StylerBrowser sample error! : the error message:   ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38475&amp;title=stylerbrowser-sample-error#38475</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4273">littleameng</a><br /><strong>Subject:</strong> 11356<br /><strong>Posted:</strong> 16 July 2008 at 10:50pm<br /><br />the error message:<DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20080716_224948_aaa.jpg" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 16 Jul 2008 22:50:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38475&amp;title=stylerbrowser-sample-error#38475</guid>
  </item> 
  <item>
   <title><![CDATA[StylerBrowser sample error! : What error ? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38028&amp;title=stylerbrowser-sample-error#38028</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11356<br /><strong>Posted:</strong> 09 July 2008 at 4:38am<br /><br />What error ?]]>
   </description>
   <pubDate>Wed, 09 Jul 2008 04:38:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38028&amp;title=stylerbrowser-sample-error#38028</guid>
  </item> 
  <item>
   <title><![CDATA[StylerBrowser sample error! : After build the stylerbrowser.exe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38018&amp;title=stylerbrowser-sample-error#38018</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4273">littleameng</a><br /><strong>Subject:</strong> 11356<br /><strong>Posted:</strong> 09 July 2008 at 2:17am<br /><br />After build the stylerbrowser.exe I run it, then I put mouse on the source&nbsp;DockingPane ,&nbsp;then I will&nbsp;get&nbsp;an&nbsp;error!<DIV>&nbsp;</DIV><DIV>So I debug the stylerbrowser, and find that when the program run to SetTextFormat(psz) the error will happen.</DIV><DIV>&nbsp;</DIV><DIV>CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)</DIV><DIV>&nbsp; |</DIV><DIV>&nbsp; |</DIV><DIV>&nbsp; ___CSourceCtrl::Refresh(CHtmlView* pView, BOOL /*bForce*/)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-----CSourceCtrl::SetTextFormat(psz)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>how to solve&nbsp;the problem? thanks</DIV>]]>
   </description>
   <pubDate>Wed, 09 Jul 2008 02:17:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11356&amp;PID=38018&amp;title=stylerbrowser-sample-error#38018</guid>
  </item> 
 </channel>
</rss>