How can I tell which DLL and API calls a program makes?

John Savill

August 9, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. The Microsoft Windows 2000 Resource Kit and Microsoft Windows NT Resource Kit supply a utility called APIMON that you can use to monitor all DLL and API calls. To use the utility, perform the following steps:

  1. From the Start menu, select Run, then apimon.exe.

  2. From the File menu, select Open.

  3. Select the image you want to monitor, and click OK. (I'm using %systemroot%system32otepad.exe.)

  4. Two blank windows, DLLs in use and Api Counters, open.

  5. The next task is to start the selected image. Click the green Play arrow (or select Start Monitor from the Tools menu).

  6. The application will start, and the two blank windows will now include DLL and API information.

  7. When the program monitoring is complete and the program is closed, click Stop or select Stop Monitor from the Tools menu.

  8. Stopping the API Monitor program also stops the image that the program had loaded, so make sure you don't lose any work.

Click here to view image

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like