For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > March 2004 > LNK1209 error in "debug" build only









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author LNK1209 error in "debug" build only
Mel

2004-03-28, 10:32 pm

Hi,
I initially had VC++ ver 5.0
After installing VC++ ver 6.0 I keep getting the error

"LINK : fatal error LNK1209: program database
"C:\test\App1\Debug\App1.pdb" differs from previous link; relink or
rebuild"

This happens for any and every application that I build in DEBUG mode.
Even if I create a simple hello world application I get this error.

I noticed something interesting in my .dsp file. It has these 2 lines
# PROP BASE Use_MFC 5
# PROP Use_MFC 5

Notice that it says "5" when it should actually be "6". Traces of VC++
5.0 are somehow, i think still on my system even though i cleaned off
everything under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\De
vStudio\
before installing VC++ 6.0

Any help would be greatly appreciated.
Thanks,
Mel
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com