IMiameLib Interface

The IMiameLib interface is the secondary interface supported by the A-Shell Application object, and provides access to a subset of the MIAME function library. The Machine Independent Alpha Micro Environment function library is a set of  C functions which emulate functions and monitor calls available within AlphaC running under AMOS, and which provide AMOS-like services and conversion routines. A-Shell itself is based around the MIAME function library, which provides for easy portability, and use of the IMiameLib interface allows Visual BASIC XCALL routines to provide some more traditional AMOS-like functionality.

The following Visual BASIC sample code shows how the IMiameLib interface can be accessed and used:

Dim oApplication as ASHW32Lib.Application
Dim oMiameLib as ASHW32Lib.IMiameLib

Set oApplication = New ASHW32Lib.Application
Set oMiameLib = oApplication

oApplication.Activate ””
oMiameLib.wputs “Hello, World” & vbCrLf

The sections in this chapter document the functions, methods, and properties available on the IMiameLib interface.

Subtopics