Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Wed, 25 Jun 2008 05:28:38 -0700 (PDT),    group: microsoft.public.vsnet.debugging        back       


SymGetTypeInfo failure   
I am trying to use SymGetTypenfo() with little success.

The code is my my callback for SymEnumSymbols().  And it always
fails.  I have tried various combinations for the params based on
things I have seen on the internet but nothing seems to be working.

here is the line of code
result = SymGetTypeInfo( m_hProcess, pSymInfo->ModBase, pSymInfo-
>TypeIndex, TI_GET_SYMTAG, &tag );

As mentioned i have tried many variations on the params, including
various "TI_"

The error from GetLastError() is always the same 0x80070057 ("The
Parameter is incorrect").

Any assistance would be greatly appreciated.
date: Wed, 25 Jun 2008 05:28:38 -0700 (PDT)   author:   unknown

Re: SymGetTypeInfo failure   
On Jun 25, 8:28 am, mors...@gmail.com wrote:
> I am trying to use SymGetTypenfo() with little success.
>
> The code is my my callback for SymEnumSymbols().  And it always
> fails.  I have tried various combinations for the params based on
> things I have seen on the internet but nothing seems to be working.
>
> here is the line of code
> result = SymGetTypeInfo( m_hProcess, pSymInfo->ModBase, pSymInfo-
>
> >TypeIndex, TI_GET_SYMTAG, &tag );
>
> As mentioned i have tried many variations on the params, including
> various "TI_"
>
> The error from GetLastError() is always the same 0x80070057 ("The
> Parameter is incorrect").
>
> Any assistance would be greatly appreciated.

Some more information... I am in the SymEnumSymbols() callback.
m_hProcess is the same handle provided to symInit().  In the current
case, it happens to be the return value of GetCurrentProcess();
pSymInfo is the SYMBOL_INFO passed to the callback by DbgHelp
date: Wed, 25 Jun 2008 12:08:01 -0700 (PDT)   author:   unknown

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us