C++ Convert SQLVARCHAR to string
I need to convert from a SQLVARCHAR to a string data type variable definitions as follows: string strFirstName; SQLVARCHAR rtnFirstName[50]; Want to be able to accomplish the following: if (strFirstName.empty()) strFirstName = rtnFirstName; Gives an error that the binary '=': no operator found which takes a right-hand operand of ty...