Public Declare Function VirtualQueryEx Lib "kernel32" Alias "VirtualQueryEx" (ByVal hProcess As Long, lpAddress As Any, lpBuffer As MEMORY_BASIC_INFORMATION, ByVal dwLength As Long) As Long

------------

does anyone have an example or can make one using VirutalQueryEx to get the base and ending address of a process... I cant figure out how to do it myself, because i dont know what the function is asking for with the lpAddress parameter...