While building testmon.exe, the following condition caused the link error to be reported:
The project’s Library File’s path needs to include the location of smcapi32.lib, which is assumed to be in C:\SYBASE\MONCLT\LIB.