About Win7 under vs2003 incompatibility problem

Source: Internet
Author: User

The performance of this problem is: After vs2003 compiled once, and then compile the run, you will be prompted: LNK1201: Write to the program database "d:\xxxx\xxxx.pdb" error; Please check if there is insufficient disk space, invalid path, or insufficient permissions. Why this error, there is no need to delve into, anyway know is because vs2003 in Win7 under incompatible produced (here very want to vomit trough once, all use Win7, also use what vs2003~~~).

I only knew this mistake when I first used the company's vs2003, and then an old programmer sent me a freepdb.bat, put it in Vc7/bin, and wrote it in the pre-build event of the project properties: Freepdb $ (tagetdir) $ (TargetName ). pdb. And then started several times, can normal, and then produced this problem, asked the programmer why, he said not very clear, never asked me whether I have solved (spit groove: Or take my master, nothing is also drunk, this problem pits me for a long time, of course, but also did not take the initiative to ask other programmers ~ ~). In fact, this is because the system does not handle.exe this thing, put it in and freepdb.pdb a directory on the line.

Here is my own use of the code inside the freepdb.pdb, according to their own circumstances can be flexibly changed:

cd/d"%~dp0" for/F"tokens=2-3 skip=5 delims=:"%%ainch('handle-p devenv.exe "%1"') Do (   for/F"tokens=1,4"%%cinch("%%a%%b") Do(Handle-P%%c-c%%d-y >NUL)) Exit/b0

About the specific meaning of the code, I did not look closely, after all, there is little opportunity to use, and so there is time to study the syntax of the. bat preprocessing file.

In addition, oneself is too not active to solve the problem, in fact, as long as to ask other programmers can solve, will not be so used for a few months of vs2003, each recompile to restart VS, how much time wasted ah ~~~~~~~

About Win7 under vs2003 incompatibility problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.