Click here to Skip to main content
15,925,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I need help with xp styles Pin
David Crow12-May-05 1:53
David Crow12-May-05 1:53 
Questionhow to get the icon index by a file's extension Pin
NPDemon11-May-05 8:28
NPDemon11-May-05 8:28 
AnswerRe: how to get the icon index by a file's extension Pin
David Crow11-May-05 8:31
David Crow11-May-05 8:31 
GeneralRe: how to get the icon index by a file's extension Pin
NPDemon11-May-05 8:52
NPDemon11-May-05 8:52 
GeneralRe: how to get the icon index by a file's extension Pin
NPDemon11-May-05 8:59
NPDemon11-May-05 8:59 
GeneralToolbar resolution Pin
wrykyn11-May-05 8:23
wrykyn11-May-05 8:23 
GeneralRe: Toolbar resolution Pin
Mohammad Tarik11-May-05 11:57
Mohammad Tarik11-May-05 11:57 
GeneralCan´t use OpenGL inside a thread Pin
arturapps11-May-05 7:37
arturapps11-May-05 7:37 
Hi people , Wink | ;)
I´m working on an application that must draw some graphics using OpenGL. The aproach I´m using is to
initialize the window ,to set graphics mode and to set render context for OpenGL at the mainthread < InitInstance() > and then call a thread that must keep rendering frames until the end of the program.

well... I noticed that everithing works fine at the main thread ( including GL´s drawing calls)but when I make the same calls inside the thread , they have no efect on the window.OMG | :OMG:

I can´t understand D'Oh! | :doh: , because all the variables I use inside the thread are global. Confused | :confused:

Can you help me ?
Rose | [Rose]

Ps: 1) I created the thread using CreateThread.

2) My project is a simple win32 application => WinMain , InitInstance , Createwindow , winProc , etc...
GeneralRe: Can&#180;t use OpenGL inside a thread Pin
Ryan Binns11-May-05 18:03
Ryan Binns11-May-05 18:03 
GeneralRe: Can&#180;t use OpenGL inside a thread Pin
cmk12-May-05 20:57
cmk12-May-05 20:57 
GeneralThank you people Pin
arturapps13-May-05 3:42
arturapps13-May-05 3:42 
GeneralAbort Pin
Anonymous11-May-05 6:48
Anonymous11-May-05 6:48 
GeneralRe: Abort Pin
BlackDice11-May-05 6:49
BlackDice11-May-05 6:49 
GeneralRe: Abort Pin
Anonymous11-May-05 6:53
Anonymous11-May-05 6:53 
GeneralRe: Abort Pin
David Crow11-May-05 7:22
David Crow11-May-05 7:22 
GeneralRe: Abort Pin
Anonymous11-May-05 7:43
Anonymous11-May-05 7:43 
GeneralRe: Abort Pin
David Crow11-May-05 7:46
David Crow11-May-05 7:46 
GeneralRe: Abort Pin
Ansari A. Halim11-May-05 7:48
Ansari A. Halim11-May-05 7:48 
GeneralRe: Abort Pin
Anonymous12-May-05 6:40
Anonymous12-May-05 6:40 
GeneralQuestion re: overriding functions and default arguments Pin
Budric B.11-May-05 6:10
Budric B.11-May-05 6:10 
GeneralRe: Question re: overriding functions and default arguments Pin
David Crow11-May-05 6:14
David Crow11-May-05 6:14 
GeneralRe: Question re: overriding functions and default arguments Pin
S. Senthil Kumar11-May-05 7:03
S. Senthil Kumar11-May-05 7:03 
GeneralRe: Question re: overriding functions and default arguments Pin
Ansari A. Halim11-May-05 8:07
Ansari A. Halim11-May-05 8:07 
GeneralRe: Question re: overriding functions and default arguments Pin
Ryan Binns11-May-05 18:09
Ryan Binns11-May-05 18:09 
GeneralDLL and CTypedPtrList problem Pin
Andrew Hoole11-May-05 5:38
Andrew Hoole11-May-05 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.