managed-c++opengl

How to pause a program for a few milliseconds?

How to pause a program for a few milliseconds using C++ managed code? I tried Sleep() but it didn't work when I included the winbase.h file, I got lots of compile errors! for(int i=0; i<10; i++) { simpleOpenGlControl1->MakeCurrent(); System::Threading::Thread::Sleep(100); theta_rotated += 2.0* 3.141592653/(double)Model->size...

How to access native opengl based C++ code using android.opengl classes?

I am basically developing a Tracking application in C++. Can anyone please tell me how to overlay the trackers (lines) and mapped points (circles) which I generate through the C++ code on the frame by frame video that i am capturingin Javasource code? Do I need to use GLSurfaceView? Sorry for the newbee question. But someone please let ...