EXE_GetMachine

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Exe (Executable info) >

EXE_GetMachine

 

Description

 

Returns the architecture type of an image file.

An image file can only be run on the specified computer or a system that emulates the specified computer.

 

Syntax

 

n = EXE_GetMachine(FileName)

 

Returns

 

Numeric

See Exe equates for possible values

 

Parameters

 

Name

Type

Optional

Meaning

FileName

String

No

Name of an exe or dll file

 

Remarks

 

Restrictions

 

See also

 

Examples