I have some code that loads line number information for a compiled VB
module (in this case) using SymGetLineFromAddr/SymGetLineNext (- or
their 64-bit equivalents - makes no difference).
When I use the dbghelp.dll from Windows 2000 (5.0.2195.2104), everything
is fine. However, when I run the same code using the dbghelp.dll from
Windows XP (5.1.2600.0), only the first line in a routine is returned.
SymGetLineFromAddr returns success, and the line number information
returned is correct. However, the Key component of the _IMAGEHLP_LINE
argument is NULL when using the XP version whereas it is non-NULL when
using the Windows 2000 version. Subsequent calls to SymGetLineNext
return success but the same original line number is returned forever, as
it were.
Here, it doesn't matter on what operating system I run the code (2000 or
XP) - it's the dbghelp.dll being used that matters. The customer who
reported this also tells me that the code works fine for him on Windows
98 as well as Windows 2000.
Is anybody aware of known bugs in the dbghelp.dll that ships with XP?
I've searched the Microsoft knowledgebase and didn't find anything. Or
did the rules perhaps change? I've read the documentation several times
now, and have failed to spot any platform notes other than that a
dbghelp.dll greater or equal to version 5 must be used.
Thanks for any insight you can provide
- Per
mailto://pe...@turbopower.com
4.0.18 is the latest as windbg follows different versioning system than the
OS.
Best regards,
Raghavendra Rao
Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks for responding.
Unfortunately, though slightly newer, the dbghelp.dll from that kit
(4.0.18) has the exact same problem as the XP version.
I can send you the EXE and PDB with additional testing info, if you
like.
- Per
""Raghavendra Rao"" <nospam...@microsoft.com> wrote in message
news:CVtoaSw6BHA.2112@cpmsftngxa08...
Thanks!
- Per
""Raghavendra Rao"" <nospam...@microsoft.com> wrote in message
news:uYC4bb67BHA.2200@cpmsftngxa07...
- Per
"plarsen" <n/a> wrote in message news:uRjwlBD8BHA.2540@tkmsftngp04...