Code::Blocks Forums

User forums => Help => Topic started by: Stucov on October 01, 2006, 07:19:18 pm

Title: Resource Compiling Problem (or so I think)
Post by: Stucov on October 01, 2006, 07:19:18 pm
Ok,
so I started a new project and want to add a progress bar (I am using ResEd.exe) and it works, but once I add the progress bar and compile the project (which is a dialog form with a progress bar) I get this:
Progress Terminated with status 1(0 minutes, 0 seconds). This happens only if you add the progress bar.

This is the progress bar:
CONTROL "Progress1",IDC_PGB1,"msctls_progress32",0x50000001,32,38,176,11

How can I resolve this?
Title: Re: Resource Compiling Problem (or so I think)
Post by: Belgabor on October 02, 2006, 05:36:54 am
I think you need to initialize the common controls dll first. See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/common/functions/initcommoncontrolsex.asp