invalid page fault when using LoadLibrary/FreeLibrary

Todd Owen towen@lucidcalm.dropbear.id.au
Tue Nov 9 06:17:00 GMT 1999


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.



More information about the Pthreads-win32 mailing list