Post Reply Home » Forums » General » Site News

XUnleashed ScriptHost 2.5.0.187 Memory Patch : Site News

Posted: May 18th, 2004
Admin
May 19, 2004
XUnleashed Script Host version 2.5.0.187


--Fixed a memory leak in the XUScriptHost

Added some Scripting Functions to basically do anything you would want with manipulating memory. See the Script Documentation forum for complete details and a demo script on how to use some of the new script functions.


Win32API.XUShell(PathName as String, Optional Style as vbStyle) as Double
Win32API.IsWindowsNT() As Boolean
Win32API.InstanceToWnd(ByVal target_pid As Long) As Long
XUScriptHost.XUStrConv(ByVal aString As String, ByVal Conversion As VbStrConv) As String
Win32API.XUVirtualQueryEx(ByVal hProcess As Long, lpAddress As Long)
Win32API.XUInvalidateRect(ByVal hWnd As Long, ByVal lpRect As Long, ByVal bErase As Long) As Long

SystemInfo.XUGetSystemInfo() As SYSTEM_INFO
SystemInfo.GetMinimumApplicationAddress() As Long 'Returns SYSTEM_INFO.MinimumApplicationAddress
SystemInfo.GetMaximumApplicationAddress() As Long 'Returns SYSTEM_INFO.MaximumApplicationAddress

MemoryBasicInformation.GetMemoryBasicInformation() As MEMORY_BASIC_INFORMATION 'Gets the Internal Data
MemoryBasicInformation.GetType() As Long 'Gets the Internal Data
MemoryBasicInformation.GetState() As Long 'Gets the Internal Data
MemoryBasicInformation.GetBaseAddress() As Long 'Gets the Internal Data
MemoryBasicInformation.GetLength() As Long 'Size of internal memory struct
MemoryBasicInformation.SetRegionSize(ByVal s As Long) 'Sets internal data


Win32API.XUWriteProcessMemory(ByVal hProcess As Long, ByVal lpBaseAddress As Long, ByRef lpBuffer, ByVal nSize As Long) As Long 'Returns the # bytes Written
Win32API.XUReadProcessMemory(ByVal hProcess As Long, ByVal lpBaseAddress As Long, ByRef lpBuffer, ByVal nSize As Long) As Long 'Returns the # bytes Read
XUScriptHost.PokeD(ByVal address As Long, ByVal value As Double) '(8 bytes - same as float in cpp)
XUScriptHost.PeekD(ByVal address As Long) As Double '(8 bytes - same as float in cpp)
Want Advertisements After The Last Post Removed? Create A Free Account!
blue large dotWho is online
Users browsing this forum: No registered users and 15 guests