每当编译C\C++程序的时候就
fatal error C1902: Program database manager mismatch; please check your installation
上网努力的查呀查,Baidu,Google,Yahoo。。。。
最令我郁闷的是在http://www.kbalertz.com/Feedback_920770.aspx查出了个这种解决方法:
RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2005 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
下面是解决方法:
用Google,看了好多网站,最后在http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=10577&SiteID=1
找到了,是一个人的经验,谢谢他!:-)
看看他说的吧:(还好,E文能看懂一点^_^)
Here are steps how I got it and solve:
1. I like to compile some sources from the command prompt, so I added to the PATH environment variable - "C:\Program Files\Microsoft Visual Studio 8\VC\bin\". After that I had to copy some files from "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\" to get cl.exe working (one of files was mspdb80.dll).
2. Some time later I tryed to compile a project from MSDev and got C1902 error.
3. With MSDN search I got to this place to see Jonathan Caves's helpful message about mspdbsrv.exe.
4. I just copied that EXE to \VC\bin\ and everithing becomes Ok.
5. Now I can compile anything from both MSDev and C:\ :).
我就是因为自己设置了环境变量才弄成这样的,现在问题终于搞定,呵呵,开心咯!~~~~
发表于 @ 2006年12月02日 21:06:00|评论(loading...)