mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-01 12:14:56 +01:00
Fixed message about unregistered msdia*dll. Builds with different DiaSDK need different dll.
Rebuilt with Visual Studio 2008. Slightly improved refresh_binaries.bat. BUG=none TEST=none Review URL: http://breakpad.appspot.com/281001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@787 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
fd557e4a97
commit
04023b1f6a
4 changed files with 18 additions and 12 deletions
|
|
@ -79,8 +79,13 @@ bool PDBSourceLineWriter::Open(const wstring &file, FileFormat format) {
|
|||
|
||||
CComPtr<IDiaDataSource> 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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue