Jump to content

Recommended Posts

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 by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/25190-const-char-to-tchar/
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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
https://metin2.dev/topic/25190-const-char-to-tchar/#findComment-134598
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.