Recent

Author Topic: Report error - [WARNING] SetAlphaBlend called without handle for frProgres  (Read 1712 times)

itsols

  • New Member
  • *
  • Posts: 27
    • Marha Online (Pvt) Ltd
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.
My favourites: PHP (LAMP), C/C++ (GCC), VB, Pascal and now Lazarus

itsols

  • New Member
  • *
  • Posts: 27
    • Marha Online (Pvt) Ltd
Re: Report error - [WARNING] SetAlphaBlend called without handle for frProgres
« Reply #1 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?
My favourites: PHP (LAMP), C/C++ (GCC), VB, Pascal and now Lazarus

itsols

  • New Member
  • *
  • Posts: 27
    • Marha Online (Pvt) Ltd
Re: Report error - [WARNING] SetAlphaBlend called without handle for frProgres
« Reply #2 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.
My favourites: PHP (LAMP), C/C++ (GCC), VB, Pascal and now Lazarus