Posts

Showing posts with the label Delphi Developers: Delphi Bugs & Issues

I'm having an error when installing Jedi JVCL components. BTW I'm using the latest source from Github.

I'm having an error when installing Jedi JVCL components. BTW I'm using the latest source from Github. I succeed installing JCL + JVCL on stock RIO version (without the december patch). I feel that I'm getting this error since installing the december patch Here is the error message from JVCL installer [Compiling: Packages] [Compiling: JvCore260.bpl] "C:\Program Files (x86)\Embarcadero\Studio\20.0\Bin\dcc64.exe" JvCore.dpk Compiler Speed Pack dev 2018-12-11-2343 - failed : Replace compiler code with faster POPCNT functions [Compiler64.POPCNT] failed : Faster BitVecEnum implementation [Compiler64.X86.BitVecEnum] failed : Remove double tree iteration in ExpandStmtList [Compiler64.X86.ExpandStmtList] failed : HwReg function optimizations [Compiler64.X86.HwReg] failed : IterateNode optimizations/shortcuts [Compiler64.X86.IterateNode] failed : Remove unnecessary ZeroMemory from NewMemBlock [Compiler64.X86.NewMemBlockZero] failed : Move invariant above the loop in Prepar...

overflow/range error not detected by delphi

overflow/range error not detected by delphi I had code as follows: Q.ParamByName('iID').AsInteger := lNextID; lNextID is defined as Int64, but I used the AsInteger (which is type Integer - ie 32-bits large), but even with Overflow and Range Checking enabled (and a total project rebuild), Delphi never complained or hinted that I made a mistake or that data could be truncated. Weird?? Subsequently I changed the code to .AsLargeInt := lNextID; I'm using Delphi 10.2.2 and it's a 32-bit Windows project.

7 Major versions later and Delphi hasn't improved a bit!

7 Major versions later and Delphi hasn't improved a bit! Delphi IDE's error insight complains about this perfectly valid code: if aHeader.RecType.IsEmpty then sl.Add('RecType is missing.'); where RecType is of type ROUTF8String and ROUTF8String is defined as follows: type ROUTF8String = string; So it's just an alias for String really. Delphi IDE gives me a error that IsEmpty is not implemented for type ROUTF8String. But, when I compile the code, then magically the compiler itself is perfectly happy with it. I came from XE3 to XE 10.2, and it seems that after 7 major versions, the IDE Error Insight has not improved a bit. Still the first "feature" you need to disable when using Delphi! Why do people still buy Delphi?

7 Major versions later and Delphi hasn't improved a bit! Delphi IDE's error insight complains about this perfectly valid code:

7 Major versions later and Delphi hasn't improved a bit! Delphi IDE's error insight complains about this perfectly valid code: if aHeader.RecType.IsEmpty then sl.Add('RecType is missing.'); where RecType is of type ROUTF8String and ROUTF8String is defined as follows: type ROUTF8String = string; So it's just an alias for String really. Delphi IDE gives me a error that IsEmpty is not implemented for type ROUTF8String. But, when I compile the code, then magically the compiler itself is perfectly happy with it. I came from XE3 to XE 10.2, and it seems that after 7 major versions, the IDE Error Insight has not improved a bit. Still the first "feature" you need to disable when using Delphi! Why do people still buy Delphi?

I'm using Delphi XE 10.

Image
I'm using Delphi XE 10.2. Whenever I click on the Documentation tab, I see the following uselessly rendered page. I can't seem to resize it either. Anybody know a solution to this problem? Delphi is running under the latest Windows 10 environment. I'm a contract developer for a company, so can't just willy-nilly upgrade Delphi to see if that possibly fixes the issue, so is there some other solution?

I'm using Delphi XE 10.2. Whenever I click on the Documentation tab, I see the following uselessly rendered page. I can't seem to resize it either. Anybody know a solution to this problem? Delphi is running under the latest Windows 10 environment. I'm a contract developer for a company, so can't just willy-nilly upgrade Delphi to see if that possibly fixes the issue, so is there some other solution?

Image
I'm using Delphi XE 10.2. Whenever I click on the Documentation tab, I see the following uselessly rendered page. I can't seem to resize it either. Anybody know a solution to this problem? Delphi is running under the latest Windows 10 environment. I'm a contract developer for a company, so can't just willy-nilly upgrade Delphi to see if that possibly fixes the issue, so is there some other solution?

Anybody using linux server with indy components and RIO Delphi?

Image
Anybody using linux server with indy components and RIO Delphi? Cause a bug in Namethread is not posible... So, is unusable for me right now. That bug was reported and don't fixed by EMB before release when is a total show stopper. Cant find the word to describe my feelings to EMB right now. The bug report is open and without any progress in weeks. No notice if will be patched or don't and even why they release the version with that bug. This are the kind of things making lose at complete the confidence in a tool. What must I say to the customer? I cant even give a time to release my product because that.

Anybody using linux server with indy components and RIO Delphi? Cause a bug in Namethread is not posible... So, is unusable for me right now. That bug was reported and don't fixed by EMB before release when is a total show stopper. Cant find the word to describe my feelings to EMB right now. The bug report is open and without any progress in weeks. No notice if will be patched or don't and even why they release the version with that bug. This are the kind of things making lose at complete the confidence in a tool. What must I say to the customer? I cant even give a time to release my product because that.

Image
Anybody using linux server with indy components and RIO Delphi? Cause a bug in Namethread is not posible... So, is unusable for me right now. That bug was reported and don't fixed by EMB before release when is a total show stopper. Cant find the word to describe my feelings to EMB right now. The bug report is open and without any progress in weeks. No notice if will be patched or don't and even why they release the version with that bug. This are the kind of things making lose at complete the confidence in a tool. What must I say to the customer? I cant even give a time to release my product because that.

Delphi, components and the PATH variable.

Delphi, components and the PATH variable. After installing Delphi Rio plus a whole slew of components (some through GetIt) I noticed that my Path variable was corrupted, simple Windows command line commands like "ping" resulted in a "file or command not found". So I fixed the Windows path variable (checkout "path editor" on codeplex) and now all seems to be well again, but I wonder if all these paths are absolutely necessary. Every version of Delphi registers its own BIN path and a BPL path. The BPL path I understand, it is needed for third party (or your own) packages. But isn't the BIN path redundant? I mean, if you start an executable under Windows such as BDS.EXE, then the operating system will also automatically search the directory where the executable is located whenever the exe tries to load a DLL.

"Modern" style of Rio online help causes weird text wrapping on 1280w monitor while wide empty band just wastes...

Image
"Modern" style of Rio online help causes weird text wrapping on 1280w monitor while wide empty band just wastes space.

"Modern" style of Rio online help causes weird text wrapping on 1280w monitor while wide empty band just wastes space.

Image
"Modern" style of Rio online help causes weird text wrapping on 1280w monitor while wide empty band just wastes space.

Any idea why this code stopped working in 10.3, is it a bug?

Any idea why this code stopped working in 10.3, is it a bug? type TTest = record constructor Create(const ACommand: Integer; const AItems: TStringDynArray); overload; end; constructor TTest.Create(const ACommand: Integer; const AItems: TStringDynArray); begin end; var Test: TTest; begin // this shows // E2250 There is no overloaded version of 'Create' that can be called with these arguments Test := TTest.Create(1, ['test']); end;

I have one application, which when I compile it for Win32, ends its compile with:

I have one application, which when I compile it for Win32, ends its compile with: F2084 Internal Error: C2527. This is in Delphi 10.3 Rio. When compiling for Win64 it works fine. On Tokyo and other previous Delphi versions it also compiles fine. I have no idea what might cause this. It's a somewhat large application (about 1.4 Mloc), uses several hundreds of units and a few third party libraries. I will try to narrow it down, but I expect that is going to be quite a bit of work.. Any suggestions? Can anybody tell what kind of error C2527 is?

I have just downloaded 10.3 and after less than 1 minute I already have found an issue. Does this happen to you too?

Image
I have just downloaded 10.3 and after less than 1 minute I already have found an issue. Does this happen to you too? It seems that code insight does not recognize inline varaibles (but the code compiles)

RadStudio 10.3 Rio: installers have disappeared

RadStudio 10.3 Rio: installers have disappeared I cannot access the web based and the ISO installers in the registered user section anymore. Yesterday there - now gone. Does anyone else have the same problem? BTW: TMS Software noticed a bug with a path variable in the ISO version and contacted Embarcadero. They really have a problem with the quality department (if it still exists)

Great new feature of 10.3

Image
Great new feature of 10.3

FMX minimize bug fix for Delphi Rio Community.

FMX minimize bug fix for Delphi Rio Community. The two screenshots show you how. https://quality.embarcadero.com/browse/RSP-17322 You at home would need to add a patched FMX.Platform.Win to your project. RSP-17285 (previously open) was closed. RSP-17322 (reported) should be opened. https://quality.embarcadero.com/browse/RSP-17322

The platform selection in Delphi Rio seems to be down.

Image
The platform selection in Delphi Rio seems to be down.

Just installed Delphi 10.

Just installed Delphi 10.3 and used migrationtool.exe to import 10.2 settings, and my projects fail to compile with the following error (I am not even compiling a BPL, and all the directories mentioned in the argument exists) [Fatal Error] The "HasTrailingSlash" function only accepts a scalar value, but its argument "$(DCC_BplOutput)" evaluates to "C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl\Win64;s:\BPLs\XE10-64" which is not a scalar value. c:\program files (x86)\embarcadero\studio\20.0\Bin\CodeGear.Delphi.Targets Any ideas where this setting now lives or can be fixed ?

Just installed Delphi 10.3 and used migrationtool.exe to import 10.2 settings, and my projects fail to compile with the following error (I am not even compiling a BPL, and all the directories mentioned in the argument exists)

Just installed Delphi 10.3 and used migrationtool.exe to import 10.2 settings, and my projects fail to compile with the following error (I am not even compiling a BPL, and all the directories mentioned in the argument exists) [Fatal Error] The "HasTrailingSlash" function only accepts a scalar value, but its argument "$(DCC_BplOutput)" evaluates to "C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl\Win64;s:\BPLs\XE10-64" which is not a scalar value. c:\program files (x86)\embarcadero\studio\20.0\Bin\CodeGear.Delphi.Targets Any ideas where this setting now lives or can be fixed ?