| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Indicates the creation mode of the xHarbour virtual machine.
HB_VMMode() --> nCreationMode
The function returns a numeric value.
Function HB_VMMode() exists for informational purposes only. It returns a numeric value indicating the creation mode of xHarbour's virtual machine. The following return values are possible:
Modes of the Virtual Machine
| Value | Description |
|---|---|
| 0 *) | Regular creation |
| 1 | Optimized for console applications |
| 2 | Optimized for GUI applications |
| *) default | |
| See also: | HB_BuildInfo(), HB_Compiler(), Version() |
| Category: | Environment functions , xHarbour extensions |
| Source: | vm\hvm.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com