Can I monitor the COM calls to my VisualBasic 6 ActiveX control?
source link: https://www.codesd.com/item/can-i-monitor-the-com-calls-to-my-visualbasic-6-activex-control.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Can I monitor the COM calls to my VisualBasic 6 ActiveX control?
I wrote a little ActiveX control in VisualBasic 6 which is going to be used as a plugin for some 3rd party framework. The framework expects that my control exposes a few properties and methods. It all seems to work well except that one of my properties seems to be ignored.
In C++, I could put debug statement into the reimplementations of IDispatch::GetIDsOfNames
and IDispatch::Invoke
to see which members the framework attempts to access - maybe the documentation is wrong, and it's expecting a different property name or something.
Is it possible to monitor the accesses to COM properties/methods in Visual Basic 6, too?
The easiest way is to add logging of some form in the methods/properties in question. I don't think you can hook the lower level COM calls though. For the logging, you can use OutputDebugString()
.
Related Articles
How can I monitor the Perl call stack?
How can I monitor the bandwidth of an object in the Amazon S3 service?
How can I monitor the NIC (up / down) status in a C program without querying the kernel?
Can you monitor the SQL server to indicate exactly which queries have been executed?
How can I monitor the memory used by a specific process in AWS cloudwatch?
Can you monitor the execution of an SSIS package in BIDS as it runs on the server?
You can not return the AJAX call details to the Google Maps API?
How can I make the HTTP.call meteorite server through the proxy?
Struts2: How can I monitor the progress of a SERVER SIDE action flow?
C # Generic Overload - The compiler can not determine the correct call
How can I monitor the return value changes of the objective-c method?
How to get an IHTMLElement pointer to the & lt; object & gt; tag hosting an ActiveX control
Can I monitor the Pid mailbox that represents a Java mailbox via JInterface?
How can I stop the RestTemplate call when my thread is interrupted?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK