我如何从xxx.pdb获取typedef信息? [英] How can i get the typedef information from xxx.pdb ?

查看:67
本文介绍了我如何从xxx.pdb获取typedef信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<身体>
<身体>
问题
<身体>
大家好:
如何从xxx.pdb获取typedef信息? (使用(DIA或
dbgHelp))
现在我有一个类型名和一个xxx.pdb,我想获取此
type的typeinfo.
但typename只是typedef名称.如何获取typeinfo?
例如:
有一个结构定义

typedef struct tagTest
{
int a;
int b;
} T_Test;

如何获取类型名称为"T_Test"的typeinfo? ?

谢谢!

Question
  Hi all :
How can i get the typedef information from xxx.pdb ? (use (DIA or
dbgHelp))
Now i have a typename and a xxx.pdb,i want to get the typeinfo of this
type.
but typename is just a typedef name. how to get typeinfo?
for exsample:
there is a struct define

typedef struct tagTest
{
int a;
int b;
}T_Test;

How can i get typeinfo by typename "T_Test" ?

thanks!

推荐答案

hjwdd,

dbgHelp具有APISymGetTypeInfo:

dbgHelp has API SymGetTypeInfo:

http://msdn.microsoft.com/en-us/library/ms681349(VS.85).aspx

希望有帮助.

Sun Hongye [MSFT]

Hongye Sun [MSFT]


这篇关于我如何从xxx.pdb获取typedef信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆