StringCchCopy和_tcscpy_s有什么区别? [英] What's the difference between StringCchCopy and _tcscpy_s?

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

问题描述



你能解释一下 StringCchCopy _tcscpy_s 之间的区别吗?

StringCchCopy是否安全字符串函数呢?

感谢您的帮助!

解决方案

StringCchCopy Windows API 功能。它像 _tcscyp_s 一样'安全'。 _tcscpy_s 是一个CRT功能(参见MSDN上的兼容性)了解更多信息 [ ^ ])。

Hi,
Could you explaine me what's the difference between StringCchCopy and _tcscpy_s?
Is StringCchCopy safe string functions too?
Thanks for help!

解决方案

StringCchCopy is a Windows API function. It is 'secure' like the _tcscyp_s is. The _tcscpy_s is a CRT function (see Compatibility at MSDN for more insight[^]).


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

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