Why won't a Delphi-XE2 64-bit windows program run from within integrated environment? - delphi

An attempt to debug a small and simple 64-bit Windows application in Delphi XE2 gives this runtime error message: Unable to create process, ...
This error occurs upon an attempt to run the program with the build-configurations debug and release. It does not occur when started with the "Run without Debugging" in the project manager.
This happens only when trying to run the program from within Delphi's integrated environment.
This is on a 64 bit Desktop, with Windows 7 Professional and Delphi XE2 Update 4.

I have experienced exactly this. In my case the problem was my anti-virus (Sophos at that time). I had to completely uninstall the AV program to resolve the problem.

I had this problem when I was sharing internet connection through a wi-fi adapter. The solution is to turn sharing off

Related

Delphi 10.2 unable to create process: Access denied

Installed Delphi 10.2 (Tokyo) and compiled my very first hello word application. Getting weird error "unable to create process: Access denied" while debugging or running application. Application gets compiled successfully, but the IDE is not able to execute the exe, it seems. Also tried disabling AV and firewall; but it dint help. Can anyone help?
EDIT:
Added below Procmon screenshot per the suggestion by Lieman. I a virtual machine (win 7) and it works the same way in win 10. Both of them give similar PROCmon statistics. Not sure what next.
Edit 2
Uninstalled the Comodo firewall and the issues are resolved!!

Delphi iOS Simulator error message 'Session ended'

I am trying to run iOS Simulator from Delphi having setup the following needed configurations:
I am using mac with Parallel Desktop for my RAD Studio virtual machine.
I am using Delphi 10.1 Berlin.
Already installed an XCode and running.
I have my command line tools.
I have platform assistant and running in my mac.
I already created my connection profile using the IPAddress and port given by PAServer.
Installed SDK for OSX and iOS in the SDK Manager.
I have no problem running my OSX on my Mac.
The only issue I have is my iOS Simulator is not working. Here'sscreenshot of the error message.
I swear I checked the recommended troubleshoot procedures several times but no avail.
I hope someone help me get through with this. I already spent the whole day searching/troubleshooting this connection.
Many thanks and cheers!
There is a Hotfix for 10.1 Berlin called "30680_rad_studio_10.1_berlin_hotfix_11_jan_2017". It should be available for download from your EDN account under "My registered user downloads".
You need to copy the files from this zip archive onto your Mac in the PAServer-18.0 application folder /Applications/PAServer-18.0.app/Contents/MacOS. There is a readme_en.txt with a detailed description.

Can't run new project in win64 mode, but win32 mode works fine

I have recently reformatted my computer running Windows 8.1 and re-installed Delphi XE6 which was working fine prior to formatting the computer. Whenever i open up a new project and hit F9 (Windows 64 as target platform) i receive the following error:
Debugger Assertion Failure: "lastErr == WSAEINTR" in ..\win32src\wmcipc.cpp at line 294
Fatal error starting debugger kernel: 'Invalid debugger request'. Please save your work and restart RAD Studio XE6
I downloaded XE7 trial and ran into the same problem. I have done some google search but cannot find a resolution.
I guess there is some user access problem or a program blocking the debugger?
This Question was answered here:
https://forums.embarcadero.com/thread.jspa?messageID=712725
"Open a command prompt as Administrator, and run"
netsh winsock reset

How can i debug my DLL project with Delphi's PAServer

I Have a dll Project. I want to debug this Project with paserver on remote side. How can i pass my dll outpath dir on remote side and how can i pass my dll’s debug launcher application ?
For example my dll should be run on C:\MyApp\MyApp.DLL (On remote side)
And my debug launcher program should be run on C:\MyApp\MyDebugger.EXE (On remote side)
My Host application is Win32 VCL Application
Best Regards
PAServer is not stable at this stage. It simply cannot be used. There are MANY reports about this:
PAServer can't load dyld: Library
Delphi XE5 PAServer Unauthorized user
How can i debug my DLL project with Delphi's PAServer
Delphi XE4 iOS can't connect to PAServer
https://stackoverflow.com/questions/28115855/paserver-crashes-on-win64
Delphi Mac OS X
https://quality.embarcadero.com/browse/RSP-34061 (2021)
Solution: wait until they release something stable. (You will have to pay again, of course)
follow solution as discussed here : https://www.delphipraxis.net/204383-dll-unter-linux-deploy-prozess-2.html (German only)

iPad endpointIOTimerExpired error when plugging in iPad to Windows 7

I get an error similar to the one below about 5-10 seconds after plugging in an iPad into a Windows 7 laptop. When I plug the same iPads into a WinXP laptop, I do not get the error. I tried it on two iPads (iOS 5.0.1 on one and iOS 5.1.1 on the other) and they both showed the error on the Win7 machine.
The XP machine has iTunes 10.5.0.42 installed.
I tried both iTunes 10.6.3.25 and 10.5.0.142 (after first uninstalling 10.6.3.25) on the Win7 machine and the error was there with both versions of iTunes. I don't have a copy of the 10.5.0.42 installer or I would try that on the Win7 machine.
I suspect that this error is causing connection problems with my monotouch code on the Win7 machine which uses the USB connection to talk to the iPad. My code works fine on the XP machine.
REPHRASE: I suspect that this error is causing connection problems between my iPad running a Monotouch client which communicates over the USB to a server on the Win7 machine. My server on the XP machine communicates over the USB to the iPad just fine. The server code is the same on both the XP and Win7 machine. However, the error shown below appears when none of my code (on any machine/device) is running at all, so it looks like it might be an OS/Driver sort of issue.
Note: The image above is taken from here. The cause of my error (plugging in the iPad) is different than that listed in this link, but the error message is substantially similar.
If it's any help, I can reproduce this by plugging my ipad 2 into a Win7 VM on my mac (with latest iTunes installed)
I guess it's a Win7 + iOS issue? Not really anything to do with MonoTouch?

Resources