I have a program which uses some .ocx controls. When the program exits, the windows dissappear, but the process keeps running. When I look at spy++, it shows a thread of the class OleMainThreadWndClass still active.

Any suggestions on what could be wrong?

Guy