Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A control derived from TCustomControl gets system Access Violation.

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
My custom control gets "Access violation at [some address] in VCL50.bpl. Read of address [FFFFF****]." whenever I try to load an image file from a file. I've tried resources, JPEGs, and bitmaps. I have zeroed the error down to the LoadFromFile or LoadFromResource[Name or ID] procedure. How do I get rid of the error?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top