I've just updated to Visual Studio 2010 Full, before I was on Visual Studio 2008 shell.
With Visual Studio 2008 shell I had to use the program 'ResEdit' to edit the resouce file - to edit the dialogs etc.
With Visusal Studio 2010 full I should be able to edit the dialogs directly - how do I do this, back in VF6.6 there was a resource tab.
Also how do I get the watch window to be displayed when debugging - I can't see anything that looks like it, just an 'immediate' window.
I'm sure the answers are simple its just getting used to the new terminology.
Thanks
David
With Visual Studio 2008 shell I had to use the program 'ResEdit' to edit the resouce file - to edit the dialogs etc.
With Visusal Studio 2010 full I should be able to edit the dialogs directly - how do I do this, back in VF6.6 there was a resource tab.
Also how do I get the watch window to be displayed when debugging - I can't see anything that looks like it, just an 'immediate' window.
I'm sure the answers are simple its just getting used to the new terminology.
Thanks
David
链接已复制
79 回复数
With full VS2010, and the Visual C++ component installed, you should be able to edit dialogs. You're sure you're in the VS2010 environment? Did you do a default install of VS2010 before installing Intel Fortran?
The problem now is that the folder containing the Windows SDK .h files is not in the Includes path. This ought to have been set up when Visual C++ got installed, but some customers find it didn't. Maybe the order in which you did the install contributed to the problem.
Find the folder on your system containing windows.h. It is possibly C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\ Add this to the list in Tools > Options > Intel Visual Fortran > Compilers > Includes.
Find the folder on your system containing windows.h. It is possibly C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\ Add this to the list in Tools > Options > Intel Visual Fortran > Compilers > Includes.
The include files are:
$(IFortInstallDir)compiler\include
$(IFortInstallDir)compiler\include\ia32
$(IFortInstallDir)mkl\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
$(WindowsSdkDir)include
$(FrameworkSDKDir)include
The .h files are in
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
I'm not sure what I actually add.
$(IFortInstallDir)compiler\include
$(IFortInstallDir)compiler\include\ia32
$(IFortInstallDir)mkl\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
$(WindowsSdkDir)include
$(FrameworkSDKDir)include
The .h files are in
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
I'm not sure what I actually add.
It's the $(WindowsSdkDir) definition which is the problem. It comes from a registry entry which may not be correct. You can look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows to see if CurrentInstallDir matches what you found above. It should. Otherwise, just add that folder to the list for Includes.
Sorry, I've tried various combinations but still cannot get it to work.
I'm worried incase I mess someting up.
The registry entry is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows
has c:\program Files\Microsoft SDKs\Windows\v7.1
There are also directores for v6.0A, v7.0A & v7.1, they contain
c:\program Files\Microsoft SDKs\Windows\v6.0A
c:\program Files\Microsoft SDKs\Windows\v7.0A and
c:\program Files\Microsoft SDKs\Windows\v7.1 respectively
The project properties compile includes are:
$(IFortInstallDir)compiler\include
$(IFortInstallDir)compiler\include\ia32
$(IFortInstallDir)mkl\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
$(WindowsSdkDir)include
$(FrameworkSDKDir)include
The windows.h is in:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
and also at
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
Maybe the registry entries should be "Program Files (x86)" rather than "Program Files".
I'm worried incase I mess someting up.
The registry entry is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows
has c:\program Files\Microsoft SDKs\Windows\v7.1
There are also directores for v6.0A, v7.0A & v7.1, they contain
c:\program Files\Microsoft SDKs\Windows\v6.0A
c:\program Files\Microsoft SDKs\Windows\v7.0A and
c:\program Files\Microsoft SDKs\Windows\v7.1 respectively
The project properties compile includes are:
$(IFortInstallDir)compiler\include
$(IFortInstallDir)compiler\include\ia32
$(IFortInstallDir)mkl\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
$(WindowsSdkDir)include
$(FrameworkSDKDir)include
The windows.h is in:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
and also at
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include
Maybe the registry entries should be "Program Files (x86)" rather than "Program Files".
What do you have in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows (if you are on an x64 system)?
What about HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows ?
What about HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows ?
Here are the entries of the registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows
C:Program Files\Microsoft SDKs\Windows\v7.1\
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows
C:Program Files\Microsoft SDKs\Windows\v7.1\
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows
C:Program Files\Microsoft SDKs\Windows\v7.1\
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows
C:Program Files\Microsoft SDKs\Windows\v7.1\
There should be four values under that key, (Default), CurrentInstallFolder, CurrentVersion and ProductVersion.
You could try this. Uninstall Fortran. Do a "Repair" on VS2010 from Programs and Features, then reinstall Fortran. Or you can download and install a recent Windows SDK which might correct the problem.
You could try this. Uninstall Fortran. Do a "Repair" on VS2010 from Programs and Features, then reinstall Fortran. Or you can download and install a recent Windows SDK which might correct the problem.
Yes there are 4 values:
for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows:
Default - not set
CurrentInstallFolder : c:\programfiles\Microsoft SDKs\Windows\v7.1\
Current Version : v7.1
Product version : v6.0A
for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows:
it is the same.
I will reinstall Fortran tomorrow unless you suggest otherwise.
Thanks
for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows:
Default - not set
CurrentInstallFolder : c:\programfiles\Microsoft SDKs\Windows\v7.1\
Current Version : v7.1
Product version : v6.0A
for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows:
it is the same.
I will reinstall Fortran tomorrow unless you suggest otherwise.
Thanks
