#include "stdafx.h" BOOL IsValidX500Chars(CString csStringToCheck); BOOL IsValidPathFileName(LPCTSTR lpFileName); BOOL IsValidPort(LPCTSTR str);