PFD problem

Yet another windows problem some might know about:

In my app I am trying to use both singlebuffered and doublebuffered OpenGL windows. The problem is that if the first OpenGL window I create has a certain pixel format all other windows will have the same. Even if I close all windows and try to open a new one with a different pixel format, it won’t change anything.
The result is that in my app I can only use windows with a pixel format that’s identical to the pixel format of the first window created.

Does someone know if it’s possible to solve that?

do you free the rc and dc correctly ??