Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with getpicturevalfromhbitmap in VFP Paint
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Problem with getpicturevalfromhbitmap in VFP Paint
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01390924
Message ID:
01390924
Views:
180
Cesar - I am finding that the Getpicturevalfromhbitmap method call in your VFPPaint application has problems when the images selected for viewing are of a certain size. Selecting JPGs 900k+ in size results in the error shown below. Are you aware of a image size limitation?
XFCBITMAP.GETPICTUREVALFROMHBITMAP  

AERROR() contents
2059
Unhandled Structured Exception.
ErrorNo: 1903
Message: String is too long to fit.
UserValue: 
Details: 
Procedure: getpicturevalfromhbitmap

PROCEDURE VFPPAINT.INIT 
PROCEDURE VFPPAINT.UPDATECANVAS 
PROCEDURE XFCBITMAP.GETPICTUREVALFROMHBITMAP SYSTEM.DRAWING.FXP
(XFCBITMAP.GETPICTUREVALFROMHBITMAP)
Next
Reply
Map
View

Click here to load this message in the networking platform