Delphi FB compile differs to IDE compile - image transparency on buttons

Hi,

I have a project suite which I test in depth in the IDE, when satisfied run it through the FB build sequence incl. compile, version increase, installer creation, numerous automated tests etc. I recently noticed that my application GUI looks different when running from the FB compiled version: the button images lost transparency, depending on the VCL Style selected this can be very “ugly” - black image on black background. When I compile in the IDE, all looks fine, when I compile in FB, both 32bit and 64bit have the images issue (comparison attached).

Wondering where this can come from, I reloaded all project settings in the FB action “Project” -> “From Project File…”, just compiled, no change. I kept the compiler’s *.cfg file, yet cannot easily compare against what the IDE is >really< using on build - anyone got a hint? Or another idea what I might be missing? This way the build in FB is unusable for deploying to users.

Thanks in advance!
Matthias

__42036__0__good_bad_gui.png

My guess would be you are not specifying a manifest file in the delphi action. Have a l look at the Resource compiler tab on the delphi action. I would also recommend reading this blog post - https://www.finalbuilder.com/resources/blogs/postid/753/windows-manifest-files

Hi Vincent,
I have a manifest file in my project , though a minimal one, so that’s not it. But:

SOLVED. I had a very basic mistake in my FB configuration: reviewed the general Delphi compiler settings and the Delphi calls in my FB chain, and refreshed all compiler paths. Then made sure all global settings are checked to pick up latest settings from Delphi IDE and project to compile… and then it worked! I compared the compile logs and spotted that the vcl-styles-utils paths were not present, so was running on old IDE paths. This explains why compile was possible, but none of the automatic hooks were active, hence the application GUI looking odd.

Best regards
Matthias