problem to tranfer to windows

I did a openGl porgram in iris, everything works fine in iris, but when I try to transfer it to windows(both in xp and win98) by creating a console app. The program runs extremly slow!! And the background color changed , also the texure can’t be seen.

Can someone help me on this, I need get the project tranfered and do a demo in windows.