Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 15:39

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



error C2440: '': cannot convert from '_Ty2' to 'CString'

Discussion on error C2440: '': cannot convert from '_Ty2' to 'CString' within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
error C2440: '': cannot convert from '_Ty2' to 'CString'

error C2440: '': cannot convert from '_Ty2' to 'CString'
jericho2nd is offline  
Old 03/30/2020, 12:21   #2
 
Naltalah's Avatar
 
elite*gold: 0
Join Date: Aug 2016
Posts: 308
Received Thanks: 372


Every compile error is listed in the MSDN. Basically this error is telling you that a data-type can't be converted to CString.

Without seeing the code that throws this error, we won't be able to tell you why exactly it doesn't work.
Naltalah is offline  
Thanks
1 User
Old 03/30/2020, 12:45   #3
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
Quote:
Originally Posted by Naltalah View Post


Every compile error is listed in the MSDN. Basically this error is telling you that a data-type can't be converted to CString.

Without seeing the code that throws this error, we won't be able to tell you why exactly it doesn't work.
here the code
Code:
if (script.Token == _T("title"))
				{
					script.GetToken(); // (
					script.GetToken();
					szpName = CString(CScript::m_mapString.find(script.token)->second);
					script.GetToken(); script.GetToken();
				}
jericho2nd is offline  
Old 03/30/2020, 12:50   #4
 
Naltalah's Avatar
 
elite*gold: 0
Join Date: Aug 2016
Posts: 308
Received Thanks: 372
I won't give you the solution, try to figure it out on your own.
Just try different approaches and you will get to it eventually.

This forum is to get help, not free solutions after all.

Just try to look at the MSDN and figure out why your code doesn't work.
Naltalah is offline  
Thanks
1 User
Old 03/30/2020, 12:57   #5
 
elite*gold: 0
Join Date: Jul 2015
Posts: 170
Received Thanks: 10
Quote:
Originally Posted by Naltalah View Post
I won't give you the solution, try to figure it out on your own.
Just try different approaches and you will get to it eventually.

This forum is to get help, not free solutions after all.

Just try to look at the MSDN and figure out why your code doesn't work.
I solve thanks to you!
jericho2nd is offline  
Reply


Similar Threads Similar Threads
Kick to convert: easy and fast way to convert your item_proto/mob_proto to txt files!
09/07/2016 - Metin2 PServer Guides & Strategies - 21 Replies
Hi all, this is my first release :) This "kick converter" will allow you to generate txt files (item_names, item_proto, mob_proto, mob_names) for the rev-34k game. The script was written in python by me, so you need python 2.7 and MySQLDB (python extension) installed on your server. If you found any error, please report it to me and I'll fix it as soon as possibile. PS: If you get errors while converting the item_proto, please remove items that have type 29 or type 31.
[Error]Cannot convert to INT from Edited
02/10/2011 - Dekaron Private Server - 2 Replies
Hey,i've been trying to do a test server for me to learn a little dev things...but i got the next error : http://img641.imageshack.us/img641/743/error1a.jp g I dont know what to do...can someone give me a tip or something?



All times are GMT +1. The time now is 15:40.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.