Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Reference Index

Using the DLCALL Function

Scroll Prev Top Next More

The DLCALL Function calls any Windows dynamic link library (DLL) and loads it into memory for use with R:BASE. A DLL is a Window's Dynamically Linked Library.

 

Syntax for External DLL:

 

(DLCALL('libraryname.ext', 'FunctionOrProcedureName', [arg],[arg],[.....]))

 

Syntax for Windows API:

 

(DLCALL('libraryname', 'FunctionOrProcedureName', [arg],[arg],[.....]))

 

 

External DLLs must have the file name listed with the extension, such as 'MyLibrary.dll'.

 

Windows APIs require only the name of the Library, without the extension, such as: 'Kernel32' or 'User32'.

 

The DLLs must be created as Standard Windows 32-bit DLLs. Any number of functions or procedures can be used in a single DLL. Functions or Procedures to be used with DLCALL must be Exported in the DLL. No special code is necessary in the DLL for it to be used by R:BASE.