Hi I need to use SetErrorMode function to hide all error messages from user but i have no xperiences with it how to use tihis funct.? where I mean Just set it in the beginning of the code or what?
Thx
Raguru
Posted on 2001-08-28 15:00:34 by RAGuru
yes

but it dont catch all kind of errors... better add a SEH too

ancev
Posted on 2001-08-28 21:23:23 by ancev
Hi ancev
What you mean by SEH ?
Posted on 2001-08-30 14:02:19 by RAGuru
This may help a bit.
Posted on 2001-08-31 07:50:38 by forge
I am not so good to understand your code snipet you have attached but thanks anyway. If i would use SetErrorMode function insted could anyone give me a line of code with specific settings and position of this line in whole program ?

Thank you.
Posted on 2001-09-01 08:12:06 by RAGuru
RAGuru,

It is well explained in here:

here

You invoke SetErrorMode with parameter you will find in win32.hlp
function return 16 bit old error code which you save.
Then call whatewer will create your problem. Deside what you want to do.

Then invoke SetErrorMode again with saved error code.

This is all to it.
Posted on 2001-09-01 09:40:53 by forge
Thanks now it seams clear to me!:)
Posted on 2001-09-01 15:36:33 by RAGuru
No problem, happy to help.
Posted on 2001-09-01 19:58:18 by forge