Thoughts from Dan Miser RSS 2.0
# Tuesday, August 29, 2006
I came across a link to COMTrace from Scott Hanselman. This tool allows for interception and logging of COM traffic. I just tried it out, and it mostly works on some of my more complex MIDAS applications. Granted, it is far from perfect (e.g. I needed to start a new process multiple times before I could get it to work when tracing an app server, or it would hang when starting a client process), but I was able to eventually use it to get tracing information on all of the round-trips that the application makes, including seeing parameters being passed from client to server. From the history log, it appears that the last change was in 2002, so it's a bit dated.

A while back, I was going to develop a tool like this, and actually had some things working on the Delphi level by intercepting VarDispHandler, but that would only work within an application, and for late-bound calls. That didn't sit well with me, as I wanted all traffic intercepted, be it early-bound or late-bound, and I didn't want to necessarily instrument my applications with my tracing/hooking code. I started looking at Keith Brown's Universal Delegator, and associated tools, and was going to go down that route, but the priority changed on having this tool, so it got shelved. It's nice to see that something is out there, even if it is imperfect.

Tuesday, August 29, 2006 2:27:00 PM (Central Daylight Time, UTC-05:00)  #    Comments [3] -
Delphi
Tracked by:
http://9qd-information.info/49878557/index.html [Pingback]
http://9qe-information.info/29969267/index.html [Pingback]
http://9oi-information.info/23564565/data-center-disaster-recovery-planning-soft... [Pingback]
http://9qq-information.info/63458989/diesel-vestito.html [Pingback]
http://9qc-information.info/46341676/index.html [Pingback]
http://9ob-information.info/07302238/tagliapietra-dvd.html [Pingback]
http://9oq-information.info/26192031/the-lights-beam-down-from-the-stars.html [Pingback]
http://9ox-information.info/87012191/index.html [Pingback]
http://9ob-information.info/07302238/index.html [Pingback]
http://9sf-information.info/83876119/index.html [Pingback]
http://9rb-information.info/14791549/index.html [Pingback]
http://9rv-information.info/52186194/index.html [Pingback]
http://9sn-information.info/54853804/index.html [Pingback]
http://9rt-information.info/50146007/index.html [Pingback]
http://9ry-information.info/77680180/index.html [Pingback]
http://9rn-information.info/18785653/index.html [Pingback]
http://9ra-information.info/53660662/index.html [Pingback]
http://9ri-information.info/67956423/does-advertising-really-work-.html [Pingback]
http://9uafd-le-informazioni.info/97499268/gara-appalto-servizio-assistenza-mino... [Pingback]
http://9uafd-le-informazioni.info/88734061/index.html [Pingback]
http://9uafi-le-informazioni.info/12468555/index.html [Pingback]
http://9uaed-le-informazioni.info/85231269/index.html [Pingback]
http://9uafh-le-informazioni.info/70226976/riti-d-amore.html [Pingback]
http://9uafs-le-informazioni.info/24905576/index.html [Pingback]
http://9uafi-le-informazioni.info/19717717/index.html [Pingback]
http://9uaeg-le-informazioni.info/78928010/index.html [Pingback]
http://9uafr-le-informazioni.info/35050832/index.html [Pingback]
http://9uafa-le-informazioni.info/53578010/programma-d-d-t-fattura-gratis.html [Pingback]
http://9uahh-le-informazioni.info/28252032/velocita-cpu.html [Pingback]
http://9uaht-le-informazioni.info/11857397/partenze-aereo.html [Pingback]
http://9uagn-le-informazioni.info/57187326/index.html [Pingback]
http://9uaga-le-informazioni.info/48991884/index.html [Pingback]
http://9uagr-le-informazioni.info/52945306/talamone-toscana.html [Pingback]
http://9uahf-le-informazioni.info/96306693/index.html [Pingback]
http://9uahs-le-informazioni.info/05045205/immagini-sacre-santini.html [Pingback]
http://9uagg-le-informazioni.info/89034177/minigonne-fiat-punto.html [Pingback]
Thursday, August 31, 2006 2:59:00 PM (Central Daylight Time, UTC-05:00)
I use CoRegisterMessageFilter in my COM servers to trace all inbound traffic. Works fine.



Let me know if you want a copy of the code.
Anders Melander
Monday, September 04, 2006 12:22:00 PM (Central Daylight Time, UTC-05:00)
That would be great, Anders. I tried sending you an email, but who knows if that got trapped in a spam bucket. If you read this, you know what email to use. :-)



Thanks.
Wednesday, November 08, 2006 9:53:00 AM (Central Standard Time, UTC-06:00)
Anders,



Any chance you could make the code public somewhere? A blog entry perhaps? Or allow Dan to write a blog entry using your code?



Thanks!
Jon Robertson
Comments are closed.
Navigation
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Dan Miser
Sign In
Statistics
Total Posts: 375
This Year: 3
This Month: 0
This Week: 0
Comments: 654
Themes
Pick a theme:
All Content © 2012, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)