Memory.OpenLibrary

number Memory.OpenLibrary ( 

number  ID,

string  Library )

Description

Open a Dll or library for calling it.

Parameters

ID

(number) Number of your library that want open.

Library

(string) The path to the library or Base64 of that library (for load on memory).

Returns

(number) Returns number of loaded dll but there is no need for it just for advanced user, if an error occured this function returns -1.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

Note: This function can load dlls from memory or from your hard.

Example 1

Memory.OpenLibrary(0, "user32.dll")

Example 2

My_Base64_Dll = TextFile.ReadToString("AutoPlay\\Docs\\Base64DLL.txt") a = Memory.OpenLibrary(0, My_Base64_Dll)

See also:  Related Actions

Сайт управляется системой uCoz