Solved

"OLESPY"

Posted on 1997-03-04
4
466 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
  • 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 400 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A few months ago I had an issue with LaserJet 1020 printer which was installed to XP and Windows 7.  It was installed to XP and working, but when I tried to connect from a Windows 7 PC, it would attempt connection and then fail.  Sometimes the Spool…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now