Handling Exceptions with BPW 7.0

Is there a way to Handle exceptions with Borland Pascal for Windows??

I tried the following code:

OldMode:=SetErrorMode(SEM_FAILCRITICALERRORS Or SEM_NOGPFAULTERRORBOX);

<< something with a possible GPF/Exception Error >>

 SetErrorMode(OldMode);

I get no errormessage anymore, but how to handle the exception?
Is there some kind of address like ExitProc?!?!?

Thanks,

Erwin Gravesteijn (Er...@PB-Systems.nl)