On Fri, 17 Aug 2007 10:14:48 +0400
skywriter <[EMAIL PROTECTED]> wrote:

> > Please provide a complete example.
> >
> > Mattias
> >
> 
> Example in attachement. I cleared all binaries due to 40 KB limit of 
> mail list, so you have to make "Build All" before running.

Add before LoadFromFile:
    myPict.GetDescriptionFromDevice(0);

Reason:
TLazIntfImage needs the image format (bit depth, colors, ...) of the
target (your screen).


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to