Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Few icons which crash ImageList
Message
From
21/06/2018 08:53:32
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
21/06/2018 08:16:21
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
MS SQL Server
Miscellaneous
Thread ID:
01660782
Message ID:
01660803
Views:
195
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform