Jump to content

Help with Alias


Recommended Posts

Is there a way to give an alias to writeprocess memory like to call it maybe "test" or WriteProcessMemoryA i am not sure how to do this to change its name or to link it somehow? Thanks

$ACALL = DllCall("kernel32.dll", "int", "WriteProcessMemory"

Link to comment
Share on other sites

Unlikely!

What would be the purpose?

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

no purpose really i saw that you can do it in vb6 easyly so i was wondering why AutoIT cant do it maybe something like

$ACALL = DllCall("kernel32.dll", "int", "WriteProcessMemory" alias bla bla but i am not an expert so dunno

Link to comment
Share on other sites

That's not aliasing, that's calling (invoking, or running, all the same) an external function in a DLL.

Hopefully, AutoIt can call functions in classical DLLs, precisely using DllCall. But it isn't possible in any language to change the name of an existing function, nor call it otherwise than by its actual name.

Your phrasing sounds a little bit like a malevolent intent to me.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Link to comment
Share on other sites

That's not aliasing, that's calling (invoking, or running, all the same) an external function in a DLL.

Hopefully, AutoIt can call functions in classical DLLs, precisely using DllCall. But it isn't possible in any language to change the name of an existing function, nor call it otherwise than by its actual name.

Your phrasing sounds a little bit like a malevolent intent to me.

Ahh yes i am not very good with enligsh i ment phrasing is it possible to phrase it if so how ? :-) Thank you

Link to comment
Share on other sites

You'll have to read the help file under DllCall to understand how calling external functions work. Look at the example there. Also read wikipedia in your language about dll and shared libraries to learn more.

But be aware that calling random functions without precise knowledge of what it does and why call it in the first place may have desastrous effects.

What do you want to do?

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

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...