it's me again
I have an little Problem. i have to catch errors from an funktion.
Sound simple but isnt it as it seems to me.
I'm using the freeimage libary to open CMYK TIFF files. It works fine if the files i want to open are for shure CMYK files but if not the Programm runs in an error
"User Breakpoint called from code at 0x7789180c"
So how can i catch this error and tell the User that hi had chosen an wrong file format.
My first thought was an try catch block, but to catch something i have to throw it but cause it isn't my own function i coulndt throw anything.
Hope for your help