Error while loading Delphi project

Hi,

 Im using Final Builder 6 . I get an error  "Unable to load Icon(Probabaly corrupt). Pixel Format not Valid for Icons or cursors" while trying to load a Delphi 2007 project. Im working on windows Xp and the icon file information is in the delphi resource files. How can I solve tis problem.

 

Sruthi

Which build of FinalBuilder 6 are you using? If you send the .res file for the project to support we can take a look at it here and see if we can reproduce. I have seen those errors before but it’s been a while since then.

I get this message in a pop-up when I select an .ICO file containing a 256x256 icon. It seems that the ICO filename is correctly placed in the RC file by FB, and Delphi XE can place this format of icon into the executable (I think earlier versions could not). But FB (700-898) cannot display it in the Delphi project action.

Correct, the Delphi TImage class (and supporting classes) cannot display some icon types (I reported this to Embarcadeo, nothing was done), so in FB7 we handle the exception and just don’t show it. We don’t need to load it to generate the resource file.