Platform SDK: Exchange Server |
After the preceding setup steps have been performed, installing the counters is simple. Go to a command prompt, switch to the directory where MYGATE.INI and MYGATE.H are located, and type the following:
LODCTR MYGATE.INI
To uninstall the counters, type:
UNLODCTR MyGate
Note that UNLODCTR takes the name of the gateway type, not the .INI file.
The Windows NT Performance Monitor should now recognize the counters. The performance monitor DLL will not return any actual counter values to the monitor until your gateway is running and sending it data. For that to happen, you need to add Microsoft Exchange Server performance monitoring calls to your gateway code.