- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page