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

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%\system32\notepad.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

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.