永发信息网

如果将MFC项目中的所有文件,直接复制到另一个新建立的项目里可以实现原项目的功能吗?

答案:3  悬赏:0  手机版
解决时间 2021-03-21 07:51
  • 提问者网友:心牵心
  • 2021-03-21 02:04
如果将MFC项目中的所有文件,直接复制到另一个新建立的项目里可以实现原项目的功能吗,谢谢好心的高手帮助,十二万分的感谢!!!

有木有详细的解答方案啊,好心的高手们,不胜感激!!!
最佳答案
  • 五星知识达人网友:孤老序
  • 2021-03-21 03:39
不可以,工程添加进另一个woekSpace就可以。
全部回答
  • 1楼网友:第幾種人
  • 2021-03-21 05:13
不行的,你建一个响应,会在很多函数里面添加东西,你不能全都能过去
  • 2楼网友:枭雄戏美人
  • 2021-03-21 03:52
使用copyfileex函数,原型: bool copyfileex( lpctstr lpexistingfilename, // name of existing file lpctstr lpnewfilename, // name of new file lpprogress_routine lpprogressroutine, // callback function lpvoid lpdata, // callback parameter lpbool pbcancel, // cancel status dword dwcopyflags // copy options ); lpprogressroutine 参数用于传递回调函数,lpdata是回调函数的附加参数,有一定vc基础的话不难理解。 copyprogressroutine原型: dword callback copyprogressroutine( large_integer totalfilesize, // file size large_integer totalbytestransferred, // bytes transferred large_integer streamsize, // bytes in stream large_integer streambytestransferred, // bytes transferred for stream dword dwstreamnumber, // current stream dword dwcallbackreason, // callback reason handle hsourcefile, // handle to source file handle hdestinationfile, // handle to destination file lpvoid lpdata // from copyfileex );
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯