-
Content Count
102 -
Joined
-
Last visited
-
Days Won
2
Everything posted by GabrielMoraru
-
Delphi 11.1 + patches - No debug source / breakpoints?
GabrielMoraru replied to Lars Fosdal's topic in Delphi IDE and APIs
@Lars. Updates on this? I have a similar problem where debugging in Delphi 11.3 works.... for a while. Then suddenly all breakpoints are ignored. (Suddenly = I change one line a code and I recompile). I can't even put a breakpoint into the DPR! The project is properly set. I even turned on "map file" and "debug info into exe" in the Linker page. The project is really really large: Exe file (with debug info inside) 191MB. Exe file (without debug info inside) 51MB. Map file = 43MB. DCUs = 4MB (the rest is in (DPK) libraries). -
https://www.anoopcnair.com/windows-11-version-numbers-build-numbers-major/
-
[Open Source] Delphi Youtube Downloader
GabrielMoraru replied to mesut61's topic in Delphi Third-Party
Cool! -
Great tutorial!
-
Can you restart the LSP or do you have to restart the whole IDE?
GabrielMoraru replied to Der schöne Günther's topic in Delphi IDE and APIs
In the Delphi 12 IDE, under Tools, there is a "Reload LSP server" menu: It would be so cool to have it as an icon in the tool bar. But thanks to the old gods and to the new ones, it has an accelerator! -
Can you restart the LSP or do you have to restart the whole IDE?
GabrielMoraru replied to Der schöne Günther's topic in Delphi IDE and APIs
I use a similar solution. I use the TaskManager (I have the Classic Task Manager from Win7 which is really fast installed on my Win11) to kill the fattest LSP process. -
Hi I'm also interested in this. Any news/conclusions? Under VCL I had a reusable configurator where the user can change (dynamically) the font for the whole application (all forms/all controls). I would like to have it back in FMX also.
-
I gathered here a list of issues with FMX async messages. Some of them don't have the X button to close the message, some of them have the button but it does not work Some of them don't let you customize the caption Some of them don't show icons (error, warnings, info, question...) Some of them don't do the "ding" sound when they are displayed.
-
Also the TDialogServiceAsync.MessageDialog looks disappointing. No icons, no titlebar, no flavor. 😞 And the Fmx.Dialogs.ShowMessage is marked as deprecated 😞 _ Looks like I need to bake my own messages. I have seen a library here doing that but it uses Application.ProcessMessages - something I am not yet mentally prepared to accept 🙂
-
That's why I am asking how Roger deals with it. In my view, if you want true support for cross-platform (this includes also Android), there is no such thing as blocking/synchronous/modal dialog messages in FMX.
-
How do you deal with Android? It does not support blocking messages...
-
Update I did a massive re-haul of the code. Now works much much better and it recognizes way more VCL components.
-
Hi I can connect to the AI via a curl script, but I cannot from the IDE. When I click the "model" edit box I get:
-
Connecting Delphi 12 IDE to Google Gemini AI
GabrielMoraru replied to GabrielMoraru's topic in Delphi IDE and APIs
Yes. That was the problem. I already posted the solution (correct base URL) here. -
Connecting Delphi 12 IDE to Google Gemini AI
GabrielMoraru replied to GabrielMoraru's topic in Delphi IDE and APIs
I don't know how this will help me. I want to ask the AI questions, directly from the IDE. I have never used this kind of plugin and I want to try it now. So, I use Delphi's embedded support for this (in IDE -> Options -> Smart code design). -
I built a new/empty delphi fmx program with only a button on it. No code at all. I compile it and run it. I see it on the phone (android 8, delphi 12) but I only see the a white form with the FMX logo on it (red-yellow flames). I don't see the mainform itself. The main form is set to visible and stay on top, coordinates are 0,0. Somebody suggested that Android 8 has some problems with the permissions. Any ideas?
-
Android only shows the FMX logo for my app
GabrielMoraru replied to GabrielMoraru's topic in Cross-platform
So, mystery solved 🙂 That was my son's smartphone. Looks like he will finally get a new one 🙂. The old one was good enough because he is not allowed on social media and crap like this. Thanks guys! -
Android only shows the FMX logo for my app
GabrielMoraru replied to GabrielMoraru's topic in Cross-platform
Small update. I still cannot run the program from Delphi directly into the Android phone. However, I have found app's icon on the phone. If I click it, it works! So, it seems that Delphi has a problem debugging the program! _____ Hm... maybe I should try to run without debugging. -
GroupDescendentsWith - Why 'TCustomAction' is promoted to TControl?
GabrielMoraru posted a topic in VCL
Here is a code snippet from VCL.controls.pas: initialization ... StartClassGroup(TControl); ActivateClassGroup(TControl); GroupDescendentsWith(VCL.ImgList.TCustomImageList, TControl); GroupDescendentsWith(TCustomAction, TControl); finalization ... end. Why is TCustomAction which derive from TComponent "promoted" to a TControl? -
GroupDescendentsWith - Why 'TCustomAction' is promoted to TControl?
GabrielMoraru replied to GabrielMoraru's topic in VCL
Oh... I thought it is related somehow to the Palette. THANKS -
So, I have a program that uses the precompiled units of a library. This: Allows me to keep the Search Paths totally empty (as they should be) Prevents the compiler from keep recompiling the files of the library unnecessarily, saving compilation time. But if the library has DFM files, the compiler will throw that famous "where are my DFM files?" error message. The "solution" (well, it is not a real solution, but rather a dirty trick) is to (manually or by script) copy the DFM files to the DCU folder of that library. Four output DCU paths, four copies. What a nasty "solution"... So, did anyone found a more elegant way to solve this? I see in some old DProj files an entry called <DCC_ResourcePath>, but there is no page in "Project options" or in IDE's "Tools -> Options" to set that path.
- 16 replies
-
@357mag One should consider if he really needs data bases today. In the past you had to store data in a way that was searchable. Today, for most simple applications, the data will fit into the memory. Searching in-memory data will at least thousands of times faster than searching a DB. Consider also serializing your objects to binary files! Also damn fast compared with DB.
-
About the compiler (not) finding the DFM files
GabrielMoraru replied to GabrielMoraru's topic in Delphi IDE and APIs
I don't see why it wouldn't work. All the other entries support multiple paths. Plus, I have found entries like this in old files.- 16 replies
-
About the compiler (not) finding the DFM files
GabrielMoraru replied to GabrielMoraru's topic in Delphi IDE and APIs
I did a search for *.dproj and we have here 198 of these files - this means 198 packages and projects. If I change one of the 3rd party libraries then I have to adapt the rest of the 197 dproj files 😞 This is why I prefer the global Library Path. 🙂 __________ Is there something wrong with having multiple libraries into "Library path" ? Or is just a personal preference?- 16 replies
-
How I fixed LSP (sorta) and a question
GabrielMoraru replied to Brandon Staggs's topic in Delphi IDE and APIs
I worked on multiple projects that had multi-million SLOC. The last thing that you want to do when you have such project is to add more files to it! (Especially BIG files like the ones of Delphi VCL). Even if we are in C++, the compilation time could be quite high!