Changed snprintf to epicsSnprintf because snprintf is not supported on Windows