That's not something you can do with VB if I'm understanding your question
correctly. Also, define "errors raised by those windows". What is an "error"
to you in the context of a window procedure? There's no such thing as
"raising an error" there.

Signature
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/
Please post/reply to the newsgroup(s)
> Can somebody give me some code chunk to emulate SPY++ like activity ? I
> need
[quoted text clipped - 10 lines]
>
> Thanks
FarriJ - 30 Sep 2003 07:02 GMT
well what i have understand is that on the same pc, any exe can get a handle
to any window that is exisiting in the same domain. And the PeekMessage API
can give us the messages passing to that window 's handle. So is there any
way to identify the errors and log them with the seperatly running instance
of the application without directly / explicitly telling some dll /component
to do so in the actual source code.
This will create a highly decoupled error logging soultion, if possiable.
Thanks
FarriJ
> That's not something you can do with VB if I'm understanding your question
> correctly. Also, define "errors raised by those windows". What is an "error"
[quoted text clipped - 15 lines]
> >
> > Thanks
Not sure if this answers your question and not sure if there is some common
function used that I forgot to include - but maybe helps.
Greetings, Martin Wildam.
> Can somebody give me some code chunk to emulate SPY++ like activity ? I need
> to hookup all application windows that are running in the windows terminal
[quoted text clipped - 7 lines]
>
> Thanks
FarriJ - 30 Sep 2003 06:58 GMT
so sorry i am, can't download the classfiles, these files are filtered by my
firewall. Can u plz do me a favor ... copy paste the file's content / zip
and attach it again ...
A big thanks.
FarriJ
> Not sure if this answers your question and not sure if there is some common
> function used that I forgot to include - but maybe helps.
[quoted text clipped - 15 lines]
> >
> > Thanks
Sorry forgotten the API declarations...
> Can somebody give me some code chunk to emulate SPY++ like activity ? I need
> to hookup all application windows that are running in the windows terminal
[quoted text clipped - 7 lines]
>
> Thanks
Martin Wildam - 30 Sep 2003 20:59 GMT
Here it is again. I cannot send binaries myself, so trying as .txt. HTH.
> Sorry forgotten the API declarations...
>
[quoted text clipped - 12 lines]
> >
> > Thanks