Solved

WIN API Spy

Posted on 2001-07-01
9
927 Views
Last Modified: 2012-06-27
Hi.
In http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=cplusprog&qid=20142295
I was suggested to use WIN API Spy.
Where can I find such a thing?
Thank you in advance.
0
Comment
Question by:sisadmin
9 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 6242154
One useful tool is Numega/CompuWare's SoftICE.  This lets you break on and examine all calls to a Windows DLL or just specific API functions.

If you're wanting to understand how a particular app does its "thing" this is an invaluable tool.

It's possible to "hook" specific Windows API calls using techniques described in Jeffrey Richter's Programming Applications for Windows book but I'm not aware of a general purpose Windows API spying tool.

Perhaps the thought was of the BoundsChecker tool.  This can, when used on your app linked with a specially built run-time library, spy on all Windows API calls and it will validate the parameters to the calls.  It's a useful debugging tool but it won't "spy" in general.
0
 
LVL 1

Expert Comment

by:ua1zcl
ID: 6242456
Another tool to spying for API called from exe file
is Matt Pietrek apispy tools from book named "Windows95
System Programming Secrets" with floppy disk supplyed
source code. This tool (apispy32.dll + apispyld.exe) can save to logfile values passed to functions and returned values. Later i added to this tool some my tool,s to spy for nonsystem dll's whenever they are called but this required to modify dll's code to let system load myspy.dll
(similar as Matt Pietrek's one). But this all can't spy for system dll's as SoftIce debbuger.
0
 
LVL 86

Expert Comment

by:jkr
ID: 6242689
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 86

Expert Comment

by:jkr
ID: 6242707
0
 
LVL 86

Expert Comment

by:jkr
ID: 6250509
Well, did you manage to download one of these?
0
 
LVL 1

Author Comment

by:sisadmin
ID: 6251252
I'm learning how to use for this purpose (API spying )Numega SoftICE product. Any information will be helpfull.
thank you.
0
 
LVL 1

Author Comment

by:sisadmin
ID: 6258373
Hi.
I've downloaded the SoftICE program. I see that ir's a very powerfull utility, but how can I spy WIN API calls for programs I don't have sources for them? By analazing the assembly code?
0
 
LVL 1

Author Comment

by:sisadmin
ID: 6276839
Thank for all of you, but jhance SoftICE suggestion was most helpfull
0
 
LVL 3

Expert Comment

by:Adrien de Croy
ID: 22737086
in case anyone else comes in here looking for API spy software, you should note that Compuware SoftICE has been discontinued.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

821 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