Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 27, 2005 run time dll loading | ||||
---|---|---|---|---|
| ||||
Hello, I was just wondering, is there already any tool/method that would allow me to give the symbol (function) name 'as-is' to get it from a freshly loaded dll, and not by first checking the decorated name under the Exports in the *.map file ? |
June 28, 2005 Re: run time dll loading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis R | Denis R wrote: > Hello, > > I was just wondering, is there already any tool/method that would allow me to > give the symbol (function) name 'as-is' to get it from a freshly loaded dll, and > not by first checking the decorated name under the Exports in the *.map file ? > > Have you seen how Derelict does it? -- Thanks, Trevor Parscal www.trevorparscal.com trevorparscal@hotmail.com |
June 28, 2005 Re: run time dll loading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trevor Parscal | No, I only seen that example in the D docs.
And, i dont think its that nice to each time look up the symbol
On Mon, 27 Jun 2005 20:35:46 -0700
Trevor Parscal <trevorparscal@hotmail.com> wrote:
> Denis R wrote:
> > Hello,
> >
> > I was just wondering, is there already any tool/method that would allow me to give the symbol (function) name 'as-is' to get it from a freshly loaded dll, and not by first checking the decorated name under the Exports in the *.map file ?
> >
> >
> Have you seen how Derelict does it?
>
> --
> Thanks,
> Trevor Parscal
> www.trevorparscal.com
> trevorparscal@hotmail.com
|
June 30, 2005 Re: run time dll loading | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis R | In article <d9p0hl$1s7h$1@digitaldaemon.com>, Denis R says... > >Hello, > >I was just wondering, is there already any tool/method that would allow me to give the symbol (function) name 'as-is' to get it from a freshly loaded dll, and not by first checking the decorated name under the Exports in the *.map file ? > > Have you tried using "extern(C)" or "extern(Windows)" for your exported functions in your dll code? I forget which removes the decoration, but one of them does do this. - EricAnderton at yahoo |
Copyright © 1999-2021 by the D Language Foundation