[Mono-devel-list] Specifying DllImport EntryPoint
Jonathan Pryor
jonpryor at vt.edu
Sun Sep 28 15:05:09 EDT 2003
Some replies inline...
On Sun, 2003-09-28 at 14:46, Marcus wrote:
> .NET allows the EntryPoint of a P/Invoke method to be given either as a symbol
> or as an ordinal value (e.g. EntryPoint="#1"), where the ordinal values are
> obtained by the Windows program bindump. Does Mono allow entry points to be
> specified this way,
I have no idea if mono supports this.
> and if so, how does one find the ordinal value of the
> entry points?
Simple: run "DUMPBIN.EXE /EXPORTS" on the library.
Problem is, that's a rather Windows-specific solution (MS SDK-specific,
actually).
I don't know if ELF shared libraries support ordinal value entry points,
or what Linux tools can be used to find an ordinal-valued entry point.
- Jon
More information about the Mono-devel-list
mailing list