ChangeLog
Reference
Dynamic Class Commands
Structure Definition Commands
BEGIN STRUCTURE
BEGIN UNION
MEMBER BOOL
MEMBER BYTE
MEMBER WORD
MEMBER WORDNET
MEMBER DWORD
MEMBER DWORDNET
MEMBER DWORD64
MEMBER DOUBLE
MEMBER FLOAT
MEMBER BINSTR
MEMBER SZSTR
MEMBER DYNSZ
MEMBER PXBASEVAR
MEMBER @
GWSTBACK
Class & Structure definition Aux. Commands
PROPERTY <name> IS MASK <mask> OF <var> [READONLY]
PROPERTY <name> IS CONSTANT <val>
Classes
gwst()
TXbClass()
TXbClass():New( cClsName ) -> Self
TXbClass():Create() -> Self
TXbClass():Destroy() -> Self
TXbClass():_Parent() / :_GwstParent()
TGXbStack()
UnicodeDynStr()
FileTime()
Functions By Category
Misc.
ot4xb()
OT4XB_SINGLE_INSTANCE()
Bitwise
nOr()
nXOr()
nNot()
nAnd()
nAndNot()
lAnd()
nLShift()
nRShift()
nLRot()
nRRot()
nLRotWord()
nLRotByte()
nRRotWord()
nRRotByte()
lDwBitOnOff()
Memory
Memory Allocation
_xGrab()
_xFree()
_pGrab()
_pFree()
_vGrab()
_vFree()
Pointer Manipulation
_BSET()
_BMOVE()
_BDUP()
_BCOPYWITHTABLE()
_BCOPY()
_BCOPYF()
_BCMP()
_BSCAN()
_XSTRCPY()
_XXSTRCPY()
_XSTCCPY()
_XSTRNCPY()
_XSTRCAT()
_XSTPCHR()
_XSTPBLK()
_XSTRLEN()
_XSTRDUP()
_XSTRAT()
Peek and Poke
PeekStr()
PokeStr()
PeekByte()
PokeByte()
PeekWord()
PeekWordNet()
PokeWord()
PokeWordNet()
PeekDWord()
PokeDWord()
PeekDouble()
PokeDouble()
Files and filenames
GetCommandLine()
cAppPath()
cAppDir()
lMakePath()
cCreateTmpFile()
cGetTmpPath()
nGetDriveType()
lChDir()
cDrives()
aDrives()
cGetShortFileName()
GetDriveInfo()
lIsDir()
GetWinDir()
GetSysDir()
cPathCombine()
cPathDefExt()
cPathBuildRoot()
aSplitPath()
cPathCanonicalize()
cPathGetExt()
cPathRemoveExt()
cPathGetFilename()
cPathRemoveBackslash()
cPathAddBackslash()
cPathGetPath()
cPathGetRoot()
cPathRemoveRoot()
Num and Bits
DwFix()
DwMinus()
ExtendSign8()
ExtendSign16()
Unsigned8()
Unsigned16()
Unsigned32()
Long2Double()
Double2Long()
LoWord()
HiWord()
LoByte()
HiByte()
MakeWord()
MakeLong()
MakeLParam()
MakeLResult()
Get_X_LParam()
Get_Y_LParam()
LongLong2Double()
Double2LongLong()
ULongLong2Double()
Double2ULongLong()
GetNumFormat()
SetNumFormat()
DwByteRev()
WHLByteRev()
PackFloat32()
UnPackFloat32()
Strings
UTF8 / ANSI / OEM conversion
cPrintf()
Tokenize()
NoComment()
nCrc32()
Chrr()
TrimQuotes()
lStrBitSet()
lpStrBitSet()
cStrBitNot()
pStrBitNot()
cStrBitOr()
pStrBitOr()
cStrBitXOr()
pStrBitXOr()
cStrBitAnd()
pStrBitAnd()
aStrBits()
nStrBitCount()
cSzAnsi2Wide()
cSzWide2Ansi()
pSzz2Array()
Array2pSzz()
TrimZ()
lMemoWrite()
ppMarshall2Array()
Array2ppMarshall()
Thread Local Storage
XbTlsAlloc()
XbTlsFree()
XbTlsSetValue()
XbTlsGetValue()
Thread Local Stack
TlsStackTop()
TlsStackPush()
TlsStackPop()
TlsStackCount()
Containers and Xbase Calls
lCallFuncPa()
lCallMethodPa()
CallFunction()
lObjGetMember()
lObjSetMember()
_Var2Con()
_Con2Var()
_conRelease()
DLL and Calls
AppInstance()
GetHKernel32()
GetHUser32()
GetHShell32()
GetHOt4xb()
nFpCall()
ndFpCall()
qwFpCall()
nFpGetLastError()
nGetProcAddress()
OS
lIsWin9x()
lIsXp()
lIsVista()
Language and local settings
MakeLangId()
GWST Misc. functions.
GwstSkipBytes()
GwstGetOffset()
GwstSetOffset()
GwstAlignNextMember()
Hex
cHex2Bin()
cBin2Hex()
cDw2Hex()
nHex2Dw()
cW2Hex()
nHex2W()
cByte2Hex()
nHex2Byte()
UUID
UuidCreateStr()
UuidFromString()
_UuidCreate()
UuidToString()
cUuidCreateName()
MD5 Functions
MD5 Functions - ready to use
MD5 Functions - step by step
Hash Table Functions
_HDICT_NEW()
_HDICT_KEY_COMPARE()
_HDICT_DESTROY()
_HDICT_SETPROP()
_HDICT_GETPROP()
_HDICT_REMOVEPROP()
_HDICT_REMOVEALL()
_HDICT_COUNT()
_HDICT_ITERATE_STEP()
_HDICT_ITERATE_CB()
The WITH OBJECT command & functions
Examples
NetName() - Get the computer name like the old function
List active services
Generating random strings
Get drive info
Force admin privileges
Taskbar Icon
Single instance
Tutorial
Using Peek...() and Poke...() functions
The ot4xb nFpCall() function
Starting with gwst structures
Using nested gwst structures
Managing memory pointers with gwst objects
Xbase++ numeric representation
Adding functionality to gwst structure classes
Extending gwst structure members
Using unions with gwst structures
Managing bitfields with ot4xb
Structures with extra size
The ot4xb DLL IMPORT commands
The XppCbk.exe callback compiler
Calling conventions
The "A" and "W" suffixes in WinAPI exported functions
Dynamic Classes and Structures - Overview

© 2009 Pablo Botella