i write like this,
try
{
int i = 5;
int j = i / 0;
}
catch (...)
{
qDebug("divided by zero.");
}
use qt in win32, but the catch can't catch the error, direct popup the microsoft's "sorry for inconvenice..." error box.
anyone can teach me a method to solve this.
can qt do it like mfc?
Bookmarks