This is the mail archive of the
mailing list for the Cygwin project.
Re: dlclose not calling destructors of static variables.
On 01/02/2010 17:35, Andrew West wrote:
> Cribbing from the gdb source code, it looks like they use BaseAddrees +
> 0x1000 for the start point and then call GetModuleInformation to workout
> the size of the module. I'm currently trying this out in dll_init.cc but
> for some reason GetCurrentProcess is returning -1 for me :(
-1 is a magic HANDLE constant meaning "current process", that's OK!
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple