Recent

Author Topic: Problem with lazjpeg after upgrading from 9.25 to 9.27 [RESOLVED]  (Read 7083 times)

windy

  • Full Member
  • ***
  • Posts: 186
Hi
I have made a bit of a jump to the latest snapshot version from 9.25 to 9.27 :)

I was using lazjpeg
but that would not compile (i.e errors in lazpeg.pas)
so I removed it from my project
now, have a jpeg image in a timage is OK in the compiler (carbon)
but when I compiled my project, when a form was created at run time, there was an error with that jpeg image (a bitmap image is OK)
error is...
(timagename).picture.data    abstract method called
and the program crashes out

strangely If I create a new program, and have the problem timage's (jpeg images) on a form, and compile and run that program, there is no problems...
hoping someone can help me out!
Thanks!


« Last Edit: February 13, 2009, 07:54:34 pm by windy »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Problem with lazjpeg after upgrading from 9.25 to 9.27
« Reply #1 on: February 13, 2009, 11:39:21 am »
Try installing ImagesForLazarus package and put LazJPG in your uses clause.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Problem with lazjpeg after upgrading from 9.25 to 9.27
« Reply #2 on: February 13, 2009, 01:46:50 pm »
You should not use lazjpeg anymore, its functionality is now part of the LCL.

windy

  • Full Member
  • ***
  • Posts: 186
Re: Problem with lazjpeg after upgrading from 9.25 to 9.27
« Reply #3 on: February 13, 2009, 07:47:40 pm »
bingo
now it works  :D
I had missed a couple more places in the code to bracket out the lazpeg in the uses  :-X

great improvements in 9.27, good work guys!

 

TinyPortal © 2005-2018