I'm using an ActiveX control that 'throws OLE Dispatch Exceptions'. Is there any way of 'catching' these in Fortran? The code examples that come with the control show its use from Visual Basic as simply
On Error GoTo Handle_Errors
where Handle_Errors is a Sub, so I'm hoping it should be possible. I'm guessing that I need something like an IID__ and an event interface that I can use in DlgSetCtrlEventHandler. Anyone know what they are, or am I way off in my thinking?
Link Copied
In answer to my own question. Just tick the box 'Check for exception retun status' and the module wizard generates the routine that can be edited as required.
For more complete information about compiler optimizations, see our Optimization Notice.