Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Few icons which crash ImageList
Message
De
21/06/2018 08:53:32
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
21/06/2018 08:16:21
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Divers
Thread ID:
01660782
Message ID:
01660803
Vues:
199
Analyzing the code, found that the error happens on LoadPicture(), as it was its result that was passed to ImageList as a parameter. Ran the same test, with also checking for LoadPicture on all icons in the project. Now it's getting weird - in the current project many more icons now fail the loadpicture test. In the previous version of it, just a few (well, those were from the old batch of icons). For the _screen.icon test, it's only a few, but... the one I uploaded here is 16x17. Reduced that to 16x16 (using Gimp) and guess what, it's now passing the _screen.icon test, but still fails the loadpicture().

What's the API behind loadpicture()? May I be having a wrong version of gdi+? What's the proper version?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform