Unhandled exception loading an image from location (C++)
Posted: 2007-08-31T06:36:35-07:00
Sorry to post a new thread so soon after my last. I'm trying to load a .PNG image using Image::Image(const string& file_location_or_URL) however when I do so I get an unhandled exception:
If I try one of the other constructors such as Image::Image() or Image::Image(Geometry(size_x, size_y), Color color), there is no problem. What is likely to be causing this? Thanks for the help.
Code: Select all
First-chance exception at 0x10023ec5 in Serial Cutter.exe: 0xC0000005: Access violation writing location 0x01788620.
Unhandled exception at 0x10023ec5 in Serial Cutter.exe: 0xC0000005: Access violation writing location 0x01788620.