Hi, I'm having a bit of trouble with progress bars.
I've made an app in visual C++ 2008 express which uses progress bars, and it compiles and runs fine on Windows 7, but when I try and run it on windows XP, the program exits as soon as I open it. I tried re-compiling the code on the Win XP computer, and the debugger gives me this:
When I take the progress bars out of the resource file, it compiles and runs fine.Code:The thread 'Win32 Thread' (0x250) has exited with code -1 (0xffffffff). The program ' Clock.exe: Native' has exited with code -1 (0xffffffff).
I have defined the progress bars in the resource file like this:
What could be wrong? How do I properly define progress bars?Code:CONTROL "", IDC_PROGRESS1, PROGRESS_CLASS, PBS_SMOOTH | PBS_VERTICAL, 25, 31, 25, 85 CONTROL "", IDC_PROGRESS2, PROGRESS_CLASS, PBS_SMOOTH, 142, 94, 88, 21