' supported types:
' b bool
' c char
' d double precision float
' f float
' h handle
' i integer (32bit)
' p pointer
' q quad (64bit) integer
' s short (16bit) integer
' z null terminated string
' supported calling conventions
' cdecl
' stdcall
' '*' signifies pass variable by reference, otherwise by value
'DIAGNOSTICS
declare sub dllhook alias "dllhook" lib "DLLC"
declare sub dllshow alias "dllshow" lib "DLLC"
declare sub dllreco alias "dllreco" lib "DLLC"
declare sub dllsecs alias "dllsecs" lib "DLLC"
declare sub dllerrc alias "dllerrc" lib "DLLC"
declare sub dllerrs alias "dllerrs" lib "DLLC"
'CONSOLE
declare sub dllcnsl alias "dllcnsl" lib "DLLC"
declare sub dlllnpt alias "dlllnpt" lib "DLLC"
declare sub dllprnt alias "dllprnt" lib "DLLC"
declare sub dllcmnd alias "dllcmnd" lib "DLLC"
'DLL LINKAGE
declare sub dllfile alias "dllfile" lib "DLLC"
declare sub dllproc alias "dllproc" lib "DLLC"
'DLL CALLS
declare sub dllmeth alias "dllmeth" lib "DLLC"
declare sub dllcall alias "dllcall" lib "DLLC"
declare sub dllcald alias "dllcald" lib "DLLC"
declare sub dllcalt alias "dllcalt" lib "DLLC"
declare sub dllcobj alias "dllcobj" lib "DLLC"
declare sub dllcobt alias "dllcobt" lib "DLLC"
declare sub dllclbk alias "dllclbk" lib "DLLC"
'SBCALLS
declare sub dllprog alias "dllprog" lib "dllc"
declare sub dllendp alias "dllendp" lib "dllc"
declare sub dlltran alias "dlltran" lib "DLLC"
'CHANNELS AND THREADS
declare sub dllidat alias "dllidat" lib "DLLC"
declare sub dllodat alias "dllodat" lib "DLLC"
declare sub dllclos alias "dllclos" lib "DLLC"
declare sub dllwait alias "dllwait" lib "DLLC"
'DATA
declare sub dllsptr alias "dllsptr" lib "DLLC"
declare sub dlltype alias "dlltype" lib "DLLC"
declare sub dlldimv alias "dlldimv" lib "DLLC"
declare sub dllfill alias "dllfill" lib "DLLC"
declare sub dllgetm alias "dllgetm" lib "DLLC"
declare sub dllputm alias "dllputm" lib "DLLC"
declare sub dllptrm alias "dllptrm" lib "DLLC"
declare sub dllfrem alias "dllfrem" lib "DLLC"
'STRINGS / GUIDS
declare sub dlldelo alias "dlldelo" lib "DLLC"
declare sub dllostr alias "dllostr" lib "DLLC"
declare sub dllzstr alias "dllzstr" lib "DLLC"
declare sub dllastr alias "dllastr" lib "DLLC"
declare sub dllwstr alias "dllwstr" lib "DLLC"
declare sub dllcast alias "dllcast" lib "DLLC"
declare sub dllguid alias "dllguid" lib "DLLC"
' current limits:
' ===============
' 32 parameters per procedure
' 2048 entities (total of libs+procs+types+vars)