Recent

Author Topic: LCLType, FileUtils, TBitmap in console program  (Read 14292 times)

hinst

  • Sr. Member
  • ****
  • Posts: 303
Re: LCLType, FileUtils, TBitmap in console program
« Reply #15 on: April 30, 2014, 02:32:17 pm »
Yes I did

Wait, what?
Too late to escape fate

danny

  • New Member
  • *
  • Posts: 29
Re: LCLType, FileUtils, TBitmap in console program
« Reply #16 on: April 30, 2014, 03:04:07 pm »
I asked because I have to change the Bitmap format components for Agg and there are many lines of code.

hinst

  • Sr. Member
  • ****
  • Posts: 303
Re: LCLType, FileUtils, TBitmap in console program
« Reply #17 on: April 30, 2014, 03:16:59 pm »
I of course can not guarantee that this library fits your needs because I do not know specific requirements for your application. It was just a suggestion. You probably should consider it carefully before rewriting your code

I know for sure that this library has problems with drawing non-latin characters, so if u need it, u will have to patch it urself
Too late to escape fate

danny

  • New Member
  • *
  • Posts: 29
Re: LCLType, FileUtils, TBitmap in console program
« Reply #18 on: April 30, 2014, 03:35:22 pm »
Thanks for the help.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: LCLType, FileUtils, TBitmap in console program
« Reply #19 on: April 30, 2014, 06:59:49 pm »
Quote
If I include the unit "Interfaces" in your project, it follows the same error.
The project does NOT need Interfaces unit and it has been compiled on Lazarus 1.2.0. If you don't want to upgrade, then I can't help.

danny

  • New Member
  • *
  • Posts: 29
Re: LCLType, FileUtils, TBitmap in console program
« Reply #20 on: April 30, 2014, 09:38:48 pm »
I'll update the Lazarus and test again. Thanks.

danny

  • New Member
  • *
  • Posts: 29
Re: LCLType, FileUtils, TBitmap in console program
« Reply #21 on: May 06, 2014, 10:05:00 pm »
Hello, I upgraded to version 1.2.2 and recompiled with LCLBase dependence, but clear the error below:

/ usr/share/lazarus/1.2.2/lcl/units/i386-linux/wsimglist.o: in function `REGISTERCUSTOMIMAGELIST ':

This function is the interface unit, how to solve?
If you compile with LCL is ok.

danny

  • New Member
  • *
  • Posts: 29
Re: LCLType, FileUtils, TBitmap in console program
« Reply #22 on: May 07, 2014, 08:45:03 pm »
I managed to run successfully.

The problem was that the unit TImage ExtCtrls.

I replaced by TLazIntfImage (IntfGraphics unit) and ran smoothly in console mode.

 

TinyPortal © 2005-2018