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

Steinar H. Gunderson sgunderson at bigfoot.com
Fri Mar 5 21:56:24 CET 2010


On Fri, Mar 05, 2010 at 07:48:03PM +0100, Gianluigi Tiesi wrote:
>> I think it's generally the right solution to make such a fake header,
>> although I'm a bit wary at trying to fake a POSIX mixed executable;
>> I don't really see what it buys us (the EncodePointer and DecodePointer calls
>> are completely harmless), and it sounds like the thing that could come back
>> later and cause problems.
> yes but at least you need a section anyway, you may call it .mplayer
> or .text

OK; I'd say that's a good start. Should I commit a version with .text?

/* Steinar */
-- 
Homepage: http://www.sesse.net/



More information about the MPlayer-dev-eng mailing list