How to use the same(share) texture in different OpenGL contexts.

Hi!
There are something trouble me.I will use the same(share) texture in two different OpenGL contexts,But it only display in one.I think it will use wglShareLists,but it not help.
There are the code: www.7forever.com/code.zip

wglShareLists is the answer and it should work. The spec states that both GL contexts must share the same pixel format so maybe that is your problem (I rapidly went through split2.cpp and split2view.cpp and didn’t notice anything particular)