Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Coder's Corner Lounge (http://www.programmingforums.org/forum11.html)
-   -   Common Control Update? (http://www.programmingforums.org/showthread.php?t=11570)

Baphomet Oct 13th, 2006 4:46 PM

Common Control Update?
 
About two days ago at work, one of my employees informed me his program would not load. Usually when this happens I'd see an error message or something. But not a single window appeared on the screen to inform me of error information. Just a single "Critical Stop" error beep sounded (defined by MB_ICONERROR in the Windows.h header file). Office computers were recently updated, so I thought perhaps the update had something to do with it. One room had not received the updates yet. I tried running the program there. It worked... Eventually I discovered that if I disabled Windows XP themes when compiling, the program ran fine. What gives? Has there been an update on Windows common controls (aka Windows XP themes)?

lectricpharaoh Oct 13th, 2006 7:44 PM

I know that you need to flag the app as supporting WinXP themes if you want all the XP-specific eye candy, but apps that don't simply display without the extra fluff. I don't know why it would fail. Am I correct in assuming it's just this app that fails, and everything else works okay?

Baphomet Oct 14th, 2006 4:31 PM

Initially, I thought this as well. But just about every single program we've made with xp themes doesn't work. With exception of one. I think I may know why. We didn't bother to include the commctrl library, because our IDE is suppose to include it by default. My guess is if we go back and add these libraries manually, it should work fine. But... who knows. The real kicker is: They work fine with Vista. Just not with the new XP update.


All times are GMT -5. The time now is 1:05 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC