Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. David28

    How can I implement an efficient ressource management ?

    Hello, In order to make special effects on bitmaps (bluebox, changing the brightness etc.) I programmed an abstract class which I called TFilter. TFilter has follwing main attributes: SourceBitmap //The bitmap which should be modified. Bitmap //The target bitmap. This...
  2. David28

    Read pixels from a bitmap

    If you work with Bitmaps you should use the 'Scanline- Method ' of the TBimap- class because its much faster than TCanvas.Pixels. The following example is taken from the "Delphi 4 Kochbuch" (Delphi 4 Cookbook). I don't know if there exists an English translation. In Germany we the "Delphi 7...
  3. David28

    I can't access on variable 'Self' because....

    I have found the error. It was an aftereffect of an overflow-error. Thank you very much for trying to help me.
  4. David28

    I can't access on variable 'Self' because....

    Hello, In my Programm I get an EAcces-Violation Exception. It occurs when I use the 'Scanline' method of a TBitmap - Object which I named FBitmap. If I verify FBitmap with the debugger I get the message: "Auf Variable 'Self' kann wegen Optimierung nicht zugegriffen werden" "I can't...
  5. David28

    What means "<Record> need finalization not allowed in.."

    I have found the error, I didn't know that tehe string Filename in TPictureStreamItem has to be limited (string[255] for example). Thank you all who read this and perhaps thought about.
  6. David28

    What means "<Record> need finalization not allowed in.."

    I get the compiler-error : TPicturStreamItem needs finalization not - allowed in filetype. What does this mean ? It happens when I try to declare a file of .. type see code below: procedure TPictureFilemanager.SaveToFile(FileName:string); var Entry : TPictureStreamItem; PEntry ...
  7. David28

    How can I dereference a TBitmap object ?

    Thank you all very much. I have only Delphi 4 so the TObjectList Object was unknown to me. I will try to get a more modern Delphi version.
  8. David28

    How can I dereference a TBitmap object ?

    I write a class named TPictureSet which administrates a list of TBitmap-objects.(Fitem).. But at adding a TBitmap-Object to the list this problem occur : I can’t store the TBitmap-Object‘s data into the new list item. function TPictureSet.add(Picture : TBitmap):boolean; begin New(PItem)...

Part and Inventory Search

Back
Top