diff --git a/src/common/windows/pdb_source_line_writer.cc b/src/common/windows/pdb_source_line_writer.cc index c0415d00..74a8a70c 100644 --- a/src/common/windows/pdb_source_line_writer.cc +++ b/src/common/windows/pdb_source_line_writer.cc @@ -79,8 +79,13 @@ bool PDBSourceLineWriter::Open(const wstring &file, FileFormat format) { CComPtr data_source; if (FAILED(data_source.CoCreateInstance(CLSID_DiaSource))) { - fprintf(stderr, "CoCreateInstance CLSID_DiaSource failed " - "(msdia80.dll unregistered?)\n"); + const int kGuidSize = 64; + wchar_t classid[kGuidSize] = {0}; + StringFromGUID2(CLSID_DiaSource, classid, kGuidSize); + // vc80 uses bce36434-2c24-499e-bf49-8bd99b0eeb68. + // vc90 uses 4C41678E-887B-4365-A09E-925D28DB33C2. + fprintf(stderr, "CoCreateInstance CLSID_DiaSource %S failed " + "(msdia*.dll unregistered?)\n", classid); return false; } diff --git a/src/tools/windows/binaries/symupload.exe b/src/tools/windows/binaries/symupload.exe index c78299ef..6aa1f45b 100644 Binary files a/src/tools/windows/binaries/symupload.exe and b/src/tools/windows/binaries/symupload.exe differ diff --git a/src/tools/windows/refresh_binaries.bat b/src/tools/windows/refresh_binaries.bat index f10ccbae..374f89f9 100644 --- a/src/tools/windows/refresh_binaries.bat +++ b/src/tools/windows/refresh_binaries.bat @@ -11,7 +11,7 @@ REM README.binaries file to contain REM the revision number, and builds the tools. You must run 'svn commit' to REM commit the pending edits to the repository. -cd ..\..\ +pushd %~dp0\..\..\ call svn update --accept postpone cd tools\windows devenv symupload\symupload.vcproj /rebuild Release @@ -24,3 +24,4 @@ echo Repository information (output of 'svn info') follows: >> %TEMP%\checkin.tx call svn info >> %TEMP%\checkin.txt echo Done! echo type 'svn commit -F %%TEMP%%\checkin.txt' to commit. +popd \ No newline at end of file diff --git a/src/tools/windows/symupload/symupload.vcproj b/src/tools/windows/symupload/symupload.vcproj index d6d07f1e..8177c830 100644 --- a/src/tools/windows/symupload/symupload.vcproj +++ b/src/tools/windows/symupload/symupload.vcproj @@ -1,10 +1,12 @@  - @@ -134,12 +135,14 @@ /> -