glTexImage2D and CoCreateInstance of XML

I have a application in which i am using CoCreateInstance() for XML initialization and glTexImage2D. During the program execution if glTexImage2D is used before CoCreateInstance() , then CoCreateInstance() gets stuck. It just doesnt move from that API.
This particular behaviour is happening on Graphics card (Rage XL PCI) only. OpenGL version is OpenGL version 1.1.3. Can someone throw some light on how these 2 APIs are related to each other and why hanging occurs at CoCreateInstance.
Thanking in advance,

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.