Glut o FreeGlut window in windows aplicaton

i’m using methods of Freeglut in a project of windows form aplication don´t work it the form close after run the project how i can use the freeglut method in a windows form

thanks for help

You don’t need Freeglut if you are creating your own windows. It is a simple cross-platform window creator.