dev: notifying on-enter-process funcptr

Ideas for enhancements to the software
Post Reply
v2y
Posts: 50
Joined: Sun Mar 09, 2008 4:51 pm

dev: notifying on-enter-process funcptr

Post by v2y » Mon Apr 12, 2010 5:38 am

I use injectdll for development purpose, like IAT manipulating.
Sometimes I want to be notified on-enter-process-entrypoint.

// hmm what should I say additionally...?

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Mon Apr 12, 2010 8:26 am

I'm not sure I understand your question. Your DllMain function is called when your DLL is loaded into the process, during start-up. Optionally, your InjectDllMain function can also be called.

http://www.sandboxie.com/index.php?InjectDll

Note that in version 3.45, your DllMain/InjectDllMain will be called before the first static import DLL is even loaded. And you can install callbacks for DLL loading/unloading. Perhaps this already make things better for you? You can read some more about this here:

http://www.sandboxie.com/phpbb/viewtopic.php?t=7513
tzuk

v2y
Posts: 50
Joined: Sun Mar 09, 2008 4:51 pm

Post by v2y » Mon Apr 12, 2010 11:36 am

Oh, I see with topic#7513.
My DLL is coded as "hooks exe entry, patch exe's IAT, goback entry".
I'll try re-coding with RegisterDllCallback(), it may help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest