Hik 108 Posted December 28, 2020 Share Posted December 28, 2020 (edited) Hi guys, I don't know why but recently I get this error: https://metin2.download/picture/Af1UIjS8iDNMd9OY2A01yqvprXZwB079/.png Quote unable to convert argument 3 from 'const char [9]' to 'TCHAR *' How can i solve? Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium filipw1 1927 Posted December 28, 2020 Premium Share Posted December 28, 2020 Try chaning it to: while ((ch = getopt(argc, argv, TEXT("npverltI"))) != -1) Link to comment Share on other sites More sharing options...
Hik 108 Posted December 28, 2020 Author Share Posted December 28, 2020 Same error... Link to comment Share on other sites More sharing options...
Premium flatik 190 Posted December 28, 2020 Premium Share Posted December 28, 2020 char optstring[9] = "npverltI"; while ((ch = getopt(argc, argv, optstring)) != -1) or set c ++latest to c ++ 17 or c ++ 14... 1 c++latest, latest libs... Link to comment Share on other sites More sharing options...
KKebab 0 Posted December 28, 2020 Share Posted December 28, 2020 while ((ch = getopt(argc, argv, L"npverltI")) != -1) Link to comment Share on other sites More sharing options...
Hik 108 Posted December 28, 2020 Author Share Posted December 28, 2020 4 hours ago, flatik said: char optstring[9] = "npverltI"; while ((ch = getopt(argc, argv, optstring)) != -1) or set c ++latest to c ++ 17 or c ++ 14... Thanks, work! 4 hours ago, KKebab said: while ((ch = getopt(argc, argv, L"npverltI")) != -1) Not work... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now