Solved

"OLESPY"

Posted on 1997-03-04
4
509 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 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decadeā€¦

688 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