Delphi 10.4.2 and Delphi 11.0 cannot debug - - delphi

I cannot run Delphi in Debug. was previously running in Delphi 10.4.1
Now running both Delphi 10.4.2 in Windows 64-bit FMX and it gave the dreaded error "Unable to create process, 'c:\Win64\Debug\project1.exe'.
I googled. Some mentioned that it can be firewall setting (see below, which was automatically created). Some mentioned that it has to do with bds.exe permissions. One person ever mentioned to try running in Administrator mode. I tried all but it doesn't work.
Any ideas?

I just checked the Windows Firewall. Bring up the Control Panel, click System and Security, Windows Defender Firewall, Allow app through Windows Firewall.
Click [Change Settings] button.
The Embarcadero Debugger Kernel is originally installed as:
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\dbkw64_28_0.exe
Remove it, and add in
C:\Program Files (x86)\Embarcadero\Studio\22.0\bin\dbkw64_28_0.exe
Restart Delphi. Bingo! It now works

Related

RAD Studio 10.4.2 Community Edition cannot make a new delphi project

Submenu File -> New contains only "Other..." and "Customize" items.
How to correct this?
My OS is Windows 10.0.17763.107.
Old version is 10.2 with same problem.
Installed new version 10.4.2, in process of installation of Delphi Community, I have error at Roboto Font downloading:
[403] Forbidden
I pinged this address of Getit found in the registry: https://getit-104.embarcadero.com
It is not responding! Ok, changing to getit.embarcadero.com, the result is negative.
It seems that your Delphi installation hasn't finished properly. Either it was interrupted or Licence manager didn't manage to verify your Community licence properly.
You could try fixing your licence using Licence Manager that you can find inside Delphi folder. If my memory serves me correctly it is located withing BIN subfolder (don't have access to development machine at the moment to verify).
But if the installation proces itself is getting interrupted you might want to download ISO installation instead of Online installation. When installing latest version of Delphi I had to use ISO installation since Web installation kept loosing connection. I suspect my AV Software (ESET Internet Security) with integrated firewall might be the cause.

TEdgeBrowser Canary requirement

I tested TEdgeBrowser in RAD Studio 10.4.2 Sydney. Dropping the component onto a Form in C++Builder and then calling:
EdgeBrowser1->Navigate("https://www.stackoverflow.com/");
This results in an error on my development machine:
Failed to find an installed WebView2 runtime or non-stable Microsoft Edge installation.
I have placed WebView2Loader.dll (from C:\Program Files (x86)\Embarcadero\Studio\21.0\Redist\win32\) into the project's executable folder, so that could not have been the cause of the error.
After that, I installed Edge Canary, and then it started working without errors.
However, if I compile the same project in Release configuration, and then run on another system which only has a stable installation of the Microsoft Edge browser and doesn't have Edge Canary installed, it all works.
But, if I run the same Release build on my build system, it fails to load (probably because of the same reason as the Debug build - it can't find the Canary installation).
I tested TMS's TAdvWebBrowser component, which doesn't have this requirement, and it works on both systems without installing Edge Canary. But I'd prefer to use TEdgeBrowser instead, to avoid an unnecessary dependency on a third party component.
What is the reason for this odd behavior for TEdgeBrowser, and does the same happen in RAD Studio 11 Alexandria? Can this be avoided so it works with a stable Edge installation on both systems?
EDIT: I later discovered that there is this property:
EdgeBrowser1->BrowserExecutableFolder = "C:\\Program Files (x86)\\Microsoft\\EdgeCore\\101.0.1210.53";
With that, all works. But, according to the documentation (Using TEdgeBrowser Component and Changes to the TWebBrowser Component), it should automatically locate the current version of the WebView2 control on the system. It does this on one system, but not on the development system.
TEdgeBrowser requires WebView2 Runtime in order to operate. More details on MS Edge Documentation website.
WebView2Loader.dll should be loadable by your application, in the same folder, known path or registered in path environment variable. Latest version is available on NuGet. Nupkg is a zip archive. Look in build\native\ folder.
TEdgeBrowser.BrowserExecutableFolder should point to WebView2 runtime folder in case of fixed version.
Fixed version distribution, placed inside your application folder seems the preferred way on your scenario.
MS claims that evergreen version will be distributed by default in next Windows versions.

Jedi Project and Delphi 11 doesn't install via GetIt

I have attempted to install Jedi into Delphi 11, it goes through the installation process and Getit reports it as installed but it does not appear in the component palette. I have Jedi installed in Delphi 10.4.
Both JEDIVisualComponentLibrary and JEDICodeLibrary (Both JCL-2021.09) have been copied to the CatalogRepository but looking in the Options\language\Delphi\library none of the JediVCL libraries were entered and and only the 32 bit version of the CodeLibrary.
I entered the paths in Options/Language/Delphi/Library and restarted Delphi but none of the Jedi VCL controls appeared on the Palette.
Tried running uninstall from GetIt but nothing seems to happen then it says Done. Where do I find the actual Install/Unistall programs?
How do I clear out the Jedi Libraries and what is the best way to install them.
Got into your same situation and I didn't find JVCLInstall.exe either.
I went into folder:
..\Documents\Embarcadero\Studio\22.0\CatalogRepository\JEDIVisualComponentLibraryJVCL-2021.09\install\JVCLInstall
and opened JVCLInstall.dproj in Delphi 11 IDE. I run it from there and a JVCL install wizard poped up. I went through it and, despite some warnings, I got the components installed and available after closing and opening the IDE.

Install Delphi 5 for Windows 10

I tried to install Delphi 5 on Windows 10, but hangs when configuring the BDE.
I've tried in a different directory with administrator permissions.
I've tried for compatibility mode as well.
If someone knows , I am very grateful!
This image is the error
This is the procedure I use to install Delphi 5 Pro on Windows 10:
Log in as Administrator
Turn UAC off
Log in as Standard User
Install Delphi 5 Pro via installer
The installation hangs while trying to install the BDE.
Use Task Manager to kill the install process.
Delete C:\Program Files (x86)\Borland\Delphi 5\Uninst.isu
Install Delphi 5 Pro via installer
Select registry settings only.
Install d5proupgrade.exe (Bug fix Upgrade for Delphi 5 Pro)
Open a command prompt as Administrator:
> cd C:\Program Files (x86)\Common Files\Borland Shared\Debugger
> tregsvr bordbk50.dll
> cd C:\see\below\regarding\winhlp32-windows-7-x86-x86-komeil
> Install.cmd
Edit permission on C:\Program Files (x86)\Borland\Delphi5\Bin\delphi32.dro adding Everyone with Full Control
Start Delphi 5
When prompted, don't change JIT debugger and check don't ask again.
Close Delphi 5
Turn UAC on.
I don't use the BDE and have never tested to see if it works or not after this procedure.
See http://www.komeil.com/blog/windows-help-program-winhelp-winhlp32-exe to find out how to get Delphi 5 Help working in Windows 10 and to obtain winhlp32-windows-7-x86-x64-komeil.cab. You'll have to download and extract the cab file then edit the Install.cmd, adding the last two line in the Settings so it reads:
:: ---------------------------------------------------------------------------
:: Settings
set MuiFileName=winhlp32.exe.mui
set ExeFileName=winhlp32.exe
set WindowsVersion=7
goto :BypassVersionError
I experienced the same problem but I found a workaround.
Install BDE from a separate source (for example you can download it from the EDN)
Start installing Delphi 5
When it stuck on the Configuring BDE screen open Task manager and close the installer with the End task.
Start the installer again but choose the latest option to setting Registry only.
Enjoy (?)

Delphi XE installation of Jedi JCL 2.6 on Win8 (x64)

So I have Delphi XE (no number) and I have a project that was built on another machine (using JVCL components). Now, my machine is a Windows 8.1 (64 bits), and the previous machine was Windows XP (32 bits).
Of course I want to be able to continue developing the app, but for that I need the JCL/JVCL to be installed here too.
Now comes my problem. When I run the installer (bat) of JCL, it starts ok, but it does not show any options, so when I click the Install button nothing happens, and I get a message saying the installation finished. But of course nothing is installed.
This is how the installer looks on my x64 machine:
What can I do to install this JCL on a win64 machine? I am very sure that this is the problem: the OS. Because on 32bit OS (Windows XP) I have no problem installing it.
I looked it up, but could not find a straightforward solution. There might be a problem with some registry where the installer looks for the location of Delphi ?!?! but I have no idea how to fix it.
I need to install the JVCL, but it wont install unless I have JCL installed first... and the JCL does not install
Please help me.
Thank you

Resources