Page 1 of 1

Unhandled exception loading an image from location (C++)

Posted: 2007-08-31T06:36:35-07:00
by Citizen Erased
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:

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.
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.

Re: Unhandled exception loading an image from location (C++)

Posted: 2007-09-03T00:52:01-07:00
by Citizen Erased
Anyone have even a vague idea? It'd really help me.