Mint NextMove PCI Manual de usuario Pagina 17

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 70
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 16
Using the MintMT ActiveX Control 4-7
All error codes are defined in the format erXXXX in the header file HOST_DEF.BAS that can be included
in Visual Basic projects.
A similar example in Borland Delphi would be:
// Try function call
try
MintController.setDriveEnable ( 0, true );
// Catch any errors
except
On E: Exception do
MessageBox ( 0, pchar(E.Message), 'MintMT ActiveX Call Failed', 0 );
end;
MintController is the name of the MintMT ActiveX control in the project.
To prevent Delphi from halting program execution in the event of an exception the ‘Stop on Delphi
Exceptions’ check box must be cleared. This is found in the ‘Debugger Options’ from the ‘Tools’ menu.
All error codes are defined in the format erXXXX in the header file HOST_DEF.PAS that can be included
in Borland Delphi projects.
A complete list of error codes can be found in section 7.1.
Note: For more details on structured error handling see the manufacturer’s documentation for the
development environment being used.
Vista de pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 69 70

Comentarios a estos manuales

Sin comentarios