First of all I know that Borland C++ Builder 6 is legacy software and it's best to get rid of it and rewrite the whole code in a newer IDE. That's a plan indeed but before I do that I would like to launch the programs that I knew worked before on another machine.
I copied the projects from an old computer to a new one ensuring that the paths to source files and libraries are set correctly.
Problem: when I try to debug the program I get this pop-up error with no additional information:
Error: Unable to create process: The request is not supported.
There are two ways I kind of managed to get it to work:
- program1 launched with no error after a couple of tries (was recreated on the new machine by moving the files which was a relatively easy and fast process)
- program2 was a new empty project and I copied each function and component within each of the forms and manually set each property so that they matched the original one. This one was also able to debug successfully.
I have another 30 programs like this so it would be awesome not to have to copy each function by hand but simply move the files to new projects as in program1.
I had this problem last year, when I started converting a C++ Builder 6 project to V11. I was using Win 10 and, once I got it going, it was a far better environment than in an XP VM.
To make things work, I had to run the IDE as administrator and, if I remember correctly, in compatibility mode for Windows XP. Otherwise, Windows refused to give it permission to debug - I had the same error as your.
Once those settings were set I could debug.