Hello Everybody
In my program i wrote a hook to help it find other apps and folders like IE, Netscape and private folder that should not be founded and opened by any one else... If so my app will record that information... The app Window can be hidden or shown.. It works perfect but now i want to get RID of the DLL ... Window Hooks is just a burden on Windows Memory in my case. All it do is FindWindow and GetWindowText while maybe wasting precious memory.
Looking at the new post about Messages i am wondering if i can put FindWindow and GetWindowText in the MessageLoop: and still be able to us my program Edit Window and Buttons. I tried some things while playing with the idea but i could not get it to work...
Am im barking up the wrong tree or is it possible.
Thanks in advance for any assistance.
In my program i wrote a hook to help it find other apps and folders like IE, Netscape and private folder that should not be founded and opened by any one else... If so my app will record that information... The app Window can be hidden or shown.. It works perfect but now i want to get RID of the DLL ... Window Hooks is just a burden on Windows Memory in my case. All it do is FindWindow and GetWindowText while maybe wasting precious memory.
Looking at the new post about Messages i am wondering if i can put FindWindow and GetWindowText in the MessageLoop: and still be able to us my program Edit Window and Buttons. I tried some things while playing with the idea but i could not get it to work...
Am im barking up the wrong tree or is it possible.
Thanks in advance for any assistance.
first, you don't need a dll for hooks, you can use journal-hooks.
but hey, you don't need hooks at all for this, just use threads
and everything will work fine. iczelion wrote a good tute about
this theme... it's very easy to handle so... good luck.
tutorial 15: threads
but hey, you don't need hooks at all for this, just use threads
and everything will work fine. iczelion wrote a good tute about
this theme... it's very easy to handle so... good luck.
tutorial 15: threads
Just to let you now:
Yes it can be done and a MessageLoop with PeekMessage was faster and more reliable than Hooks in one of our protection programms ...
cant say more becouse of NDA
Yes it can be done and a MessageLoop with PeekMessage was faster and more reliable than Hooks in one of our protection programms ...
cant say more becouse of NDA
NDA?
what's that?
what's that?
NDA =
Non Disclosure Agreement
Means he cant discuss this topic in detail because he signed a contract saying he wouldnt.
Non Disclosure Agreement
Means he cant discuss this topic in detail because he signed a contract saying he wouldnt.
I knew there have to be others ways...Just because an OS say "this is the only way" really don't mean nothing. To me it means i don't want you to know about that part of it .... I'm sure it part of their protection plan so i can't fuss i just have to wait until i find more truth...
I always think not all things is impossible just because the person who said it never founded the way to do it.... I will surely take both of these ideas and learn a lot from them. I am not a SUPER religious person but I thank GOD i was man enough to came down to ASM.
Thanks a ton
Case Close: Posted on 2002-06-28 23:37:55 by cmax
I always think not all things is impossible just because the person who said it never founded the way to do it.... I will surely take both of these ideas and learn a lot from them. I am not a SUPER religious person but I thank GOD i was man enough to came down to ASM.
Thanks a ton
Case Close: Posted on 2002-06-28 23:37:55 by cmax