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