oddaolse
asked on
"OLESPY"
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.
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.
The Microsoft Developers kit contains these tools.
ASKER
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).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I am satisfied with the answer and give it an grade 'A'