From mboxrd@z Thu Jan 1 00:00:00 1970 From: Todd Owen To: pthreads-win32@sourceware.cygnus.com Subject: RE: invalid page fault when using LoadLibrary/FreeLibrary Date: Tue, 09 Nov 1999 06:17:00 -0000 Message-id: References: <450FB96A8F51D31186CD00805F95C7DC036E3B@SOTTEXCH62A> X-SW-Source: 1999/msg00123.html On Tue, 9 Nov 1999, John Bossom wrote: > Why are you dynamically loading and freeing the library? Actually, it's not my code which does it. This was just the simplest situation where the problem occurred, the real context was more complicated: I was compiling my own dll which was linked to pthread.dll, and my dll was being used by a visual basic program. VB was loading _my_ dll with LoadLibrary/FreeLibrary but pthread.dll was still suffering the problem. Anyhow, looks like the problem is caused by a bug in windows 95 (see http://support.microsoft.com/support/kb/articles/Q187/6/84.asp ). I've sent a simple patch to Ross. Email me if you want to know more. Todd.