Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » [BUG] TheIDE startup JPEG error
Re: [BUG] TheIDE startup JPEG error [message #25832 is a reply to message #25826] Sun, 14 March 2010 19:04 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, this is really weird, as:

bool PNGRaster::Init()
{
	try {
		if(!(data->png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING,
		                                            NULL, png_user_error_fn, png_user_warning_fn)))
			return false;
		if(!(data->info_ptr = png_create_info_struct(data->png_ptr)))
			return false;
		png_set_read_fn(data->png_ptr, &GetStream(), png_read_stream);
		png_read_info(data->png_ptr, data->info_ptr); <<--- line 113
		return true;
	}
	catch(PngErrorException) {
		return false;
	}
}


So the last call from U++ is in try block, with catch provided....

So either I do not understand C++ exceptions well, or something is wrong with compiler? Perhaps it is not possible to catch exception over C code? (That would be pity, because I have switched from setjmp as it does not work in Win64...)

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem installing theIDE 2224
Next Topic: [MINGW] WIN32 compile errors
Goto Forum:
  


Current Time: Sat Apr 20 00:02:17 CEST 2024

Total time taken to generate the page: 0.05175 seconds