--- In [email protected], "Jimmy Johnson" <boxer...@...> wrote: > > > static void inline_F2022_28290 (EIF_POINTER arg1, EIF_POINTER arg2) > { > HGLRC *hRC;
So hRC is just a pointer, which is not initialised (could be pointing anywhere)... > *hRC = wglCreateContext (*hDC); ...and here you store something at where it is pointing, which probably causes the crash. My guess is that it should be: HGLRC hRC; /* not a pointer */ : hRC = wglCreateContext (*hDC); wglMakeCurrent (*hDC, hRC);
