EXCEPTION DEAL
Posted: Fri Mar 16, 2012 11:52 am
hello everyone, there are some bars lining the errors such as hb_xgrab requested to allocate zero bytes. among others, I tried to use the try catch and does not always work.
the executable stops working. in C + + there is a throw to handle exceptions,
because in my application to each sale item to read a certain amount of text file to add the item sold and rewrite the updated value in text file. More often nothing of the error hb_xgrab requested to allocate zero bytes and the application closes and the User loses all sales in progress.
there is a way to treat it, to block these errors?
the executable stops working. in C + + there is a throw to handle exceptions,
because in my application to each sale item to read a certain amount of text file to add the item sold and rewrite the updated value in text file. More often nothing of the error hb_xgrab requested to allocate zero bytes and the application closes and the User loses all sales in progress.
there is a way to treat it, to block these errors?