>>DECLARE INTEGER SetErrorMode IN Win32API;
>> INTEGER fuErrorMode
>>* 1 = SEM_FAILCRITICALERRORS
>>lnoldmode = SetErrorMode(1)
>
>Right here. You set the new mode and the API call returns the old mode.
>
>>* Code here, and when done...
>>= SetErrorMode(lnoldmode)
I think I follow. The same line that is saving off the old setting is also assigning a new setting. Sorry for being dense, but I've been treated the way a baby treats a diaper most all day today and haven't had much recovery time! :-)
Seriously though, thanks a bunch for the clarification. I hope to put this project to pasture now...
Thanks again,