Quote:
> We have created some DLL's with Visual C++ V5.0. With the standard
> settings created by AppWizard, a <projectname>.PDB file will be
> created for the debug information. We distribute this .PDB file with
> the DLL, so that other developers can debug the DLL, without
> disturbing the developer of the DLL.
> But the compiler also generates a VC50.PDB file, and sometimes this
> file will also be in use when another developer is debugging. Does
> anyone know why this VC50.PDB file is generated, and when it is
> used? Can I prevent this file from being created?
vc50.pdb is generated during the compile. Before V5, the linker then
merged it into <dllname>.pdb. However, to speed up link time, they
made the linker leave it alone and taught the de{*filter*} to read
vc50.pdb. It's a good bit faster. The problem is that every dll you
generate produces a vc50.pdb. So, if you're going to be distributing
the dll to others, turn off use of vc50.pdb (/pdbtype:none, as opposed
to /pdbtype:sept.)
--