Click here to Skip to main content
16,013,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLIB from DLL Pin
Hockey26-Dec-02 11:30
Hockey26-Dec-02 11:30 
GeneralRe: LIB from DLL Pin
Neville Franks26-Dec-02 13:06
Neville Franks26-Dec-02 13:06 
GeneralRe: LIB from DLL Pin
Hockey26-Dec-02 17:35
Hockey26-Dec-02 17:35 
GeneralRe: LIB from DLL Pin
Neville Franks26-Dec-02 18:51
Neville Franks26-Dec-02 18:51 
GeneralRe: LIB from DLL Pin
Chris Losinger26-Dec-02 15:15
professionalChris Losinger26-Dec-02 15:15 
GeneralRe: LIB from DLL Pin
Hockey26-Dec-02 17:37
Hockey26-Dec-02 17:37 
GeneralRe: LIB from DLL Pin
Mike Nordell27-Dec-02 1:25
Mike Nordell27-Dec-02 1:25 
Generalthree views + three opengl windows + crashes when fullscreen Pin
bbbilen26-Dec-02 9:54
bbbilen26-Dec-02 9:54 
hi all,

I have MDI app. whish has 1 document 3 view objects. I'll display three different graphical scenes in each window. So I modified view classes (CView1, CView2, CView3) in order to use opengl... I setup pixel formet get rendering context, make current etc...
if I modify only one view class app. works (only one view displays graphical scene), BUT if I modify 2 or all view classes for opengl, app. locks when I make full screen. If I comment wglMakeCurrent line app. doesnt lock. What's the problem with wglMakeCurrent..
if((::wglMakeCurrent(m_pDC->GetSafeHdc(), m_hRC))==false)
{
MessageBox("Cant make rend. context current");
return false;
}
If wglMakeCurrent runs in one view everthing is OK, But if all views run wglmakecurrent it crashes when I make fullscreen? I guess that all of the rendering contexts cant be made current at the same time, but why doesnt it crash when working in non-fullscreen mode..
I want to know what wglMakeCurrent exactly does? And why it crashes when I make fullscreen?

a second question:
Is there a tool that I can draw geometrical objects (2d or 3d) and tool creates opengl code for the objects?

sorry It was a long post but my english is this enough
GeneralRe: three views + three opengl windows + crashes when fullscreen Pin
KaЯl26-Dec-02 23:49
KaЯl26-Dec-02 23:49 
GeneralRe: three views + three opengl windows + crashes when fullscreen Pin
bbbilen29-Dec-02 8:36
bbbilen29-Dec-02 8:36 
Generalc++ and managed c++ Pin
joshfl26-Dec-02 8:30
joshfl26-Dec-02 8:30 
GeneralRe: c++ and managed c++ Pin
AlexO26-Dec-02 8:37
AlexO26-Dec-02 8:37 
GeneralRe: c++ and managed c++ Pin
S O S26-Dec-02 9:47
S O S26-Dec-02 9:47 
GeneralRe: c++ and managed c++ Pin
Vagif Abilov26-Dec-02 9:45
professionalVagif Abilov26-Dec-02 9:45 
GeneralRe: c++ and managed c++ Pin
Nish Nishant26-Dec-02 10:24
sitebuilderNish Nishant26-Dec-02 10:24 
GeneralRe: c++ and managed c++ Pin
Christian Graus26-Dec-02 13:02
protectorChristian Graus26-Dec-02 13:02 
GeneralRe: c++ and managed c++ Pin
joshfl27-Dec-02 3:41
joshfl27-Dec-02 3:41 
GeneralProblems with drawing Pin
S O S26-Dec-02 7:58
S O S26-Dec-02 7:58 
GeneralRe: Problems with drawing Pin
Neville Franks26-Dec-02 10:02
Neville Franks26-Dec-02 10:02 
GeneralRe: Problems with drawing Pin
S O S26-Dec-02 11:04
S O S26-Dec-02 11:04 
GeneralFor Mr.Locked Ghost Pin
HellShrimp4free26-Dec-02 11:22
HellShrimp4free26-Dec-02 11:22 
GeneralRe: For Mr.Locked Ghost Pin
S O S26-Dec-02 21:47
S O S26-Dec-02 21:47 
GeneralRe: Problems with drawing Pin
Neville Franks26-Dec-02 13:00
Neville Franks26-Dec-02 13:00 
GeneralRe: Problems with drawing Pin
S O S26-Dec-02 21:49
S O S26-Dec-02 21:49 
GeneralRe: Problems with drawing Pin
Iain Clarke, Warrior Programmer27-Dec-02 7:43
Iain Clarke, Warrior Programmer27-Dec-02 7:43 

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.