Re: Error C2535 With vector ("member function already defined")



Swen Johnson wrote:
Doh ! The Include directories look like this:

$(VCInstallDir)include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)PlatformSDK\include\prerelease
$(VCInstallDir)PlatformSDK\include
$(FrameworkSDKDir)include


$(VCInstallDir) and $(FrameworkSDKDir) are both:

"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE"

And (of course ?) there ain't no include files there.

I brought up a "Visual Studio .Net 2003 Command Prompt", and typed
"set"; I
got the following relevant variables:


[ snipped environment ]


I guess I can fiddle the Include directories in
"Tools|Options|Projects|VC++ Directories". Is that the "best" way to
fix things ?

I'm not sure where the IDE gets the base values for those macros, but it's
odd that they're wrong. You can probably get things going by simply
replacing the macro invocation with the correct path, but I'd guess that
there's something messed up with your VS2003 installation that may cause
other problems down the line.

What do you see in the registry at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Setup\VC?

I see a ProductDir REG_SZ that's the correct value of $(VCInstallDir) on my
system. I'm don't think that's where the IDE gets the directory from, but
if that registry entry is similarly wrong, that would definitely be
indicative of a messed up installation.

-cd


.



Relevant Pages

  • Re: Visual Basic 6.0 operations
    ... migration.. ... past installation of my os.. ... one good question could be why uninstall the visual studio 2005, ... The second thing I do is I installed Visual Basic 6.0 Service Pack 6... ...
    (microsoft.public.vb.directx)
  • Re: Supported OS
    ... Finally found the page with the VS Installation information. ... The computer on which you install your Visual Studio edition should meet the ... Without MSDN: ... With SQL Server Express: ...
    (microsoft.public.dotnet.framework)
  • Re: Visual Basic 6.0 operations
    ... migration.. ... past installation of my os.. ... one good question could be why uninstall the visual studio 2005, ... The second thing I do is I installed Visual Basic 6.0 Service Pack 6... ...
    (microsoft.public.vb.directx)
  • Re: "Visual Web Developer does not support creating Web sites on a
    ... alias TestSite, and point it to the folder you created named TestSite. ... This indirect method is necessary, it seems, because Visual Studio 2005 ... installation installed SharePoint when, in fact, it appears that it was ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Business Intelligence Dev Studio does not install correctly
    ... BIDS seems to be Visual Studio ... (which installed with a broken short-cut after installation). ... PrivateAssemblies folder in to the 2005 directory and now i get "object ...
    (microsoft.public.vstudio.general)

Loading