hook has a problem with corba framework

c++ / delphi package - dll injection and api hooking
Post Reply
SteelX
Posts: 5
Joined: Fri Oct 08, 2004 3:02 pm

hook has a problem with corba framework

Post by SteelX »

i just try to hook proccess creation and import function than request some list, looking for a proccess name, and Using corba to request remote computer list proccess name,.corba uses multhitreaded with visual c++.and surprise. the system its shutting down ,when inject the hook.

hook corba problem?
or
hook multithreaded problem?
:confused:
---------------------------------------------------------------------------
thank's
sorry about my bad english...
i speak spanish....
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

You're using corba inside of a hook dll? That's not a good idea. Check out the hooking rules, especially rule 4:

http://help.madshi.net/HookingRules.htm
SteelX
Posts: 5
Joined: Fri Oct 08, 2004 3:02 pm

Post by SteelX »

Thanx madshi. some idea how to use corba TAO with the API hook?
remember that the hooking processes function.. isallowed() return boolean datatype and i need to ask for process list to return TRUE or FALSE reply.... and how can i use the corba wihtout get in hook dll?


regards

:wink:
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I'd say, do that corba stuff in your application. You can use IPC to let the hook dll contact the application. The HookProcessTermination demo shows you how that works.
Post Reply