Jump to content

Memory - Pointers; extracting information

Recommended Posts


Good Day,

Just a general question. I'm wondering if there is a way to read memory using pointers in the latest version of Autoit. I can read memory, but not while using pointers.

Reasoning for doing so - I'm trying to automate TC2000. It is a Charting software for stocks. I want script to constantly look for stock break-outs and notify me when they happen without me constantly watching stock market myself. I want to use memory to to gather information from this software. If there are any other alternatives please let me know (window info tool cannot locate any visible text).

So anyways, below is my working example for pointers that used to work in a older version of Autoit. Is there a way to modify it so it works in the latest version? Thank you!


SetPrivilege("SetDebugPrivilege", 1)

$struct = DllStructCreate("dword")
DllStructSetData($struct, 1, 11)
$ptr = DllStructGetPtr($struct)

#include <NomadMemory2.au3>
#include <WindowsConstants.au3>

Opt("WinTitleMatchMode", -1)

$PID = WinGetProcess("Step 8")

$sModule = "Tutorial-i386.exe"
$StaticOffset = 0x001FD660
$ah_Handle = _MemoryOpen($PID)
$exeBaseAddr = _MemoryModuleGetBaseAddress($PID, $sModule) + $StaticOffset

dim $Offset[5] = [0, "0xC", "0x14", "0x0", "0x18"]

    $Process = _MemoryOpen(ProcessExists("Tutorial-i386.exe"))
    If Not @error Then
        $value = _MemoryPointerRead($exeBaseAddr, $Process,$Offset)




Share this post

Link to post
Share on other sites
  • Like 1


Paster - Main function is to paste text, but has more functions.

OpenW - Open With... alternative, Open any file with any application, set it's icon, set application as default.

Renamer - Rename files and folders, remove portions of text from the filename etc.

BeatsPlayer - Music player.

Params Tool - Right click an exe to see it's parameters or execute them.

Regedit Control - Registry browsing history, quickly jump into any saved key.

Time4Shutdown - Write the time for shutdown in minutes.

Power Profiles Tool - Set a profile as active, delete, duplicate, export and import.

Firefox Profile Backup - Backup/restore previously saved profile.

Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes.

NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s.

IUIAutomation - Topic with framework and examples


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.