Debugging Administrator Extension DLLs

The following steps show how to debug and set a breakpoint in an Administrator extension DLL in Visual C++ Version 4.0.

    To set debug breakpoints for extension DLLs
  1. Start Visual C++.
  2. From the File menu, choose Open, and select the EXCHSRVR\BIN\ADMIN.EXE file.
  3. From the Project menu, choose Settings.
  4. On the Debug page, add the name and full path of your extension DLL in the Additional DLLs dialog box.
  5. Open your extension DLL source and set the breakpoints.
  6. To start the Microsoft Exchange Server Administrator program and begin debugging, choose Debug, choose Go, or press F5.
  7. Check Yes for OK not to have debugging information for this file.
  8. Use the Administrator program to open a directory object on which your extension DLL is installed.
  9. The Administrator program calls your DLL. The debugger will now stop at any breakpoints you have set.