fixed /analyze error with T2CA macro; split SetName() function in two, for LPCWSTR and LPCSTR
fixed /analyze error with T2CA macro; split SetName() function in two, for LPCWSTR and LPCSTR

vividos/RemotePhotoTool,vividos/RemotePhotoTool,vividos/RemotePhotoTool,vividos/RemotePhotoTool