Hello. I've spent . . . weeks now working on trying to figure out how to set up Windows XP in a virtual machine in order to run an old program of mine that simply refuses to run on this Windows 10 machine. I apologize profusely if my question is one that is already answered elsewhere. I have clinical depression that makes it very difficult for me to focus (hence why it has been weeks and I haven't gotten this done yet), so I am at my wit's end by this point trying to figure out where I need to look for various information required to accomplish this task. The information may be easily and clearly available, but just the process of locating it is giving me a headache. Hopefully if somebody can just bring the information to me instead of me going to the information I can finally get this done.
I have downloaded the most recent version of VirtualBox. I opened it up and hit the "new" button. I named the virtual machine and set it to "Windows" and "XP 32 bit". (The Windows disc I have is from a 32bit computer, though current computer I'm using is 64bit.) I made sure I gave it enough RAM and created a virtual hard disk using the default recommended amount of 10 gigabytes and set it to take up the whole 10 up front rather than working its way up the the maximum 10. I picked a format type from the list of acceptable ones for the virtual hard disk to be saved as. Under the storage setting I set it to look at the (host) computer's CD drive. With that all done, I opened up the virtual machine and put in the CD with my Windows XP operating system on it. The virtual machine's window tells me there's no operating system and asks me about doing a recovery process, so I do so to install the operating system telling it to look at the CD drive. It goes through with doing this and 40 minutes later it says it is done and just needs to restart the system and so I go along with that. But then, after it goes to restart, the virtual machine's window is just black, empty. I wait and wait and nothing happens. I tried closing the virtual machine and reopening it. When I open it I get that black screen with the text about the system not having shut down properly and counting down asking if I want to restart normally or in safe mode. Whether I hit "enter" to start normally or just let it finish counting down though, nothing happens. It just stays on that screen. I tried this multiple times. I then tried deleting the virtual machine and going through the whole process making a new one and the same thing happened again. I'm trying to determine what I've done wrong and how to fix this.
If anybody can help me here, I would strongly appreciate it. I've been trying to follow the VirtualBox manual, but see nothing about this issue. At this point, I feel like I'm being tortured by a machine.