Thanks for the reply, but I write simple console programs, with custom ui if needed (when games opengl), and I don't knowabout or use classes and forms. I cannot understand it.