Mail Archives: cygwin-developers/1998/10/28/17:18:16
On Wed, 28 Oct 1998, Christopher Faylor wrote:
> Don't you really want something similar to cygwin_crt0? In the case
> of a cygwin dll loaded via LoadLibrary all of the per_process information
> is missing. That would have to be provided via some other mechanism, possibly
> via some code in init.cc which would detect if the dll was loaded via a
> LoadLibrary or "normally". In the LoadLibrary case, init.cc could actually
> call dll_crt0 with its own per_process information.
> Actually, maybe that's the way it should be anyway...
Actually, the problem happens for both LoadLibrary or "normally", as long
as it's loaded from/by a non-cygwin app.
Just sent a patch to cygwin32-developers list ... could you please
comment when you see it? Our messages unfortunately crossed each other.
I really would like to see this solved for b20 if at all possible ...
- Raw text -