Sign in to follow this  

APPCRASH

This topic is 2071 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am getting an APPCRASH error. I am using dx9 and c++.I am also using windows 7 64 bit.
[b][size="1"][color="#0066cc"][size="1"][color="#0066cc"]Problem signature:[/color][/size][/color][/size][/b]
[size="1"]Problem Event Name: APPCRASH[/size]
[size="1"]Application Name: space.exe[/size]
[size="1"]Application Version: 0.0.0.0[/size]
[size="1"]Application Timestamp: 4fb47f5a[/size]
[size="1"]Fault Module Name: d3dx9_43.dll[/size]
[size="1"]Fault Module Version: 9.29.952.3111[/size]
[size="1"]Fault Module Timestamp: 4bf7318d[/size]
[size="1"]Exception Code: c0000005[/size]
[size="1"]Exception Offset: 0001a761[/size]
[size="1"]OS Version: 6.1.7600.2.0.0.768.3[/size]
[size="1"]Locale ID: 1033[/size]
[size="1"]Additional Information 1: 0a9e[/size]
[size="1"]Additional Information 2: 0a9e372d3b4ad19135b953a78882e789[/size]
[size="1"]Additional Information 3: 0a9e[/size]
[size="1"]Additional Information 4: 0a9e372d3b4ad19135b953a78882e789[/size]
[b][size="1"][color="#0066cc"][size="1"][color="#0066cc"]Read our privacy statement online:[/color][/size][/color][/size][/b]

[size="1"][color="#0066cc"][size="1"][color="#0066cc"][u]http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409[/u][/color][/size][/color][/size]
[size="1"]If the online privacy statement is not available, please read our privacy statement offline:[/size]

[u][size="1"][color="#0066cc"][size="1"][color="#0066cc"]C:\Windows\system32\en-US\erofflps.txt[/color][/size][/color][/size][/u]

[u][size="1"][color="#0066cc"][size="1"][color="#0066cc"]please help.[/color][/size][/color][/size][/u]

Share this post


Link to post
Share on other sites
The debugger should help you there.

It's obviously a access violation in one of the D3DX functions. Are you passing an invalid pointer or NULL where you shouldn't?

It's all really hard to say without any code or more hints whatsoever. The debugger should stop at the offending line.

Share this post


Link to post
Share on other sites
here is some code
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3D9 g_pD3D = NULL; [/size][/font][/size][/font]

[font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"]// Used to create the D3DDevice[/color][/size][/font][/color][/size][/font][/color][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DDEVICE9 g_pd3dDevice = NULL; [/size][/font][/size][/font]

[font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"][font="Consolas"][size="2"][color="#008000"]// Our rendering device[/color][/size][/font][/color][/size][/font][/color][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPD3DXSPRITE g_Sprite = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_red = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_green = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_blue = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_ball = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_blank = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPDIRECT3DTEXTURE9 g_Texture_ship = NULL;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]LPD3DXFONT m_font;[/size][/font][/size][/font]
[font="Consolas"][size="2"][font="Consolas"][size="2"]when I open the dx9 window(game) it crashes after about 2 minutes of being open. [/size][/font][/size][/font]

Share this post


Link to post
Share on other sites
So you just start the app, and wait 2 minutes, then it crashes? Or is there a certain sequence of user input that causes the crash?

I'm trying to think of what could be different after 2 minutes of being open. Maybe there is a windows message that you're not handling correctly? Try putting a breakpoint in your WndProc and stepping through.

Share this post


Link to post
Share on other sites
[quote name='codeToad' timestamp='1337307325' post='4941088']
So you just start the app, and wait 2 minutes, then it crashes?
[/quote]
yes I start the app and wait then it crashes.

Share this post


Link to post
Share on other sites
Sign in to follow this