[webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread 张雷
Hey, dear friends. I succeeded building WebKit from within VS2005 IDE with your helps. But I encountered another problem: when I was debugging with webkit.dll, no symbols for that dll was loaded and the debugger complained that no proper PDB found for webkit.dll, though webkit.pdb was placed

Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread 张雷
Sorry, I didn't notice that the webkit.dll was not the one I built but the one under Safari install dir. What's more, I missed to make it clear that I writes a minibrowser of my own, not the WinLauncher demo. And I find that CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView,

Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread Brent Fulgham
Hi, I would suggest that you avoid using the CoCreateInstance mechanism for instantiation of the WebKit types, and instead use the new 1. Include the header WebKit/WebKitCOMAPI.h 2. Link against the WebKitGUID.lib and WebKit.lib 3. Create your object like so: HRESULT hr =

Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread 张雷
Thanks Brent. But I searched my webkit source for WebKitCreateInstance and found nothing. My source is r41121 Nightly Build. Is WebKitCreateInstance unavailable in r41121? 原始信息 主题: Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread Steve Falkenburg
You can use registry free COM to do this in that older revision. I believe WinLauncher and/or DumpRenderTree did this during that time. Or, just update to the newer rev or merge the changes yourself. -steve Brent Fulgham wrote: Hi, Thanks Brent. But I searched my webkit source for

Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread 张雷
Hey, Brent! I figured it out! That's because I didn't give the manifest tool proper arguments. It should be someting like: /nologo /tlb:"D:\WebKit-r41121\Output\lib\WebKit.tlb" /dll:"WebKit" /out:"..\Output\obj\MiniBrowser\Debug\MiniBrowser_debug.exe.embed.manifest" /notify_update It can be

Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread Brent Fulgham
Great! I'm glad you've got it figured out! On Jun 19, 2009, at 10:42 PM, 张雷 wrote: Hey, Brent! I figured it out! That's because I didn't give the manifest tool proper arguments. It should be someting like: /nologo /tlb:D:\WebKit-r41121\Output\lib\WebKit.tlb /dll:WebKit /