Jump to content

ObjCreate


Recommended Posts

hello

i get this code from microsft website just want to know how to use with autoit

<{POST_SNAPBACK}>

trying to read memory ? i tried but i gave up.

NOTE THIS ISNT CORRECT. IT IS JUST A START.

Func OpenProcess($dwDesiredAccess, $bInheritHandle, $dwProcessId)
    
    DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', $dwDesiredAccess, 'int', $bInheritHandle, 'int', $dwProcessId)
    If Not @error Then
        Return 1
    Else
        Local $err = DllCall('Kernel32.dll', 'int', 'GetLastError')
        SetError($err[0])
        Return 0
    EndIf
EndFunc ;==>OpenProcess
Edited by w0uter

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

Link to comment
Share on other sites

You may need the new DllStruct* functions in the latest BETA...

<{POST_SNAPBACK}>

Don't see any pointers in that function call, shouldn't need the DllStruct* function calls

Here's where the problem may be:

dwDesiredAccess

[in]Access to the process object. This access right is checked against any security descriptor for the process, unless the user has the SeDebugPrivilege privilege granting full access to the process. This parameter can be one or more of the process access rights.

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...