ANGRO Posted August 19, 2006 Posted August 19, 2006 (edited) $ProcessHeap = DllCall($Kernel, "hwnd", "GetProcessHeap") oÝ÷ Ù±+®öý¶®¶s`¢b33c´VÆÆö2ÒFÆÄ6ÆÂb33c´¶W&æVÂÂgV÷C¶væBgV÷C²ÂgV÷C´VÆÆö2gV÷C²Âò gV÷C¶væBgV÷C²Âb33cµ&ö6W74V³ÒÂò gV÷C¶Gv÷&BgV÷C²ÂBÂò gV÷C¶ÆöærgV÷C²ÂFÆÅ7G'V7DvWE6¦Rb33c¶Error:2 Edited August 20, 2006 by ANGRO
Simucal Posted August 20, 2006 Posted August 20, 2006 Why dont you use a few more words to flesh out your question/problems you are running into? To be on the safe side, over explain your problem. AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
ANGRO Posted August 20, 2006 Author Posted August 20, 2006 I do not know English. Problem in @error 2 by call and it is possible in SIZE_T.
ANGRO Posted August 20, 2006 Author Posted August 20, 2006 It is taken from here " Error 3 ", @error = 2I can not callHelp$MEMORY_REQUESTED = 1024 * 1024 ;request a megabyte ;------------------------------------------------------------------------------------------ ;GetSystemInfo(&sSysInfo) ;fill the system information structure ------------------------ $sSysInfo = DllStructCreate("short;short;dword;int;int;int;dword;dword;dword;short;short") DllCall("Kernel32.dll", "int", "GetSystemInfo", "ptr", DllStructGetPtr($sSysInfo)) $dwPageSize = DllStructGetData($sSysInfo,3) MsgBox(48,"Error 1","Error: "&@error&" | "&"PageSize: "&$dwPageSize) ;Calculate the number of pages of memory to request.-------------------------------- $NumberOfPages = $MEMORY_REQUESTED / $dwPageSize MsgBox(64,"INFO 1","Requesting pages"&@CRLF&$NumberOfPages&" of memory.") ;Calculate the size of the user PFN array.------------------------------------------- $PFNArraySize = $NumberOfPages * DllStructGetSize(DllStructCreate("uint")); ??? MsgBox(64,"INFO 2","Requesting a PFN array of"&@CRLF&$PFNArraySize&" bytes.") ;aPFNs = (ULONG_PTR *) HeapAlloc(GetProcessHeap(), 0, PFNArraySize); ??????????? $GetProcessHeap = DllCall("Kernel32.dll", "hwnd", "GetProcessHeap") MsgBox(48,"Error 2","Error: "&@error&" | "&"Handle Process Heap: "&$GetProcessHeap[0]) $HeapAlloc =DllCall("Kernel32.dll", "ptr", "HeapAlloc", _ "hwnd", $GetProcessHeap[0], _ "dword", 0x00000004, _ "long", $PFNArraySize) MsgBox(48,"Error 3","Error: "&@error&" | "&"Handle Heap Alloc: "&$HeapAlloc[0])
ANGRO Posted August 20, 2006 Author Posted August 20, 2006 Probably it? $R = DllStructCreate("uint") $HeapAlloc = DllStructSetData($R,1,DllCall("Kernel32.dll", "ptr", "HeapAlloc", _ "hwnd", $GetProcessHeap[0], _ "dword", 0x00000004, _ "long", $PFNArraySize)) MsgBox(48,"Error 3","Error: "&@error&" | "&"Handle Heap Alloc: "&DllStructGetData($R,1))
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now