boto

hi,

i have installed vc 8.0 express + platform sdk on my machine where i had already a working vc 7.1 C++ standard installation. btw: i work only with C++. vc 8.0 worked fine after installation, but vc 7.1 studio has now a problem with linking. i get always a fatal error in following form:

... fatal error LNK1173: unable to find entrypoint 'DllGetObjHandler' in E:\Programme\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll

i have deinstalled vc8.0 and vc7.1 and installed vc7.1 again, but it did not help. the problem remains. on internet i could not find any useful information how to fix this problem. please help as i don't want to have to reinstall the entire windows system :-(

btw: i cannot understand that these both versions are not able to coexistense on same machine. if this a known problem, it would be fine to denote this on vc8.0 installation!

cheers
boto



Re: Visual C++ General problem having vc7.1 and vc 8.0 express on same machine

Ben Anderson MSFT

It may be possible that you have all or part the 8.0 or PSDK toolset on your path which is getting picked up before the 7.1 link.exe (or cl.exe or mt.exe or ...). Another possibility is that you're mixing your include directories between the PSDK you installed and the 7.1 PSDK. Any sort of mixing in your environment variables will likely cause problems. All three elements should work well installed on the same machine, but you need to make sure (especially when you install a new set of libs like the PSDK which might try to inject itself into your paths) that in each situation you are using exclusively the set of tools and libs you intend.

Thanks,
Ben






Re: Visual C++ General problem having vc7.1 and vc 8.0 express on same machine

simonoch

I had this problem, solved by copying lib.exe from
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
to
C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin

This may or may not be of help to you.





Re: Visual C++ General problem having vc7.1 and vc 8.0 express on same machine

Ben Anderson MSFT

Instead of copying, you can always check your PATH environment variable (type "echo %PATH%" from the command line or check the "properties" right click connection of Computer/My Computer, or check in the VC++ directories settings of the IDE) and add the appropriate directory ahead of the other (the PATH is searched from left to right and the first occurence of the file you're looking for is selected).