加载指定的字符串资源 dll 之前加载过 MemoryLoadLibrary. 类似于 LoadString.
OutputVar := MemoryLoadString(Handle, Id , BufferPointer, Length, Language)函数示例: StringLength := MemoryLoadString(ahkdllModule,2, &var, 10)
如果省略 BufferPointer,则为存储字符串指针的变量的名称;如果使用 BufferPointer 参数,则为 0 或字符串的大小。
MemoryModule 先前返回的句柄 MemoryLoadLibrary.
字符串资源的id,必须是数字。
指向接收字符串的缓冲区的指针。
字符串的长度(以字符为单位)。
字符串的语言,默认使用DEFAULT_LANGUAGE。
如果 BufferPointer 为 0 或省略,则返回资源中的字符串,否则该字符串将复制到缓冲区。
MemoryModule, ResourceLoadLibrary, MemoryLoadLibrary, MemoryFreeLibrary, MemoryGetProcAddress, MemoryFindResource, MemorySizeofResource, MemoryLoadResource, DllCall, DynaCall
if lib:=MemoryLoadLibrary(A_ScriptDir "\LiteZip.dll") MsgBox % MemoryLoadString(lib,1)