Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Unable to create process ...\project1.exe" when debugging a Win64 apps in Windows 8

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

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

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

I have tried to figure out what happens but failed to rectify the problem.

I have tried these:

  1. Uninstall and reinstall XE4

  2. I run C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\dbkw64_18_0.exe and it flash a while and close without any errors. Other Window 8 machine will run the program and stay in the desktop.

  3. I reset Window 8 Firewall rules. When I run the app in debugger, it didn't prompt me the usual firewall rules dialog.

  4. I add a Firewall rules for dbkw64_18_0.exe and but it doesn't work

  5. When I attempt to debug the app with Win64 platform, a new process rmtdbg180.exe is created. Each attempt to start the app in debugger will create a new rmtdbg180.exe process. This doesn't happen on other Windows 8 machine.

Anyone has ideas what happen to my machine?

like image 830
Chau Chee Yang Avatar asked Oct 09 '13 10:10

Chau Chee Yang


3 Answers

May be you checked "Run this program as an Administrator" in Executable File Properties menu Compatibility tab. Uncheck this

like image 200
Hossein Moradian Avatar answered Nov 13 '22 16:11

Hossein Moradian


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

like image 1
salwio Avatar answered Nov 13 '22 15:11

salwio


Just encountered this issue with Berlin and was able to resolve it by going to the Bin64 folder and resetting the security settings through the advanced settings.

like image 1
Mitch Wolberg Avatar answered Nov 13 '22 16:11

Mitch Wolberg