Core Function DLLImport
(→Usage method 1) |
m (1 revision) |
||
(4 intermediate revisions by one user not shown) | |||
Line 17: | Line 17: | ||
It must be an array of all functions to import from DLLs | It must be an array of all functions to import from DLLs | ||
− | CLick [[Core Function DLLImport Array|DLLImport( <array> )]] to see how to use DLLImport with the single DLL to import DLL functions or to create a DLL file. | + | CLick [[Core Function DLLImport as Array|DLLImport( <array> )]] to see how to use DLLImport with the single DLL to import DLL functions or to create a DLL file. |
==== Usage method 2 ==== | ==== Usage method 2 ==== | ||
Line 23: | Line 23: | ||
If you use 5-6 parameters then the DLLImport will be importing a single function from a single DLL. | If you use 5-6 parameters then the DLLImport will be importing a single function from a single DLL. | ||
− | Click | + | Click [[Core Function DLLImport as Params|DLLImport( <DLLName>, <FunctionName/Alias>, <ReturnType>, <ParameterType>, <CharSet/CallingConvention> )]] to see how to import a single function from a single DLL. |
=== Return Value === | === Return Value === | ||
Line 34: | Line 34: | ||
None. | None. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Core Function]] | [[Category:Core Function]] |
Latest revision as of 12:37, 14 June 2015
DLLImport( <varies...> )
Contents |
Description
Dynamically load a function from a DLL and transform it to act and behave like a normal Sputnik function (Can load thousands functions at a time and even save the loaded stuff to DLL for quick access later).
Parameters
Usage method 1
If the only parameters is a single array it can work as follows :
Optional; The array can begin with a string containing the DLL name to save the DLLImport as such as "MyDLL.dll"
It must be an array of all functions to import from DLLs
CLick DLLImport( <array> ) to see how to use DLLImport with the single DLL to import DLL functions or to create a DLL file.
Usage method 2
If you use 5-6 parameters then the DLLImport will be importing a single function from a single DLL.
Click DLLImport( <DLLName>, <FunctionName/Alias>, <ReturnType>, <ParameterType>, <CharSet/CallingConvention> ) to see how to import a single function from a single DLL.
Return Value
Success: True
Failure: False
Remarks
None.