MemoryLoadString

Loads a string resource in the specified dll previously loaded with MemoryLoadLibrary. Similar to LoadString.


OutputVar := MemoryLoadString(Handle, Id , Language)
Function Example: String := MemoryLoadString(ahkdllModule,2)

Parameters

OutputVar

The name of the variable in which to store the text.

Handle

MemoryModule handle previously returned by MemoryLoadLibrary.

Id

Id of string resource, must be a digit.

Language (optional)

The language of string, uses DEFAULT_LANGUAGE by default.

Related

MemoryModule, MemoryLoadLibrary, MemoryFreeLibrary, MemoryGetProcAddress, MemoryFindResource, MemorySizeofResource, MemoryLoadResource, DllCall, DynaCall

Examples

lib:=MemoryLoadLibrary(A_ScriptDir "\LiteZip.dll")
MsgBox MemoryLoadString(lib,1)
MemoryFreeLibrary(lib)