Next Previous Up Top Contents Index

8.5 Error handling

check-ole-status

Function

Summary

Calls ole-error to signal an error condition if a status value indicates an error has occurred.

Signature

check-ole-status status context instance #rest args => ()

Arguments

status
An instance of <SCODE>. Required.

context
An instance of false-or(<string>). Default value: #f.

instance
An instance of <interface>.

args
An instance of <sequence>. Default value: #().

Values

None.

Library

COM

Module

COM

Description

Calls ole-error to signal an error condition, if status indicates an error. This function returns no values.

In some contexts, the support library handles such errors by reporting status back to the container application. This is done using the macro

  returning-error-status ?body end

The returning-error-status macro returns $S-OK if all of the body forms were successfully executed, or the error status code if an <ole-error> was signalled during execution of body, a Dylan bodybnf.

The arguments for this function as the same as those for ole-error.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index