Solved

"OLESPY"

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

805 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