This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Init cygwin.dll from non-gnuwin app ???
- To: <gnu-win32 at cygnus dot com>
- Subject: Init cygwin.dll from non-gnuwin app ???
- From: "Steve Biskis" <mlx at san dot rr dot com>
- Date: Tue, 24 Feb 1998 12:13:08 -0800
- Reply-To: <mlx at san dot rr dot com>
Can the CRT/reent section of cygwin.dll be initialized in a
non-gnuwin32 application ??? I am currently trying to do it
via a gnuwin32 generated dll by directly calling cygwin_crt0()
and being rewarded with:
0xXXXXXXXX referenced memory at "0x100476c0". The memory could not be
"written".
This error (by its address 0x10000000+) is at least in the right cygwin.dll
neighborhood.
This happens to be a Delphi-3 application that does a LoadLibrary on my
dll.
My dll works fine till it needs CRT facilities from cygwin.dll.
I know about the _impure_ptr=__imp_reent_data thing but that's not enough
since, somehow cygwin.dll hasn't really been initialized yet, (hmmmm ).
Why wasn't this done in its DllMain ??????????
Any suggestions welcome (no matter how far-fetched/hack-happy).
da bisk
mlx@san.rr.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".