Exception thrown at 0x100094D6 (glut32.dll) in Project.exe: 0xC0000005: Access violation reading location 0x00000000
i am trying to build an app using c# to make the GUI and c++ to do the job especially the openGl functions ,however i build the dll and i tried to use a normal function and it works
but when i create another fucntions that summon another function who use glut instruction when i run the code i get this error ,here is the c# code: