ent_create bad format error-crash

Posted By: TSG_Torsten

ent_create bad format error-crash - 02/05/11 16:54

Hi,

I'm using ent_create to load dynamically processed images into the engine (in fact, I extract the EXIF-previews).

Sometimes, the format is invalid. ent_create then throws the message "BAD FORMAT" - and the engine crashs. How can I prevent the engine from crashing and just get an empty pointer or something like this?

Regards
TSGames
Posted By: WretchedSid

Re: ent_create bad format error-crash - 02/05/11 17:00

Have you tried to set warn_level to 0 before calling ent_create?
Posted By: TSG_Torsten

Re: ent_create bad format error-crash - 02/05/11 18:38

No, but i tried it now and it doesn't work. (Same error and crash)

Thanks & Regards
TSGames
© 2024 lite-C Forums