?
Solved

"OLESPY"

Posted on 1997-03-04
4
Medium Priority
?
518 Views
Last Modified: 2013-12-28
Is there any way to monitor what OLE messages are passed between different processes on NT 3.51?

My problem is this:
I have a client (written i VB) and an OLE Automation server (written in VC++ 4.0, approx. 100 objects each having about 15 methods in average).

Sometimes when the client is executing a CreateObject statement I get the error message "OLE Automation Error. OLE service could not communicate with the object server". Now, if I try to execute the statement again, in a loop for instance, the statement will sooner or later succed. The maximum number of iterations in the loop so far is
about 40. Usually it will succeed one the second iteration.

I am unable to find the cause of this error, so I was thinking that if I could montior what was happening in "who i calling who, and what is returned" then I might be able to get some progress.
0
Comment
Question by:oddaolse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:bcp
ID: 1776742
The Microsoft Developers kit contains these tools.  
0
 

Author Comment

by:oddaolse
ID: 1776743
Well, the only tool I know of is Spy++ which is installed along with VC++. So I increase my points to 400 and would like to know what these tools are (the names please).

0
 
LVL 1

Accepted Solution

by:
stoddarj earned 1200 total points
ID: 1776744
Microsoft has a tool called OLESPY.EXE in their Software Library.  You can obtain this tool from their ftp site.  The path is ftp.microsoft.com/softlib/mslfiles/TOOLKIT.EXE.

You can also reference Q87482 from Microsoft's Knowledge Base  for other locations.
0
 

Author Comment

by:oddaolse
ID: 1776745
I am satisfied with the answer and give it an grade 'A'
0

Featured Post

Limited time offer using promo code EXPERTS30

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through September 15, 2017, Experts Exchange members get 30% off the US7220 on the ATEN USA eShop using promo code EXPERTS30.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question