ComponentRef

Z External Library

ZExternalLibrary

Access component to call external .DLL libraries.

Properties

ModuleName

Example: bass.dll

CallingConvention

The calling-convention used by the dll/shared object library.

  • Stdcall
  • Cdecl

Source

Initialize library functions. See example project ModPlay in Projects folder.

Here is a short list on how to convert parameter types between a dll and ZGE:

  • int,word,longword,byte,bool : int
  • float : float
  • LPCTSTR : string
  • QWORD,INT64 : define two int-parameters
  • STRUCTS and others - not available

Green Marinee theme adapted by David Gilbert, powered by PmWiki