[MPlayer-dev-eng] how to add lookup / add functions in loader/win32.c ?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun May 17 08:44:59 CEST 2015


On Sun, May 17, 2015 at 08:39:54AM +0200, Reimar Döffinger wrote:
> On Sat, May 16, 2015 at 06:27:16PM -0400, compn wrote:
> > Called unk_ATL90.DLL:15
> 
> I don't know how this works, but that entry is a 0 pointer
> in the original DLL.
> One problem is that we are missing support for pure ordinal
> exports without a name, patch below might fix it.
> Then something like
> {NULL, 15, 0}
> might do it (more consistent would be to use (void*)-1 for the last
> one, but that way of specifying undefined functions doesn't actually
> work for ordinal lookup - looks like a bug).

Or attached patch and use UNDEFORD(15)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: undeford.diff
Type: text/x-diff
Size: 1285 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20150517/4cb712e1/attachment.bin>


More information about the MPlayer-dev-eng mailing list