glut and icon

we created a c++ application that uses opengl and glut as a windowsystem. What I want to know : How is it possible to change the icon that is associated with our application?
I allready created a 16x16 and a 32x32 *.ico file but I don’t quite know how to assign it to the main window of my application.
Any suggestions?

Thank you very much in advance

floww

This one is easy:

glSetIconTitle(char * name);

It should be called after the window is created.

If you have an icon “MyApp.ico” in the current path it should go:
glSetIconTitle(“MyApp.ico”);

Lekeno