I am using glut and want to combine some data with the exe file. Normally (that means with Win Api) i would use something like 1. hres = LoadResource(hInstance,…
2.pData = LockResource(hres);
Of course the problem is that i dont know how to get the hInstance - handle…but many win api functions need this handle. Is it possible to connect WinMain with GLUT or is there another method to access resources ?
Maybe there is a function that returns me this handle ??