catching exceptions generated by ActiveX control I've drawn on screen
Posted on 1998-08-10
I have an activeX control I put on my main form (drawn on in delphi IDE). This happens to be the RealPlayer activex control, but that shouldn't be important to the question. Occasionally, the control generates an exception. I would like to use a Try/Except block to catch and handle or ignore the error. The problem is, since it isn't really code I'm executing that causes it, but something asynchronous happening in the control that causes it, I can't figure out where the Try/Except would go to catch this exception.