Difference between revisions of "DECLARE - DLL"
From Lianjapedia
Yvonne.milne (Talk | contribs) (Created page with "==Purpose== Registers a function in an external shared 32-bit dynamic link library (.dll) file (Windows only) ==Syntax== DECLARE <functiontype> <functionname> IN <dllname> [A...") |
Yvonne.milne (Talk | contribs) |
||
Line 8: | Line 8: | ||
==See Also== | ==See Also== | ||
− | + | [[CLOSE CLASSLIB]], [[COMPILE]], [[CREATEOBJECT()]], [[DEFINE CLASS]], [[DISPLAY CLASSES]], [[DO]], [[FUNCTION]], [[FUNCTION_EXISTS()]], [[LIST CLASSES]], [[PARAMETERS]], [[PEXIST()]], [[PROCEDURE]], [[RELEASE CLASSLIB]], [[SET CLASSLIB]], [[SET PROCEDURE]] | |
==Description== | ==Description== |
Latest revision as of 07:42, 18 January 2013
Contents
Purpose
Registers a function in an external shared 32-bit dynamic link library (.dll) file (Windows only)
Syntax
DECLARE <functiontype> <functionname> IN <dllname> [AS <aliasname>]
[<paramtype> [@] <paramname> [, ...]]
See Also
CLOSE CLASSLIB, COMPILE, CREATEOBJECT(), DEFINE CLASS, DISPLAY CLASSES, DO, FUNCTION, FUNCTION_EXISTS(), LIST CLASSES, PARAMETERS, PEXIST(), PROCEDURE, RELEASE CLASSLIB, SET CLASSLIB, SET PROCEDURE
Description
The DECLARE - DLL command registers a function in an external shared 32-bit dynamic link library (.dll) file. This command is only available on Windows.
Example
DECLARE INTEGER CreateProcess IN kernel32.dll as CreateProcess; STRING lpApplicationName,; STRING lpCommandLine,; INTEGER lpProcessAttributes,; INTEGER lpThreadAttributes,; INTEGER bInheritHandles,; INTEGER dwCreationFlags,; INTEGER lpEnvironment,; STRING lpCurrentDirectory,; STRING lpStartupInfo,; STRING @ lpProcessInformation