Solved

"OLESPY"

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

839 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