Find out the size of resource in the specified dll previously loaded with MemoryLoadLibrary. Similar to SizeOfResource.
OutputVar := MemorySizeOfResource(Handle, hResource)Function Example: sz := MemorySizeOfResource(ahkdllModule,hResource)
The name of the variable in which to store the function pointer.
MemoryModule handle prevously returned by MemoryLoadLibrary.
Resource handle previously returned by MemoryFindResource
MemoryModule, ResourceLoadLibrary, MemoryLoadLibrary, MemoryFreeLibrary, MemoryFindResource, MemorySizeofResource, MemoryLoadResource, MemoryLoadString, DllCall, DynaCall
ahk:=MemoryLoadLibrary(A_AhkDir "\AutoHotkey.dll") hRes:=MemoryFindResource(ahk,"TYPELIB",1) MsgBox % MemorySizeOfResource(ahk,hRes)