<?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 : [Solved] 13.4: Crash on drag&#039;n&#039;drop</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : [Solved] 13.4: Crash on drag&#039;n&#039;drop]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 04:59:37 +0000</pubDate>
  <lastBuildDate>Wed, 16 Jun 2010 13:51:20 +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=16792</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[[Solved] 13.4: Crash on drag&#039;n&#039;drop : Problem seems to be gone. Thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16792&amp;PID=58981&amp;title=solved-13-4-crash-on-dragndrop#58981</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16792<br /><strong>Posted:</strong> 16 June 2010 at 1:51pm<br /><br /><P>Problem seems to be gone. Thanks :)</P>]]>
   </description>
   <pubDate>Wed, 16 Jun 2010 13:51:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16792&amp;PID=58981&amp;title=solved-13-4-crash-on-dragndrop#58981</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] 13.4: Crash on drag&#039;n&#039;drop : Thanks, sending you fixed file...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16792&amp;PID=58933&amp;title=solved-13-4-crash-on-dragndrop#58933</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16792<br /><strong>Posted:</strong> 14 June 2010 at 7:39am<br /><br />Thanks, sending you fixed file in issuetrack to test.]]>
   </description>
   <pubDate>Mon, 14 Jun 2010 07:39:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16792&amp;PID=58933&amp;title=solved-13-4-crash-on-dragndrop#58933</guid>
  </item> 
  <item>
   <title><![CDATA[[Solved] 13.4: Crash on drag&#039;n&#039;drop : Windows 7 -x64 XTP 13.4 (Fixed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16792&amp;PID=58804&amp;title=solved-13-4-crash-on-dragndrop#58804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 16792<br /><strong>Posted:</strong> 05 June 2010 at 10:07pm<br /><br /><DIV>Windows 7 -x64</DIV><DIV>XTP 13.4 (Fixed in patched version. Thanks!)</DIV><DIV>&nbsp;</DIV><DIV>Prepare for the funniest bug you will ever see in ToolkitPro! Visual Studio 2010 is able to crash any CXTPReportControl-powered application, if you move your mouse in a certain way. It's hilarious!</DIV><DIV>&nbsp;</DIV><DIV><strong>Tools needed to reproduce crash bug:</strong></DIV><DIV>VS&nbsp;= Visual Studio 2010.</DIV><DIV>R1&nbsp;=&nbsp;Debugging instance of modified ReportSample.</DIV><DIV>R2&nbsp;= Modified ReportSample.</DIV><DIV>&nbsp;</DIV><DIV>Modify ReportSample in the following way:</DIV><DIV>ReportSampleView.cpp(315): <FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas><FONT color=#808080 size=2 face=C&#111;nsolas>wndReport</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.</FONT></FONT><FONT color=#880000 size=2 face=C&#111;nsolas><FONT color=#880000 size=2 face=C&#111;nsolas><FONT color=#880000 size=2 face=C&#111;nsolas>EnableDragDrop</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#a000a0 size=2 face=C&#111;nsolas><FONT color=#a000a0 size=2 face=C&#111;nsolas><FONT color=#a000a0 size=2 face=C&#111;nsolas>_T</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"ReportSampleView"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>), </FONT></FONT><FONT color=#a000a0 size=2 face=C&#111;nsolas><FONT color=#a000a0 size=2 face=C&#111;nsolas><FONT color=#a000a0 size=2 face=C&#111;nsolas>xtpReportAllowDragCopy</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>);</FONT></FONT></DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></FONT></FONT>&nbsp;</DIV><DIV>Start debugging R1 (F5), and start R2 (doesn't need to be debugged). Make sure all three applications are visible and accessible on the screen. Now, drag (<strong>don't drop</strong>) an item <strong>from R1 to VS</strong> until the cursor turns into a plus-sign. Keep dragging the item <strong>to R2 and drop</strong> it! Boom!</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><img src="http://forum.codejock.com/uploads/20100605_213810_Untitled.png" border="0"></FONT></FONT></DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT face="Verdana, Arial, Helvetica, sans-serif">The ASSERT seems unharmful, but R1 is a ticking bomb. If it doesn't crash immediately, it probably crashes in AfxWinTerm() upon termination. Often it produces an access violation in a second or so:</FONT></FONT></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/20100605_215424_Untitled2.png" border="0"></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I think this is the same crash bug I've been hunting in the past (see <a href="http://forum.codejock.com/forum_posts.asp?TID=14552" target="_blank">http://forum.codejock.com/forum_posts.asp?TID=14552</A>&nbsp;), so perhaps this one is also present in v13.x. I've seen the exact same behavior when dragging/dropping inside my own application, so don't be fooled that you need VS 2010 floating in the background to get it to happen. It's just&nbsp;my bullet-proof way of reproducing it :)</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>My guess is that you're missing an AddRef() somewhere...</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Hope you can fix this very soon!<FONT face=C&#111;nsolas><FONT face=C&#111;nsolas></DIV></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Sat, 05 Jun 2010 22:07:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16792&amp;PID=58804&amp;title=solved-13-4-crash-on-dragndrop#58804</guid>
  </item> 
 </channel>
</rss>