Lajos Juhász
Members-
Content Count
986 -
Joined
-
Last visited
-
Days Won
12
Everything posted by Lajos Juhász
-
I don't know what the IDE uses, but it is not usable on a mixed DPI multi monitor systems. I was forced to debug an aplication in such a scenario. Both the application and the IDE failed.
-
Delphi 12 Local CHM Documentation
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
It is online in read-only mode until the migration is finished. Attention: Embarcadero is migrating its customer bug and feature request reporting portal to a new system. This site will remain accessible as a read only repository. We'll shortly provide information on how to access and report bugs in the new portal. See https://blogs.embarcadero.com/embarcadero-quality-portal-migration/. I get the same image after F1 on that property. -
Why not keep the file locked while writing into it? In that case you have to do the hashing only when the file is done.
-
Where is the installer for RAD Studio ?
Lajos Juhász replied to dormky's topic in Delphi IDE and APIs
The install files are located at my.embarcadero.com (registered products portal). -
Firebird 5.0 with dbExpress (Delphi 12): unknown ISC error 0
Lajos Juhász replied to Achim Kalwa's topic in Databases
You can try to contact support and ask to open a ticket for dbExpress. As you wrote this is a new feature in Firebird that should be supported. -
Indy is a 3rd party free library. It is not owned or sponsored by Embarcadero. Embarcadero used it in the past, in recent versions it is replaced by Embarcadero implementation in the IDE and RTL.
-
You should check out https://github.com/danieleteti/delphimvcframework. What's DelphiMVCFramework DMVCFramework is a very popular Delphi framework which provides an easy to use, scalable, flexible RESTful, JSON-RPC and ActiveRecord framework for Delphi developers. DMVCFramework is the most popular Delphi project on GitHub and compiles for Windows (32 and 64bit) and Linux (64bit). DMVCFramework services can be compiled as console application, Windows Service, Linux daemon, Apache module (Windows and Linux) and IIS ISAPI (Windows). DMVCFramework works with Delphi 11 Alexandria, Delphi 10.4 Sydney, Delphi 10.3 Rio, Delphi 10.2 Tokyo, Delphi 10.1 Berlin, Delphi 10 Seattle.
-
Try to add the event handler using the object inspector. Delphi will generate the correct code. Select Server on the form then in Object inspector go to Events and double click on combobox for the OnHandleCommand event. (That is a more traditional way assign events.)
-
No, that was Turbo Pascal before OOP was introduced. https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Classes_and_Objects_(Delphi)
-
HandleCommand is an event handler, it should be a method of an object, not a procedure. You should add it to your TfrmMainClass.
-
Can't complete installation of RAD 10.4
Lajos Juhász replied to Luis Enrique's topic in General Help
You have multiple choice: - You can try to send money to Embarcadero. Maybe then they will be able to buy a better hardware. -Build a time machine. First travel back in time and install it while the "get it" was working. -
Try to add https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.Classes.ComponentPlatformsAttribute type [ComponentPlatformsAttribute(pidWin32 or pidWin64)] // Only supported on Win32 and Win64 TMyComponent = class(TComponent)
-
There is a bug in the component. Here is the call stack: rtl.System.Classes.ClassNotFound(???) rtl.System.Classes.FindClass(???) :55c8a47c FindClass + $18 :2490ca39 TPdfDoc.GetFont + $A1 :2490e778 TPdfCanvas.SetFont + $38 :2490e404 GetCurrentFont + $120 :2490e653 TPdfCanvas.SetPage + $13F :2490d393 TPdfDoc.AddPage + $23F :2490d7cf TPdfDoc.SetVirtualMode + $17 :24917b19 TPRPage.Create + $99 :526fd80a delphicoreide290.@Comppalmgr@TComponentPalettePageItemDelegate@CreateComponent$qqrxp25System@Classes@TComponentt1x60System@%DelphiInterface$33Componentdesigner@IDesignerModule%rx18System@Types@TRect + 0x1a designide.ComponentDesigner.TComponentRoot.DoCreateComponent(???,TWinControlItem($29E91FD0) as IItem,(0, 0, 0, 0, (0, 0), (0, 0)),True,True) designide.ComponentDesigner.TComponentRoot.CreateComponent(TComponentPalettePageItemDelegate($2450B928) as IInternalPaletteItem) :526f9b67 delphicoreide290.@Comppalmgr@TPalettePageItem@Execute$qqrv + 0x47 :54519dc5 coreide290.@Toolfrm@TToolForm@DoItemExecute$qqrxp29Vcl@Categorybuttons@TBaseItem + 0x3d :54516548 coreide290.@Toolfrm@TToolForm@FilterEditKeyDown$qqrp14System@TObjectrus58System@%Set$30System@Classes@TShiftStateItemt1$i0$t1$i10$% + 0x50 vcl.Vcl.Controls.TWinControl.KeyDown(???,[]) I have no time at the moment to investigate.
-
Cannot download the Delphi Community Edition
Lajos Juhász replied to Snubber's topic in General Help
Bookmarks is at the section Subscription only, I believe that is not available for the CE version. -
When the image format is registered the loadfromfile will create the class required to load the image. They are used the same way. Depending on the file type you have loaded the required object is created.
-
FireDAC - how to change an FDQuery field type?
Lajos Juhász replied to Roger Cigol's topic in Databases
I hope that this is going to work the same for C++ (I am doing it in Delphi): 1.) Open the file, select View as Text (Alt + F12) 2.) Do a search and replace 3.) go back to View as Form (alt + F12) 4,) save the file. During the saving process the IDE should ask to replace the definition. This the Delphi way Plan b. do the search & replace using refind.exe - https://docwiki.embarcadero.com/RADStudio/Alexandria/en/ReFind.exe,_the_Search_and_Replace_Utility_Using_Perl_RegEx_Expressions in case you have multiple forms. -
What new features would you like to see in Delphi 13?
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
An example would be Quick Report. It was designed to work only with 96PPI. When HighDPI is not allowed for the application the generated preview would be wrongly scaled and would not fit the page. -
What new features would you like to see in Delphi 13?
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
It is not about privacy. it is copyright. Anyone that has invested money into an algorithm and solution would not like to see it to appear inside an AI suggested code. That is one of the reasons why the source code for Microsoft Office is not open sourced..... -
Delphi Upgrade from 2007 / 2010 to XE5
Lajos Juhász replied to Bruce53's topic in Delphi IDE and APIs
You can install XE5 only if you have had support for XE3 at the time when it was released otherwise no. You can try with your XE3 serial number to activate. -
What new features would you like to see in Delphi 13?
Lajos Juhász replied to PeterPanettone's topic in Delphi IDE and APIs
I am with the idea that was presented in the Delphi's birthday webinar, I do not want the code from any of the projects I am working on to land in some AI database and pop up as a suggestion on a query. The code I am working on belongs to the company I am working for or a client. Nobody wants that code to go public. I am ok with the idea and did it a couple of times to ask Bing to write some simple code that I can review faster than to type in, have some fun. -
First step is to exclude the folder for a project that antivirus program reports and upload the generated exe to VirusTotal. If it is a false positive the next step is to report it to your antivirus program as false positive. Edit. So far, I have done this twice. Last time, a couple of years ago Microsoft Defender started to mark the Delphi executables as virus infected. After I filled the report, the issue was gone in 5-7 days. The other time when I did it was more than a decade ago.
-
Slow update of "Local variables" in the IDE
Lajos Juhász replied to snk666's topic in Delphi IDE and APIs
Close the Local variables, it's that slow at least since Delphi XE5. -
Does anyone know the truth about the Delphi subcription?
Lajos Juhász replied to caymon's topic in General Help
You should backup the installation ISO for every Delphi you use before you let the subscription expire. Also it could be problem to bump up the registration limit if you don't have an active subscription - a solution could be to install Delphi to a virtual machine. -
Error : constant expression violates subrange bounds
Lajos Juhász replied to Connie McBride's topic in RTL and Delphi Object Pascal
This was changed in D12, in Delphi 11 it was declared as: const {$EXTERNALSYM CW_USEDEFAULT} CW_USEDEFAULT = DWORD($80000000); now it's: const {$EXTERNALSYM CW_USEDEFAULT} CW_USEDEFAULT = Integer($80000000); -
Delphi 12: Do I need to do TList<T>.delete(NativeInt(0)) ?
Lajos Juhász replied to Perpeto's topic in RTL and Delphi Object Pascal
I don't read that way. The remark is: Note: To avoid ambiguity, conversions must be explicit, as the following code example illustrates. In the example MyList.delete(0) I don't see ambiguity. The examples on that page are reather bad.