help me kill that illegal operation message in Windows

Chooco

Banned
Apr 5, 2002
731
0
0
i've posted this before but i lost track of that thread and i didn't get any answer so i'll post again. the problem is that this message actually freezes my webserver and it prevents my game server from restarting itself. here is a picture of that message:
Illegal Operation

BTW this is Windows XP
the problem is that the message comes up after my game server crashes from time to time, it's not bad when i'm here but if i'm at school or sleeping or on vacation, the game server and website will stay down until somebody comes and clicks "don't send"
 

Chooco

Banned
Apr 5, 2002
731
0
0
but i don't own Office XP
rolleye.gif
 

singh

Golden Member
Jul 5, 2001
1,449
0
0
I though you could program? Write a program to watch for this message, and send keystrokes to the window to automatically dismiss the dialog.
 

Chooco

Banned
Apr 5, 2002
731
0
0
how are you supposed to program for Windows if you don't have the source code? there's no way in hell i could ever guess the name given to that error message....... i dunno...maybe screwuser_message perhaps?
 

singh

Golden Member
Jul 5, 2001
1,449
0
0
As a matter of fact, I am almost certain that you could even write a small Windows Script to do this. But I'm not very knowledgeable about scripting, so I can't give you any details.
 

singh

Golden Member
Jul 5, 2001
1,449
0
0
What you do is set up a simple timer-loop that keeps checking for this message. To find the window, you could write code such as:

HWND hwnd = FindWindow(NULL, "hlds.exe"); // Search for the title of window
if(hwnd)
{
// Send the neccessary keystrokes to the window
}

edit: No class name is needed
 

Chooco

Banned
Apr 5, 2002
731
0
0
but there are no keystrokes for that window, if you don't have a mouse, you can't close that messgae window.
 

singh

Golden Member
Jul 5, 2001
1,449
0
0
Originally posted by: Chooco
but there are no keystrokes for that window, if you don't have a mouse, you can't close that messgae window.

Then send it some mouse-events!

 

AKA

Golden Member
Oct 10, 1999
1,304
0
76
First off disable Error reporting.

Go into event viewer and see what information it gives you. Start, run and type in: eventvwr

Then make sure your sound, video drivers are updated.

After that try reducing the sound acceleration.. that helped me in ghost recon. Control Panel (classic view), sounds & multimedia, audio, advance, performance.

Reducing graphics acceleration helped me in RTCW. Control panel, display settings, settings, advance, troubleshooting.