DDL 1.2 Beta

pragma ericanderton at yahoo.com
Sat Sep 9 13:38:46 PDT 2006


BLS wrote:
> pragma schrieb:
>  > This means that the .obj files from a build pass can be
>  > loaded  back into the IDE and parsed for type information, which then 
>  > can then be used for intellisence.
> 
> Do you have any plans to make an example, or at least some general 
> instructions  available ?
> Thanks in advance ,
> Björn

I sincerely apologize for the lack of documentation at this stage.  I'm 
working as quickly as I can to get things put together so you can move 
along - this goes especially for the advanced stuff.

For now, I can say that the very heart of the system is the 
DynamicLibrary class, and the template methods provided there.  Follow 
that, and the basic tutorials on the site and you have about 90% of the 
whole concept.  Everything else is really to help with various use 
strategies: performance, deployment, and complex linking schemes.

As far as the concept goes for my last post, it's more a matter of 
looking at a given .lib or .obj file as a symbol table, instead of just 
a way to dynamically load code.  You wouldn't even need to use the 
Linker - just load the file directly via the LoaderRegistry and ask it 
some questions.

For an example of this, take a look at ddlinfo (and it's sourcecode). 
Or, just download the binary and run it against a few .obj files you 
have lying around for an idea of the potential here.

- Eric



More information about the Digitalmars-d-announce mailing list