[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] obtaining ILClasses
From: |
Gopal V |
Subject: |
Re: [Pnet-developers] obtaining ILClasses |
Date: |
Wed, 11 Aug 2004 00:12:04 -0700 (PDT) |
Hi,
> > Is there a way to 'find' all classes and iterate
> through
> > them?
>
> Use ILImageNextToken to iterate over all tokens in
> an image that have the
> IL_META_TOKEN_TYPE_DEF kind. The "ilheader" program
> shows how this is done.
ilheader accepts an assembly as a parameter. Have a
look at ILContextNextImage() to get the list of all
loaded images .
ILImage * image = NULL;
while((image = ILContextNextImage(process->context,
image)) != NULL)
{
/// use ILImageNextToken here
}
HTH,
Gopal
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail