Chuuy Posted June 15, 2009 Posted June 15, 2009 (edited) EDIT: I think I got it, nvm. Edited June 15, 2009 by Chuuy
Chuuy Posted June 15, 2009 Author Posted June 15, 2009 Nevermind, I guess not. I just simply need to convert this C++ code to AutoIt. BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: DisableThreadLibraryCalls(hModule); CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)MainWin, hModule, 0, NULL); break; case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: FinishedExit = TRUE; break; } return TRUE; }
Inverted Posted June 16, 2009 Posted June 16, 2009 1) Don't edit out your posts. 2) This code is for a dll (to be injected to the target process), and you can't compile dlls in AutoIt. Not to mention you're in waaayyy over your head and you have no idea what you're doing.
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