这意味着什么? [英] what it does mean?

查看:144
本文介绍了这意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误C2664:'RFX_Long':无法将参数3从'CString'转换为'long&'

error C2664: 'RFX_Long' : cannot convert parameter 3 from 'CString' to 'long &'

推荐答案

这是来自MSDN文档: http://msdn.microsoft.com/en-us/library/vstudio /s5b150wd%28v=vs.100%29.aspx [ ^ ]



'RFX_Long':无法将参数3从'CString'转换为'很长&';



那么这意味着什么呢?你显然将一个参数(第三个)传递给RFX_Long,你传递的是CString类型,但是对long的引用被删除了加上没有从CString转换为对long的引用。



多长时间的引用是什么?

任何合法表达式允许作为赋值语句的左侧,其中指定的部分(右侧)具有类型很长会做。



干杯!
This is from the MSDN documentation: http://msdn.microsoft.com/en-us/library/vstudio/s5b150wd%28v=vs.100%29.aspx[^]

'RFX_Long' : cannot convert parameter 3 from 'CString' to 'long &'

So what does this mean then? You obviously passed a parameter ( the third one) to RFX_Long and what you passed was of type CString, but a reference to a long was expexted plus there is no conversion possible from a CString to a reference to a long.

What exactly is a reference to a long?
Any legal expression allowed as the lefthand side of an assignment statement where the assigned part (righthand side) has the type long will do.

Cheers!


这篇关于这意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆