flat assembler
Message board for the users of flat assembler.
Index
> Windows > DLL Trouble |
Author |
|
Tomasz Grysztar 25 Jan 2011, 19:10
You do not return from your Shell procedure (and also you put it inside the "proc"-"endp" boundaries defined for DllMain, which is not a good idea). After I change it to:
Code: proc DllMain,hinstDll,fdwReason,lpvReserved mov eax,1 ret endp Shell: invoke ShellExecute,0,0,a,0,0,5 retn |
|||
25 Jan 2011, 19:10 |
|
Jesse Redick 26 Jan 2011, 02:27
Thanks for the tips Tomasz. I'm still learning.
|
|||
26 Jan 2011, 02:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.