请帮忙看一下这个怎么改

dodont 2004-04-05 10:35:11
pFileSource ->GetCurFile(L"C:\\DXSDK\\Samples\\Media\\clocktxt.avi", NULL)
E:\loppp\projects\textout\textoutDlg.cpp(216) : error C2664: 'GetCurFile' : cannot convert parameter 1 from 'unsigned short [36]' to 'unsigned short ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
...全文
22 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
dodont 2004-04-05
  • 打赏
  • 举报
回复
一解决马上给分。
GoogleGeek 2004-04-05
  • 打赏
  • 举报
回复
what's the prototype of GetCurFile()??


WCHAR *wchar_temp=L"C:\\DXSDK\\Samples\\Media\\clocktxt.avi";
pFileSource ->GetCurFile(reinterpret_cast<unsigned short**>(&wchar_temp),NULL);

2,543

社区成员

发帖
与我相关
我的任务
社区描述
专题开发/技术/项目 多媒体/流媒体开发
社区管理员
  • 多媒体/流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧