Sign in to follow this  
Followers 0
cloudkiaDotCom

Dll

15 posts in this topic

Is it possible that AutoIT can rewrite the .dll file such as user32.dll? If not, do you guys have any other idea that allowed me to rewrite again? Or rename .dll by AutoIT?


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites



you want to change user32.dll ? if a program is using a dll, it might be hard to change it on the fly, and a OS critical file might prove even harder and borders on being a stupid idea (User32.dll is crucial to the operation of Windows. If this file is deleted or changed your system will no longer work).


> there are 10 types of people in the world, those who understand binary and those who don't.

Share this post


Link to post
Share on other sites

No, now i changed my mind. I want to create my own .dll with :

-SendInput

-keybd_event

-mouse_event

-GetPixel

Who can teach me? hehehe..


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites

No, now i changed my mind. I want to create my own .dll with :

-SendInput

-keybd_event

-mouse_event

-GetPixel

Who can teach me? hehehe..

Another language forum that has the ability of making Dlls.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I think it's close to impossible to create a dll in AutoIT. C++ or C# is probably a better option.


> there are 10 types of people in the world, those who understand binary and those who don't.

Share this post


Link to post
Share on other sites

ok, 1 more thing to ask. I believe most of you know what is user32.dll right? how you use AutoIt to call the function keybd_event? And what the parameter we need to pass in?


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites

you are trying to emulate a keypress ? try AutoIT's send function.

keybd_event syntax is :

VOID keybd_event(     

    BYTE bVk,
    BYTE bScan,
    DWORD dwFlags,
    PTR dwExtraInfo
);

(although it is superseeded by SendInput)


> there are 10 types of people in the world, those who understand binary and those who don't.

Share this post


Link to post
Share on other sites

No... Actually I'm doing something on the nProtect. It block the input from the AutoIT, so I plan to code/download a DLL which included a function like keybd_event,mouse_event and getPixel. I don't want to use user32.dll because I believe that the nProctect made some changes on it. So I plan to have my own DLL take the nProtect not recognize....


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites

nifty...

is it nprotect keycrypt ? if so, I say... good luck, this falls under the category 'out-of-autoit-scope' I think. Uninstallation of nProtect is not possible ?

I wonder if nProtect made changes to User32.dll, makes no sence as a critical dll file might be patched at anytime, making the program stop working.


> there are 10 types of people in the world, those who understand binary and those who don't.

Share this post


Link to post
Share on other sites

don't know....i just wish to have a try...better than nothing right?


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites

sure... I see no problem in trying :)


> there are 10 types of people in the world, those who understand binary and those who don't.

Share this post


Link to post
Share on other sites

by the way, may i just using PluginOpen to call the dll? if yes, could you show me any example? with user32.dll will be the best...hehhehehe


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
Share on other sites

No... Actually I'm doing something on the nProtect. It block the input from the AutoIT, so I plan to code/download a DLL which included a function like keybd_event,mouse_event and getPixel. I don't want to use user32.dll because I believe that the nProctect made some changes on it. So I plan to have my own DLL take the nProtect not recognize....

Time for some serious homework. :P

Don't forget hooks. :)

Share this post


Link to post
Share on other sites

hehehe....thank Q


Welcome to Cloudkia.comThe place to Navigate Google Maps on your computer and have your friends view it live from theirs.

Share this post


Link to post
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
Sign in to follow this  
Followers 0