Jump to content

Erix A.

  • Content Count

  • Joined

  • Last visited

Community Reputation

6 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Erix A.

    Delphi 10.3 Update 2 available

    Just installed from the delphicbuilder10_3_2_496593b.iso and am getting error when starting 10.3.2 (see attach). I checked macosxdebugide260.bpl dependencies and those 2 are missing from my PC: gdbdebugcore260.bpl gdbdebugide260.bpl The only thing (osx64) I was expecting from 10.3.2 and it's not working 😞
  2. Erix A.

    Random app crashes on MacOS

    Huh, solved the issue. Problem was in the C code, which was working fine on Windows, but was failing on MacOS (where gcc is actually clang).
  3. Erix A.

    Random app crashes on MacOS

    I have app, which works fine on Windows and I'm now trying to convert it to MacOS (Mojave). App uses some DLLs, written in C and compiled with gcc. Parameters to C functions are mostly passed as records (enums at the C side). Now, I recompiled the same DLLs as dylibs on a MAC and program works, but I get random crashes in libsystem_malloc, libsystem_platform and so on. I guess there's some issue with the memory management in my program, I just cannot catch it as crashes happen at pretty random places. Is there something special about how memory must be aligned or something when dealing with dylibs in MacOS? I'm loading those libraries dynamically and functions are resolved via GetProcAddress and they are defined as cdecl.
  4. Erix A.

    MacOS development environment

    PC or Mac keyboard/mouse?
  5. Erix A.

    MacOS development environment

    What about the RAM? Is 16 GB enough?
  6. Erix A.

    MacOS development environment

    Are you happy with the VMWare Fusion and are you using the normal or pro version?
  7. Hi, What's the best environment for MacOS development? - MacBook/Mini and running Delphi in Windows via VirtualBox/Parallels? - installing Hackintosh and running Delphi in Windows via VirtualBox/Parallels? - connect to Mac via VNC Viewer? - just have Mac next to the PC and switch over to it each time program is deployed? - other options? I've experimented with running MacOS in VirtualBox. It works, but is damn slow and also I'd like to test my program on a real hardware.
  8. Erix A.

    Can somebody confirm this in 10.3?

    I'm wondering if they are working on this? Just had to remove all 10.3 new features from my project (e.g. declaring variables in the middle of the code) so that I could debug my app in 10.2.
  9. Erix A.

    Can somebody confirm this in 10.3?

    OK, thanks. Reported the bug anyway.
  10. Erix A.

    My first Delphi 10.3 impressions

    It would be nice, if compiler/code completion/error insight/whatever is failing because of this gave a warning about this.
  11. Could somebody confirm this, before I report the error? Here's the full code (simple form with a button on it). When I add break point at the end of procedure TForm1.Button1Click(Sender: TObject);, in Delphi 10.2.3 I see the item, which was added, while in 10.3 I only see a pointer to it. unit Unit1; interface uses System.Generics.Collections, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) Button1: TButton; procedure Button1Click(Sender: TObject); private { Private declarations } public { Public declarations } end; type TItem = class private Ff2: string; Ff1: string; procedure Setf1(const Value: string); procedure Setf2(const Value: string); public property f1: string read Ff1 write Setf1; property f2: string read Ff2 write Setf2; end; type TItemList = class(TObjectList<TItem>); var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); var item: TItem; list: TItemList; begin item := TItem.Create; item.f1 := 'f1'; item.f2 := 'f2'; list := TItemList.Create; list.Add(item); end; { TItem } procedure TItem.Setf1(const Value: string); begin Ff1 := Value; end; procedure TItem.Setf2(const Value: string); begin Ff2 := Value; end; end. 10.3 10.2
  12. Erix A.

    My first Delphi 10.3 impressions

    Thanks for the tip 🙂 Looks uglier than 10.2.3, but at least it's usable.
  13. - IDE is slower than 10.2.3. For example, you can see how Project/Options window is being drawn while opening. - If you set the dark mode, then you can see how options window is first drawn white and then skinned. - Code scrolling in the editor seems bit slower. - When app is run and the closed, lots of windows resizing, flickering is going on while the IDE goes from Debug to Default layout. (The same is happening in 10.2.3 as well, only it does it much faster). - Sometimes after couple of runs Object inspector is not drawn at all until you refresh it. - 1st full recompile of the project took about 12 seconds - 2nd full recompile 40 seconds - 3rd full recompile minute and something - 4th one is still running (joke) - After couple of recompiles, the whole IDE just blurs in the background, compiler gets stuck, and then after some time everything resumes. - Code completion still isn't working in my project (It works after the 1st compile, then stops until project is cleaned). I reported it to QC and even got some response in the item, but then it stopped. When I turned the skinning off, IDE become more responsive, but some of the tool bars are drawn with non default background and when I hover over the tool bar buttons, the background for them becomes black. I'm kinda sad. Usually I install the new Delphi and very soon uninstall the previous one, as the new one is just better. Not this time 😞
  14. Is this app just for you or for others as well? If latter, I'd suggest you store settings in file, instead. It is then much easier to for user to send you the settings file than do the registry extract. Then you can just copy the file and run your program locally with those settings. And even if it's just for you, use the file. Much easier to copy the settings around :)
  15. Erix A.

    Extracting SQL from Delphi code and DFMs

    Could you, please, elaborate what "move to the server" means? Is the result just a simple .sql files, which will be run on a server?