Clever1mba Posted June 1, 2005 Share Posted June 1, 2005 hello i get this code from microsft website just want to know how to use with autoitHANDLE OpenProcess( DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwProcessId); Link to comment Share on other sites More sharing options...
w0uter Posted June 1, 2005 Share Posted June 1, 2005 (edited) 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 June 1, 2005 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 More sharing options...
layer Posted June 1, 2005 Share Posted June 1, 2005 You may need the new DllStruct* functions in the latest BETA... FootbaG Link to comment Share on other sites More sharing options...
GaryFrost Posted June 1, 2005 Share Posted June 1, 2005 (edited) 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 callsHere'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 June 1, 2005 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 More sharing options...
w0uter Posted June 1, 2005 Share Posted June 1, 2005 You may need the new DllStruct* functions in the latest BETA...<{POST_SNAPBACK}>i tryd them also. but i gave up. 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 More sharing options...
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