2.8: TQGTHI

TOCGroup 1TQGTPITQGTEDGroup 2A-ZGroup 1

GET-HASP-INFO

Use TQGTHI to get the HASP dongle type and id.

Added for ChemApp version 4.1.4

Synopsis

FORTRAN: CALL TQGTHI(HASPT,HASPID,NOERR)

C: tqgthi(haspt,&haspid,&noerr);

Pascal: tqgthi(haspt,haspid,noerr);

Basic: Call tqgthi(haspt,haspid,noerr)


Name Type Value set on call or returned
HASPT CHARACTER Returns the HASP dongle type
HASPID INTEGER Returns the HASP dongle id
NOERR INTEGER Returns an error number

If a version of ChemApp is used that requires a dongle (HASP hardware key), the dongle contains the necessary licensing information. In this case, TQGTHI can be used to retrieve information on the dongle type and the dongle id. This information, together with the information retrieved by TQGTED, TQGTPI, TQGTNM,and TQGTID is necessary if GTT-Technologies is contacted regarding an update of the license.

In case the ChemApp version used does not require a dongle, 0 is returned in HASPID, and an empty character string in HASPT.

See also

TQGTED

Examples

See TQGTID


ChemApp Programmer's Manual, Edition 3.6© GTT-Technologies, 2003