Error Event
UP ]

 

Description

This event is fired when an error come out in one ActiveX instance.

Syntax

HCS121.Error (Number as Integer; var Description as String; sCode as Integer; const Source as String; const HelpFile as String; HelpContext as Integer; var CancelDisplay as Boolean)

The significants parameter are Description, CancelDisplay and sCode.

Description is an String containing the descriptive text of the error. CancelDisplay is a parameter passed by reference, in case you set it as True, the ActiveX code won’t show an informative dialog box about the error. sCode is an error code and its meaning is as follows:

Const Value Description
CTL_E_NODATAINFILE  $800A0105 Trying to read an empty s19 file.
CTL_E_TIMEOUT  $800A1004 Timeout in firmware writing or erasing operation.
CTL_E_BADTARGETFREQUENCY  $800A1003 Target frequency not configured yet.
CTL_E_NOSUCCESS  $800A1111 No success in general operation.
CTL_E_COMMUNICATIONERROR  $800A1000 Connection with POD interface lost.
CTL_E_FLASHWRITINGERROR  $800A100B Error in Flash writing.
CTL_E_BADADDRESSES $800A1001 Wrong addresses in method call.
 
 

If you have a question or suggestion please contact me. Updated: 09.08.2003
Copyright (c) 2003-2004 J.Gorgas. All rights reserved. All trademarks mentioned are the property of their respective owners.