Game crashing when other programs are opened

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

Game crashing when other programs are opened

Post by Nemesis »

I know, I know. You think... Why he don't directly put this topic title and make the message post :lol: ?
Seriously, I've a urgent problem. In principle I think I've made error with my code, miss some parts or another reason, but when I start to test it myself it become a reality... my game hung if more than one program is opened :shock: ! Other commercial PC games I play start also with 3/4 programs opened! Anyone have my same problem or have a solution for it? Anticipate thanks :) !
S.T.A.R.S.! (Resident Evil 3)
Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

Post by Nemesis »

Ehi guys one at time :lol: ! I know maybe it's a complicated matter, but I don't believe no one have found a solution for that :roll: ... And yes, I've already searched the forum( but there's the possibility I don't see what interesting me).
S.T.A.R.S.! (Resident Evil 3)
Nemesis
Posts: 65
Joined: Sun Mar 20, 2005 12:45 pm

Post by Nemesis »

Hello guys listen... what about memory sucking? In fact if I close the antivirus the problem disappear... So why I can't change the my app priority when run it? Anyone know a system for do so(change the priority of my app, like in task manager, but automatically)?
Thanks :) !
S.T.A.R.S.! (Resident Evil 3)
Guest

Post by Guest »

So, you're saying your program is working. You're also saying that your game crashes when you run another program? How much memory does your game take? It sounds kind of greedy.

I suppose your system specs could help determine this too.
Guest

Post by Guest »

I tried my program too ... on my computer with the executable using SSE instructions and on my computer and 2 more it was working fine but on a 3-rd computer ... it was crashing vey fast, and i found more computers where it crash so i take out the sse instructions and i put the optimize for processor to blended(not pentium pro, II,III what i was using).
And it work fine. Try to change those an tell me what result you get ... and if is working what is the cause ...
SARIN
Posts: 139
Joined: Fri Oct 29, 2004 3:53 am

Post by SARIN »

sry for the late post
u would probably need to use windows code, using HWND, but im not to sure
use one of these functions, depending on ur renderer:
http://irrlicht.sourceforge.net/docu/s ... data.html
*edit*
try the SetForegroundWindow() function in the windows api
http://msdn.microsoft.com/library/defa ... indow.asp
Post Reply