   Lesson 14(passing HDC)
  i am writing a project that needs to write to the screen the problem is theat i have the 3 functions needed to build the font display it and kill the font in a Print Class and i am calling the functions from the game class but to build it i have to pass the hdc i have this done but it wont display it. Its the excate same code that is in the lesson so i dont know what the problem is. its probaly very simple but i just cant see it. I have the text displaying with lesson 17 but i want to have 3D text.any help would be greatful.thanks in advanceRuctions 
  How are you passing it??  I would pass a pointer and refrence the HDC through that. EDIT: TO exlain further:  When making disp lists and such, you need to pass the same HDC that you initialized opengl with.  If your function def looks like this:void Something (HDC hdc);then that might be the source of your problem because you are passing in something with the same value as your hdc, but when you call something gl related, it doesn't change the original hdc, like it should.  To correct this, make it a pointer:void Something (HDC *hdc);EDIT 2:  Yea, you may need to call wglMakeCurrent at the top of the function.  [edited by - tHiSiSbOb on February 20, 2004 3:06:46 PM] [edited by - tHiSiSbOb on February 20, 2004 3:08:13 PM]