wglMakeCurrent in W2K/XP

I am testing some programs made in w95 and w98 that works fine but in w2k have and error in wglMakeCurrent after initialization.
The error is in the Resize statement, so I deduce that the window could not be resized after first time. Anybody could confirm that fact?

I have not had a problem with WIN2K or WINXP…

Post some code and we can see what might be wrong…

Originally posted by Peeler:
I am testing some programs made in w95 and w98 that works fine but in w2k have and error in wglMakeCurrent after initialization.
The error is in the Resize statement, so I deduce that the window could not be resized after first time. Anybody could confirm that fact?

Ditto … no probs w/2k or Xp for me either.

Hi, I had this problem with Borland C++ Builder, but I can’t remember how I solved it. The same source worked fine with MSVC++.

Greets,

Martin

What are you doing exactly and why are you calling wglMakeCurrent in resize?

V-man