Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: itsols on December 10, 2013, 01:29:12 pm

Title: Report error - [WARNING] SetAlphaBlend called without handle for frProgres
Post by: itsols on December 10, 2013, 01:29:12 pm
I am running my binary on a second PC. Both have the same OS (Ubuntu 12.04).

On the both PCs the code works fine. The report shows correctly.

But on the second PC the reports don't show when the binary is run. The binary runs but the reporting doesn't work. There are no errors that stop the program but I noticed the following error in the terminal.

Code: [Select]
[WARNING] SetAlphaBlend called without handle for frProgressForm(TfrProgressForm)
What can this be? Please advice.
Title: Re: Report error - [WARNING] SetAlphaBlend called without handle for frProgres
Post by: itsols on December 10, 2013, 04:49:22 pm
I think I narrowed down the problem.

The program only works correctly when run from the folder that has the source. The moment I put it in /usr/local/bin the reports don't show.

Any idea why?
Title: Re: Report error - [WARNING] SetAlphaBlend called without handle for frProgres
Post by: itsols on December 10, 2013, 06:20:47 pm
SOLVED

The solution was to copy the .lrf file into the executable folder (along with the binary of the code).

It works now - beautifully.
TinyPortal © 2005-2018