Home » Coding

Release vs. Debug Mode Strangeness in WTL

3 November 2007 No Comment

I was working on writing a Windows based application for work that was using WTL and DockingWindows and I was getting the strangest bug. When I used Visual Studio 2005 Express and compiled in Debug Mode, everything worked fine, but in Release Mode, one of the docking windows which was an “Owner Drawn” ListViewCtrl would never draw. The docking window container would appear, but the background would never fill and the list would certainly never show. Strangely, it ran just fine if it was compiled in VS 2005 Professional.

Share and Enjoy:
  • Print
  • Digg
  • Facebook
  • Google Bookmarks
  • Live
  • Slashdot
  • StumbleUpon
  • Technorati

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.