[MPlayer-dev-eng] [PATCH] Make GetModuleHandle(NULL) return a valid pointer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Mar 4 23:39:15 CET 2010


On Thu, Mar 04, 2010 at 11:28:59PM +0100, Steinar H. Gunderson wrote:
> On Thu, Mar 04, 2010 at 06:33:28PM +0100, Reimar Döffinger wrote:
> > Maybe you could somehow figure out the real load address where we have a proper
> > PE header or something like that?
> 
> Well, we could for instance add something to loader/module.c where it always
> picks the first loaded one (ie. last in the linked list)?

I think there might be already a better solution for this, see the thread
"fix for crt8 init dll"
http://archives.free.net.ph/message/20100201.231630.6fad57f1.en.html



More information about the MPlayer-dev-eng mailing list