upgrade vc++ to VS2015

  • Thread starter Thread starter Ngcc
  • Start date Start date
N

Ngcc

Guest
Hello,

I am currently working on upgrade my code C++ from VS2010 to VS2015. I need your help for some issues.

1. My first question is which platform I need to choose, windows 8.1 or 10. The first I need to compile my project in windows 7 and then deliver the update .dll(in a setup package)to users who may have windows 7 or 10 OS. The second, the programer in my team who have window 7 or 10, we need both OS can compile and debug the project sucessfully. is possible only target to window 10 platform in both window 7 and 10 with VS2015, the programmer can use any OS and User also can use our update in any OS?

2. I tried to open my project with VS2015 and the project was upgraded automatically, the default platform is windows 8.1. The first I got error like "Cannot open include file: 'windows.h': No such file or directory". I added "$(WindowsSDK_IncludePath)" in additional include directory and then rebuild the project, I got another error "Cannot open include file: 'ctype.h': No such file or directory", I found the file was in "C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0" which seems for platform of windows 10, is there a ctype.h for windows 8.1? anyway, I include this location and then rebuild the project although it is incorrct, I got error "cannot open include file 'winres.h'", I right lick "#include "winres.h"" and then select the command of "Open document winres.h", it can open it but the loation is "C:\Program Files (x86)\Windows Kits\8.1\Include\um\winres.h". I do not know how to fix it.

Now I switch the platform to 10.0.15063 and then I rebuild the project, I got error like "TRK0005 Failed to locate: "rc.exe". The system cannot find the file specified".

anyone can help on this?

Thanks a lot for your help in advance!


Ngcc

Continue reading...
 
Back
Top