flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
In WinXP and Win2K kernel32.dll is mandatory[1], apps can't run without it. It is guaranteed to be loaded at all times.
[1] In Win2K you can leave kernel32 out of the import table and the loader will still load the DLL. In WinXP you must include kernel32 in the import table else the app will fail to load. |
|||
![]() |
|
TheLord
no no, I know this.
My dll is redirecting CreateProcessW() to MyCreateProcess() => in this new function, I inject the dll in the target process (see my previous topic to know why). I randomly fails to inject because of the remotethread that is executing the LoadLibrary() in order to load the DLL. If I put a sleep it works correctly so I assume kernel32 is not loaded in the target process when I try to inject the DLL, I dont see any other issue ! |
|||
![]() |
|
revolution
Try WaitForInputIdle
If you are the Lord, shouldn't we be asking you questions? hehe, just joking, no offense |
|||
![]() |
|
Grom PE
revolution wrote: In Win2K you can leave kernel32 out of the import table and the loader will still load the DLL. In WinXP you must include kernel32 in the import table else the app will fail to load. You reversed the facts about Win2k and WinXP. |
|||
![]() |
|
revolution
Grom PE wrote:
|
|||
![]() |
|
TheLord
gonna try this one thanks
|
|||
![]() |
|
TheLord
hi,
Just a quick up to confirm the WaitForInputIdle() works like a charm, thx revolution. |
|||
![]() |
|
revolution
Nice to know that function is useful for something.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.