char, WCHAR, and TCHAR string parameters cannot be mixed

Error code 2699
 Probable cause