This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Delayed loading of DLLs in MinGW
- From: "Vesselin Peev" <vesselinpeev at hotmail dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Fri, 13 Feb 2004 22:31:50 +0200
- Subject: RE: Delayed loading of DLLs in MinGW
Hi, again,
Thanks. I make not mistake about Cygwin's GPL status, I know. Now that you
mention it, LoadProcAddress suddenly seems hassle-free, given the project
I'm working on has proprietary status beyond my control.
By the way, I'm awaiting Fedora Core 2 with some more anticipation than
other distros :)
Best regards,
Vesko
> -----Original Message-----
> From: binutils-owner@sources.redhat.com
> [mailto:binutils-owner@sources.redhat.com] On Behalf Of
> Christopher Faylor
> Sent: Friday, February 13, 2004 9:31 PM
> To: binutils@sources.redhat.com
> Subject: Re: Delayed loading of DLLs in MinGW
>
> On Fri, Feb 13, 2004 at 09:10:48PM +0200, Vesselin Peev wrote:
> >I searched the binutils and mingw-users lists, as well as
> USENET, but
> >didn't find any discussion of delayed loading. From USENET, it seems
> >that delayed loading for MinGW has been possible since
> mid-2003, but I
> >couldn't find any further information. BTW, the binutils FAQ
> couldn't
> >help me either since it's empty :) I'm dealing with a VC++ 6 project
> >making heavy use of it for compatibility b/w Windows 9x and NT, and
> >hope that I can transfer it to MinGW without going through any
> >LoadProcAddress hassles.
> >Any clues?
>
> Cygwin implements delayed loading via some clever (ahem,
> cough) asm routines.
> I don't know if Microsoft has made this easier since the
> functions were written, but you are welcome to look at the
> current implementation:
>
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin
> /autoload.cc?rev=1.77&content-type=text/x-cvsweb-markup&cvsroot=src
>
> Remember that cygwin is a GPLed program so if you incorporate
> this into your program it must be GPLed as well.
>
> cgf
>
>