This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC


On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote:
>On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote:
>I guess you could do it that way.  It would look more transparent to the
>end user if you did.  You'd still have to make it clear that this has to
>happen first thing in the main() function or you could suffer problems
>with automatic initialization or constructors.

Actually, if you do it that way, there's no reason to pass in main()
since the DLL already knows how to find it.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]