A Day in the Life

A day in my life. Thoughts on leadership, management, startups, technology, software, concurrent development, etc... Basically the stuff I think about from 10am to 6pm.

12/17/2007

VS2005 C++ Build Error vc80.pdb

Are you getting the errors:

Could not delete file ‘c:\myproject\obj\release\vc80.pdb
Make sure that the file is not open by another process and is not write-protected.
Could not delete file ‘c:\myproject\obj\release\vc80.idb
Make sure that the file is not open by another process and is not write-protected.

Then maybe you have the problem described here.

Another solution is to change the number of processes you allow the build process to use.

1. From the VS2005 IDE menu bar select: Tools.Options.Projects and Solutions.Build and Run.
2. On the Build and Run page set the "maximum number of parallel project builds" to 1.

Problem solved.

12/13/2007

AVIFileOpen returns 0x8004406d…

So what does it mean? I was trying to open a .wav file to merge into my AVI stream. After a bit of running around I found that my .wav file only contained a header…no data. And this is why the AVIFileOpen was failing with the return code AVIERR_FILEREAD.

Not a very good error message because the Microsoft documentation says the error indicates, "A disk error occurred while reading the file."

Which is not the case.