Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Kuniva5-Dec-03 0:19
Kuniva5-Dec-03 0:19 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Kuniva5-Dec-03 0:30
Kuniva5-Dec-03 0:30 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Mike Dimmick5-Dec-03 0:02
Mike Dimmick5-Dec-03 0:02 
GeneralRe: WaitForMultipleObjects always returns WAIT_FAILED Pin
Kuniva5-Dec-03 0:18
Kuniva5-Dec-03 0:18 
GeneralButton in windows forms..c++ Pin
mitil203904823044-Dec-03 10:36
mitil203904823044-Dec-03 10:36 
GeneralSwitching Views in SDI Pin
swerajan4-Dec-03 9:52
swerajan4-Dec-03 9:52 
GeneralRe: Switching Views in SDI Pin
Peter Molnar4-Dec-03 13:38
Peter Molnar4-Dec-03 13:38 
GeneralProblem with lpdirect3ddevice9 Pin
Simon Booth4-Dec-03 9:26
Simon Booth4-Dec-03 9:26 
I have started writing a class to create a d3d window, but every time i make a call to BeginScene,EndScene or Present my computer restarts. The following is my d3d initiation code which i run after creating a window, and then i try to run the functions from my main message loop. Could anyone please help, I'm having trouble debugging soon as my computer reboots everytime it doesnt work.

if((procIdle==NULL)||(procRender==NULL)||(procPreRender==NULL))return 1;
if(FAILED(lpD3D = Direct3DCreate9(D3D_SDK_VERSION)))return 2;
if(FAILED(lpD3D->CreateDevice
(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,hWnd
,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&prm,&lpDevice)))return 3;
for(int i = 0;i < 209; i++)
if(render_states[i]!=NULL)
if(FAILED(lpDevice->SetRenderState
((D3DRENDERSTATETYPE)i,render_states[i])))return 4;;;
initiated = true;
return 0;
GeneralRe: Problem with lpdirect3ddevice9 Pin
ZoogieZork4-Dec-03 18:17
ZoogieZork4-Dec-03 18:17 
GeneralPostMessage() problems Pin
Sid_smily4-Dec-03 9:18
Sid_smily4-Dec-03 9:18 
GeneralRe: PostMessage() problems Pin
David Crow4-Dec-03 9:24
David Crow4-Dec-03 9:24 
GeneralThe right way Pin
Abin4-Dec-03 13:27
Abin4-Dec-03 13:27 
GeneralUpdateLayeredWindow() Help !!! Pin
4-Dec-03 8:50
suss4-Dec-03 8:50 
GeneralLastest beta of Visual Studio .NET Pin
Robert Buldoc4-Dec-03 7:54
Robert Buldoc4-Dec-03 7:54 
GeneralRe: Lastest beta of Visual Studio .NET Pin
Mike Dimmick5-Dec-03 0:23
Mike Dimmick5-Dec-03 0:23 
GeneralRe: Lastest beta of Visual Studio .NET Pin
Robert Buldoc5-Dec-03 21:05
Robert Buldoc5-Dec-03 21:05 
GeneralVS .NET window type Pin
rpadrela4-Dec-03 7:29
rpadrela4-Dec-03 7:29 
GeneralRe: VS .NET window type Pin
Christian Graus4-Dec-03 10:17
protectorChristian Graus4-Dec-03 10:17 
GeneralRe: VS .NET window type Pin
rpadrela5-Dec-03 3:18
rpadrela5-Dec-03 3:18 
GeneralRe: VS .NET window type Pin
Christian Graus7-Dec-03 8:28
protectorChristian Graus7-Dec-03 8:28 
QuestionLayout controlbars? Pin
Zizilamoroso4-Dec-03 7:20
Zizilamoroso4-Dec-03 7:20 
Questionhow do i create a resource assembly? Pin
godzooky4-Dec-03 6:48
godzooky4-Dec-03 6:48 
GeneralReplace MFC with Web Browser Pin
sweep1234-Dec-03 6:41
sweep1234-Dec-03 6:41 
Generalenable profiling in .net 2003 Pin
Jon Winkel4-Dec-03 6:38
sussJon Winkel4-Dec-03 6:38 
GeneralRe: enable profiling in .net 2003 Pin
Joe Woodbury4-Dec-03 14:43
professionalJoe Woodbury4-Dec-03 14: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.