Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxtools.Fll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00173768
Message ID:
00174176
Vues:
32
>>>I am capturing a screen from FoxPro. During the process I call the GetDIBits API call that takes the screen width * the screen Hieght * 3 which most of the time it gives me a string over 900,000 Charaters to pass to FoxTools.
>>>
>>Hi Chuck,
>>
>>Why are you multplying it by 3? Been my experience that 1 scan line = 1 pixel (or at least it does in Win32).
>
>It is a 1 to 1 if you are doing a 256 color bitmap but if you want a 24 bit bitmap it is a 1 to 3. I wouldn't mind a 256 or a 16 color bitmap, but the only example I had to go off of was 24 bit. I tried the 256 and 16 but it didn't work. It turned out off center and in monocrome. If you have any ideals on how to get it to work in 256 or 16 colors I would be glad to listen.

Hi again Charles,

One question about the error you mentioned in an earlier post. Is this the error you get when you do your CallFN().
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform