I need to develop an application which can run on both pocket pc and a desktop pc. When it runs on a desktop pc, I want it to automatically detect the os and thus enable OpenGL and all the related libraries. When it runs on a pocket pc (windows mobile 2003), it can detect the os and enable OpenGL ES and the related libraries. Do anyone know how I can do this?