Is you're whole PC crashing or just the program? What is the program and what is it meant to do (
THIS IS IMPORTANT)?
If XP is randomly restarting, turn on the blue screen of death:
- Right click my computer
- Properties
- Advanced tab
- Startup and recovery Settings
- Under system failure:
- Write an event to system log
- Send an administrative alert
- DO NOT automically restart - This is turning on the blue screen o' doom
- Under Write debugging information
- Small memory dump (64KB) should be enough
- Leave Small dump directory to %SystemRoot%\Minidump
Now, when windows crashes, you'll get a blue screen of death (YAY!). There will be a message near the top that is only one line long, which is kinda helpful, however, if you can get EVERYTHING on the screen (pen and paper to the ready!) then I can help you a lot more.
If you're NOT getting a crash, and instead windows just freezes, run the program in safemode (by holding ctrl at startup, and selecting "Safemode" from the list - don't worry about networking or command line). If it works, you are most likely getting a program collision, so in normal windows mode, close all running programs - including the icons in the taskbar and next to the clock.
Tell me what happens, and we can go on from there