Reputation: 1
I have two separate machines. On first machine I have installed windows Xp and visual studio 2008 and on the other machine Windows 7 and visual studio 2008. I have an application which was created on the first machine i.e. on windows Xp and visual studio 2008. Question: When I am trying to compile on windows 7 platform, it does not work. It shows errors for header file, resource file and linker errors.
P.S. - I saw nearly 350 header files on first machine under visual studio 2008 ....\vc\include and on second machine only 150. why this is so?
Upvotes: 0
Views: 704
Reputation: 2145
Did you try compiling it as "Any CPU" or "x86" ? Incase if you still find issues try this http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
Upvotes: 0
Reputation: 6133
You probably have different versions of the Platform SDK on the two machines (although it's hard to be sure as you didn't say what the errors actually were).
Download and install the latest Windows Platform SDK via one of these methods:
(You might want to install it on both machines to keep them consistent.)
Ensure Visual Studio is not running when you install it, just in case.
After installing it, and with VS still not running, run the Windows SDK Configuration Tool which will now be in your start menu and ensure that VS2008 is configured to use the SDK you just installed.
Upvotes: 1