I create ProgressBar in Delphi. I launch the program and the error takes off. Here is a screenshot:

    2 answers 2

    And here ProgressBar ? Its class lies in the module ComCtrls.dcu .

     Unit ExtDlgs was compiled with a different version of Buttons. TSpeedButton 

    This error indicates that there are problems in the ExtDlgs.dcu module. It is compiled using the TSpeedButton class which is different from what is in the Buttons.dcu module. Most likely in the IDE were installed incompatible components with Delphi7. Remove from the project ExtDlgs , and those components that are associated with it.

      If the progress bar is standard, then you need a ComCtrls module. Maybe then the compiler cannot find it. Or the module was connected by you yourself (I, as a rule, had a similar problem because of this). I advise you stupidly throw the component on the form and, at once, compile it, in theory, it should work.

      • It is standard. At startup, an error occurs, and points to ComCtrls. - delphikettle
      • I also thought that I could not find it, but I already looked for it myself — I found it. Most likely the compiler itself is defective, I’ll install another one better, I have another one. - delphikettle
      • Defective compiler ... Thank you, laughed. - KiTE