application crashed when closed with 3dfx card.

It has been my first experience with Voodoo5 cards…
I have a MDI application which has multiple OpenGL windows. When the number of window is greater than a certain number, close the application will end with an error:
HEAP[VB6.EXE]: Invalid Address specified to RtlFreeHeap( 130000, 1109a5d8 )
Any idea on what caused it and/or how to fix it?
It works perfertly fine on other cards such as ATI’s and Elsa’s.