"Unable to create process ... \ project1.exe" while debugging Win64 applications in Windows 8

I am using Delphi XE4 Update 1. When I create and run a simple VCL application compiled with the Win64 platform on Windows 8. I encountered an error:

"Unable to create process: ...\project1.exe" 

However, it works if I run project1.exe without debugging.

I tried to figure out what would happen, but could not fix the problem.

I tried these:

  • Uninstall and reinstall XE4

  • I run C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\dbkw64_18_0.exe and it blinks instantly and closes without errors. Another Window 8 machine launches the program and remains on the desktop.

  • I reset Windows 8. Firewall rules. When I run the application in the debugger, it did not ask me for the usual firewall rules dialog.

  • I am adding firewall rules for dbkw64_18_0.exe , but it does not work

  • When I try to debug an application from the Win64 platform, a new rmtdbg180.exe process is rmtdbg180.exe . Each attempt to run the application in the debugger will create a new rmtdbg180.exe process. This does not happen on other Windows 8 machines.

Anyone have any ideas what happened to my car?

+6
source share
4 answers

You may have selected "Run this program as administrator" in the "Executable files" menu on the "Compatibility" tab. Uncheck this box

+4
source

Go to the folder C:\Program Files (x86)\CodeGear\RAD Studio\5.0\bin and find bds.exe , than right-click and select "Run as administrator". It is working correctly.

+1
source

You probably blocked bds.exe in your firewall. To debug a 64-bit application, you must allow bds.exe to connect to the Internet, or at least to the local network.

+1
source

I just ran into this problem in Berlin and was able to solve it by going to the Bin64 folder and resetting the security settings using additional settings.

+1
source

Source: https://habr.com/ru/post/955557/


All Articles