lokatylokacz Posted December 6, 2018 Posted December 6, 2018 Hey! I would love to get memory base address of Au3Info_x64.exe process, here is what I got: #include <nomad.au3> #include <MemoryGetBaseAddress.au3> Global $PID = ProcessExists("Au3Info_x64.exe") ;odczytujemy PID procesu $memarray = _MemoryOpen($PID) ; otwieramy pamiec $baseADDRESS = _MemoryGetBaseAddress($memarray, 0) ConsoleWrite("Proces ID: " & $PID & @CRLF & "GetBase Address Value: " & $baseADDRESS & @CRLF & "Error: " & @error) While 1 ; xd WEnd _memoryclose($PID) ; zamykamy pamiec and return of that is: Proces ID: 5788 GetBase Address Value: 0 Error: 2 Quote On Failure - Returns 0 and sets @Error to: ; |1 = Invalid $ah_Handle. ; |2 = Failed to find correct allocation address. ; |3 = Failed to read from the specified process. so _MemoryGetBaseAddress failed to find allocation address. I use Windows 7 x64 if this is important. Any idea how to deal with it or any other way to get this address?
Bert Posted December 7, 2018 Posted December 7, 2018 why do you need to read memory? You have my curiosity interested. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Nine Posted December 7, 2018 Posted December 7, 2018 1 hour ago, Bert said: why do you need to read memory? You have my curiosity interested. I was asking myself the same question especially reading autoit memory “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy
lokatylokacz Posted December 7, 2018 Author Posted December 7, 2018 @Bert@Nine I'm learning AutoIT from like a week and I would like to know how it works for future use
Moderators Melba23 Posted December 7, 2018 Moderators Posted December 7, 2018 lokatylokacz, Ah, the old "just for learning" excuse - again! And as an AutoIt user for "like a week" there are many, many other things to master before memory reading. Looking at your previous posts there does seem to be a common thread and reading memory fits in nicely with that - so I think we will close this thread too. M23. Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts