On Mon, Jun 06, 2005 at 05:15:13PM -0400, Christopher Faylor wrote: >On Mon, Jun 06, 2005 at 05:12:02PM -0400, Igor Pechtchanski wrote: >>On Mon, 6 Jun 2005, Christopher Faylor wrote: >> >>> 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. >> >>True, provided you're not doing this from a console application which uses >>WinMain (but then the arguments will all be different as well). > >Actually, nevermind. Cygwin only knows the address of main() in true cygwin >routines.
s/true cygwin routines/true cygwin programs/ cgf