VC6工程迁移到visualstudio2013-64位编译_第1页
VC6工程迁移到visualstudio2013-64位编译_第2页
VC6工程迁移到visualstudio2013-64位编译_第3页
VC6工程迁移到visualstudio2013-64位编译_第4页
VC6工程迁移到visualstudio2013-64位编译_第5页
已阅读5页,还剩7页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、fou can firtd infrmatiart bout new Matures and enhancements in rofrSSiOndl 2013 by revi-Ving the oilowing sectionsAccourrt Sortings,.E3 bciEAlt十Lean cbajl: aw Fratures m PpFcwiciI 2013ntwin.Nll Iritww&rts-S.l府h漩耳new m Team Fourxi緘kw ServiceAyloTdirgHPdDpteciiionReIncate* rheN inforrmeition5vnSerwrCr

2、a iii or dur Lo opn thm. Vou VvMnot be able to open the矗 project? in th vrsjon of ViujI Studio in which they origirully created.J .,V-AutoT arqet fDDetectio n64Au to! eirg etOe tert ion. dspJ .V Ai jto Tarqrt FD Dp tp c t io nMAi i to! g ptQe t ec t ion. -1 nOK CdnceJL-bkn 卑-,一匚一呂疋This inffernution

3、vill be written to the upgrade lo 五血 加 th亡 solution Mirectory- 匚 opy Information配置64位编译器单击 配置管理器”,如下图:鼻Q 去ETar寸etlWfectKjri - Mtcmcih. Wwl S-tudc (AdmriiLErjVcM-FIL EDIT VIEW PROJECTDOUG TLWI TOOLS TtSr AluALritC p .3 * t. H hl1 Local Wndbwi ChefcugigeT - | Debug 口 T10 Quaclf LAJhCh(Ctrl-Q)P 序W3MDOW

4、 H1LPSign in Hiee Expk3rnl SWBXMKSdutio Mpkre-T” 耳 xta 疔it別* Scwrch Scrfulwn EjqAim .Ctri* 活P R Siitiofi AutolArgetDetectiEWi* (1 profedi j I%- ALrfdTAi-gMDMj*Wrtb ExleriMi epemixrt!P H He*dc* Hlff%| ;b iRewwBce Flle-fiP |ft Sovrce Files只曙鼻日百中巴ty|HEGEfllT;Tklfl .RECConfiguration Manager rrTTWrWTIVW

5、*py Wdr 5ITLT 許户气r,Ajuco-TjfgacDacclQfu-M vIf A SfTUPJE notEhull lbwitig.ltrid in Miur Ifikt In&t af*c AdtoHd* 1-cJly niith a call toCil-sTys h C&leObjettfx ttiB-!metrctiorLieiQ) Re*dhf.brtEV_CUI5St5_RiXir ,C L0 FFdidl -ID - CiF * IE TQ1E14 = iurtoTfl DucunentMC Ev_CU5US*00rC LSE&A 卩轉列1 “ M *&Ei WHI

6、h (if! IfTDlf 她诃r寸 d 启賊訂时.MKFV-ClUUSES-KKn riSCD1!, (FIS191D3-F434 -4BE2-9irt- C4FF1E7D1EI4 |_KAlSd4F Al这是原来的32位编译器选择New”新建,选择 新的平台x64匚 on figurationArtiw- sokirion cn-nfig?iiiritionArt tnlijrion pfaDrm:DebugProjectCenfiqurdtiooAUT&TftrgtTOWCTionDebugrWin32Ckw配置完成,关闭该窗口,即可编译64位工程。hl 匸fu-so ft Viija

7、StudioThis project H out ofAuioTdrgtDetettion Debug xMWould you like to build it?Ves赳qCancelDo not how this diallog againM irosofr vk q| smdi o用 Visual Studio 编译 64 位程序0There were build ehcms” Would you like l口 continue and run thebst successful build?YesNoDo iniDt Sihciw thi*s dialog again迁移工程的编译过程

8、中,难免出现问题。error MSB8031Error 1 error MSB8031:Building an MFC project for a non-Unicode character set is deprecated. (弃用的 non-Unicode 字 符集)You must cha nge the project property to Uni code or dow nl oad an additi onal library. See nk/p/?L in kld=286820 for more in formati on.C:Program Files (x86)MSBui

9、ldMicrosoft.Cppv4.0V120Microsoft.CppBuild.targets 3695 AutoTargetDetectio n解决办法:下载插件:Multibyte MFC Library for Visual Studio 2013 n/dow nl oad/details.aspx?id=40770Visual Studio 2013 的加载项包含 Microsoft基础类(MBCS) 库的多字节字符集(MFC)版本Multibyte MFC Library for Visual Studio 2013=-5根据visual studio的语言,选择相应插件。下载完

10、成后关闭VS2013并安装插件0 Visual StudioVisual C+ MFC MBCS Library forVisual Studio 2013站up rpquii 475 MB in;玉 T agrw to the-and RnMKy 阳(呵Joiii Vmidl SftudiD tpanentt InnpfciMnBnl. Rrtg(出f to he4p 布l茵疗魄 11 椅 qydRy.nci贋StudiofepKMQ. INSTALL五分钟左右后,插件安装完毕W Visual StudioVisual C + + MFC MBCS Library forVisual Stu

11、dio 2013AGJuiriQ!闻:Vtsmil 匸十十 MFC MBCS LAirairy for Visual SteidKiM Visual StudioVisual C+ MFC MBCS Library for Visual Studio 2013Setup Successful!Al ipraHed DprnpcyfKnc hm hefn in sidled sucmfijlhjr.用VS2013打开VC6.0编写的项目文件,则不会提示多字节字符集错误iii.nIK-2.rrfTr.i-pd 上 IfT ETTLi Lcfcr-s s.isti_.ii ij? : 、 叮泄工l:

12、屮申尹严IM电 vhtM1 t3-LC3- fff TlAi t*FiOEfft占艸 d9-M4lflj id-rTi 7i - .Ml Flifl 11 !?i?irUz | H应 ifd l jjij-f 切即JIL r-sCI il?mI jiiiS L2- elliTAlKlijijf ifir l盯e r-rtir r* f. rt p i ir nr. . - n.ar*r hf IhA*FJl n*1Hiraii tdtoT Cam Lant riaJtttwa. w!dl b I 刊nf m Ml hXL-t JLitLM .Bta.X H. 1MX1Mal :!g LiL M

13、*n Alkhf JilA.lUifc JI Id.l! 13 !.p rbH|d&.旦d IIftMft rvr:.上r:v: TuLn tf. ILrwf 仁才IVlHLj ,iirei;.iarr tnirtit 1 ilil!-4iir1 Iv lK 11L:*c工;LlH r-TPr-hii T编译正常喽编译错误C2065解决办法,将for (int i = 0; i m_deviceList.size(); i+) 中变量i的定义放到函数体开头int i;for (i = 0; i m_deviceList.size(); i+) error C2440(1) static_cas

14、t : cannot convert from void (_cdecl CWin dowTip:* )(UINT) to void (_cdeclCWnd:* )(UINT_PTR) E:2015prog2-AutoTargetFDDetectio n64Wi ndowTip.cpp 128 1 AutoTargetDetectio n解决办法:http:/www.viva64.eom/e n/k/0011/search for the li ne On Timer(UINT beforecompilati onand replace it withOn Timer(UINT_PTR .原来

15、的 On Timer 定义:afx_msg void On Timer(UINT nIDEve nt);改为:afx_msg void On Timer(UINT_PTR nIDEve nt);(2) static_cast : cannot con vert from UINT (_cdecl CSizi ngCon trolBarG:* )(CPoi nt) toLRESULT (_cdecl CWnd:* )(CPoi nt)E:2015prog2-AutoTargetFDDetectio n64scbarg.cpp571AutoTargetDetecti on解决办法: on s/33

16、65935/how-to-fix-error-with-sample-code-for-mfc-tooltip 原来的 OnNcHitTest 定义:afx_msg UINT OnNcHitTest( CPoint point);改为:afx_msg LRESULT OnNcHitTest(CPoint point;)(3) static_cast : cannot convert from BOOL (_cdecl CAutoTDNewProjectDIg:* )(void) toAFX_PMSG E:2015prog2-AutoTargetFDDetection64AutoTDNewPro

17、jectDlg.cpp41 1AutoTargetDetectio nBOOL修改为voiderror C2065GCL_HBRBACKGROUND : un declared ide ntifierE:2015prog2-AutoTargetFDDetectio n64sizecbar.cpp 536 1 AutoTargetDetectionGCL_HBRBACKGROUN用 -10 代替参考 error LNK2019error LNK2019: unresolved external symbol _declspec(dllimport) public: void _thiscall

18、CELUColorButto n:SetText(class ATL:CStri ngTchar,class StrTraitMFC_DLLchar,class ATL:ChTraitsCRT )(_imp_?SetTextCELUColorButto n QAEXV?$CStri ngTDV?$StrTraitMFC_DLLDV?$ChTrait sCRTDATLATLZ) refere need in fun ctio n protected: virtual int _thiscall CAutoTDNewProjectDlg:O nlni tDialog(void)(?Onlni tD

19、ialogCAutoTDNewProjectDlgMAEHXZ)E:2015prog2-AutoTargetFDDetectio n64AutoTDNewProjectDlg.obj AutoTargetDetectio nerror LNK2019: unresolved external symbol _declspec(dllimport) public: int _thiscallCELUDiskE nvironmen t:Obtai nM emoryM appi ngFilePoi nter(class ATL:CStri ngTchar,class StrTraitMFC_DLLc

20、har,class ATL:ChTraitsCRT ,i nt,u nsig ned char * & struct ELUPathName &)(_imp_?Obta inM emoryMappi ngFilePoi nterCELUDiskE nvironmen tQAEHV?$CStri ngTDV? $StrTraitMFC_DLLDV?$ChTraitsCRTDATLATLHAAPAEAAUELUPathName Z) refere need in fun ctio n public: int _thiscall COpe nlmageFiles:Ope nl MGLayers(st

21、ruct WorkAreaParameter & double & double & double & double & double & struct IMGDataHisto*,i nt, un sig ned char * &)(?Ope nl MGLayersCOpe nlmageFilesQAEHAAUWorkAreaParameterAAN1111PAUIMGDa taHistoHAAPAEZ) E:2015prog2-AutoTargetFDDetectio n64Ope nlmageFiles.objAutoTargetDetectio n解决办法:将两个 dll、lib重新编

22、译,OK。error LNK1123编译2010版的时候出现的这个错误是编译 2010版的时候出现的failure duri ng conversion to COFF: file in valid or corruptE:2015prog2-AutoTargetFDDetection2010LINK AutoTargetDetection解决办法:(1) 该方法失败!右键单击项目- 属性-配置属性-链接-常规-E nable In creme ntal Lin ki ng-No (/INCREMENTAL:NO)(2) 该方法成功!系统更新或软件升级中,造成有多于一个版本的Utility: cvtres.exe将 C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cvtres.exe改为 cvtres-old.exe原因说明:转换到COFF文件,完成转换工作的是 cvtres.exe这个程序。出现上面错误的根本原因是系统中存在有多个版本的 系统目录下版本:cvtres.exe oC:/Wi ndows/Microsoft.N

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论