返回信息流要调用如下的函数,第三个参数const WCHAR *pwchInput,怎么将string转换为WCHAR *来使用这个函数呢?
GetResult( DWORD dwRequest, DWORD dwCMode, const WCHAR *pwchInput )
GetResult( dwRequest, dwCMode,
static_cast<INT>(wcslen(pwchInput)), const_cast<WCHAR*>(pwchInput),
NULL, &m_pmorrslt );
这是一条镜像帖。来源:北邮人论坛 / cpp / #7107同步于 2008/5/20
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖
如何将string转换为WCHAR *?
jingle
2008/5/20镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。
3 条回复
MultiByteToWideChar
好像是这个函数
【 在 jingle (楚天邮情|JinglE) 的大作中提到: 】
: 要调用如下的函数,第三个参数const WCHAR *pwchInput,怎么将string转换为WCHAR *来使用这个函数呢?
: GetResult( DWORD dwRequest, DWORD dwCMode, const WCHAR *pwchInput )
: GetResult( dwRequest, dwCMode,
: ...................