-
Content Count
2839 -
Joined
-
Last visited
-
Days Won
168
Everything posted by Uwe Raabe
-
REST Request is not working well on Delphi 11
Uwe Raabe replied to Celso Henrique's topic in Network, Cloud and Web
The second call seems to have some query parameters inside the URL while the first one does not. This issue has a workaround in the comments: https://quality.embarcadero.com/browse/RSP-35365 -
Cannot do a Find Declaration for package unit unless "use debug .dcus" is enabled in application
Uwe Raabe replied to PeaShooter_OMO's topic in Delphi IDE and APIs
Perhaps similar to this one: LSP Ctrl+Click navigation fails when only DCP's referenced -
Missing procedures/functions in lookup??
Uwe Raabe replied to Ian Branch's topic in Delphi IDE and APIs
Historically the IDE uses several parsers for different functionality. The goal is to move all these to the new LSP approach, but that needs time. -
BestPractices: To raise, or not to raise ... an Exception in a class constructor
Uwe Raabe replied to Rollo62's topic in Algorithms, Data Structures and Class Design
Although that might be the case, I recently turned to form a habit that avoids anything causing exceptions inside constructors. That may also lead to avoid giving parameters to constructors - at least when they are not being handled seamlessly during the lifetime of the instance. That allows to concentrate on the real work to be done instead of figuring out some tricky handling of edge cases. LA := TRaiseOnMinus.Create; try LA.Initialize(AInputA); //<== PossibleRaise LB := TRaiseOnMinus.Create; try LB.Initialize(AInputB); //<== Possible Raise { do the normal stuff with LA and LB } finally LB.Free; end; finally LA.Free; end; -
Missing procedures/functions in lookup??
Uwe Raabe replied to Ian Branch's topic in Delphi IDE and APIs
Probably something in your code we cannot see that the parser stumbles upon. -
wuppdi Welcome Page for Delphi 11 Alexandria?
Uwe Raabe replied to PeterPanettone's topic in Delphi IDE and APIs
Unfortunately that won't work. High-DPI is not something the plugin initiates, it is the IDE doing that. The plugin just has to support it. The same with VCL styles. The IDE activates it and the plugin just has to cope with that somehow. Given that styling and dpi glitches are usually highly visible, they are the first that get reported. That may render the plugin unusable. That said, I am also a bit disappointed by the delay. On the other hand, I can imagine the challenge behind it. -
IDE Integration: Disable IDE Integration -> How to turn back on?
Uwe Raabe replied to Der schöne Günther's topic in MMX Code Explorer
Yeah, that's kind of a chicken and egg problem. The simplest approach would be to execute MMX_Setup again. -
IDE being destroyed by new versions
Uwe Raabe replied to Celso Henrique's topic in Delphi IDE and APIs
Yes. it should. It is the search field for IDE Insight and should find almost everything that the IDE is aware of. -
You can open a second edit window and (since D11) put the form designer in that one. That will mimic the former floating designer pretty well.
-
Sometimes it helps to rename the datamodule to avoid a name clash with the internal one. Naming a datamodule dmImages may be OK for a standalone application, but for an IDE plugin that seems not to be wise. I made this experience myself.
-
This can also happen when the missing DataSource is not located at the same form/frame as the DB components and the IDE fails to open the datamodule (or wherever this datasource resides) for whatever reasons. I had similar experiences with actions located in a datamodule. If by any chance that datamodule shares its name with one of the IDE internal ones (including those in 3rd party modules) that can be the cause of breaking the linkage.
-
The settings are in the same dialog as the list of recent files and projects. The default is 10 projects and 15 files.
-
Special Offer for Documentation Insight
Uwe Raabe replied to baoquan.zuo's topic in Delphi Third-Party
As long as it keeps doing what it was made for even in newer Delphi versions I would not rate that negative. There is plenty of software just refusing to work anymore where I would love to see it in some maintenance mode. -
TDataSet offers a method CopyFields for that.
-
How to set TBytes array to the file size ?
Uwe Raabe replied to William23668's topic in RTL and Delphi Object Pascal
There is a function for that in System.IOUtils: MyByteArray := TFile.ReadAllBytes(filename); -
How to load a PNG file into TImage, then copy another PNG file into it
Uwe Raabe replied to alank2's topic in VCL
Sure that: var bmp: TBitmap; png: TPngImage; begin bmp := TBitmap.Create; try png := TPngImage.Create; try png.LoadFromFile('c:\Program Files (x86)\Embarcadero\Studio\21.0\bin\Artwork\Windows\UWP\cppreg_UwpDefault_150.png'); bmp.SetSize(png.Width, png.Height); png.Draw(bmp.Canvas, TRect.Create(TPoint.Zero, png.Width, png.Height)); bmp.SaveToFile('c:\temp\test.bmp'); finally png.Free; end; finally bmp.Free; end; end; Depending on your Delphi version you might even succeed with a simple bmp.Assign(png); -
How to load a PNG file into TImage, then copy another PNG file into it
Uwe Raabe replied to alank2's topic in VCL
What about just Draw the Png to the Bitmap Canvas? -
OK, inline const and inline var are not fully covered by MMX in the moment. It is on the ToDo list, though.
-
Opinions about Pascal vs C/C++ IDE
Uwe Raabe replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
RAD Studio includes Delphi and C++ Builder, but you can purchase each separately.- 39 replies
-
- programming hardware
- rad studio
-
(and 1 more)
Tagged with:
-
IDE being destroyed by new versions
Uwe Raabe replied to Celso Henrique's topic in Delphi IDE and APIs
When you use it on an existing method to change its name. -
How do you acquire "Pictures" to be used in your project?
Uwe Raabe replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
Yes. -
Opinions about Pascal vs C/C++ IDE
Uwe Raabe replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
IIRC, there used to be a Delphi Driver Development Kit at least up to Delphi 2007, but I never had the need to make use of it.- 39 replies
-
- programming hardware
- rad studio
-
(and 1 more)
Tagged with:
-
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
Revenue is proportional to number of sales and price. -
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
Not sure where you get this from. The price for the first year and the price for the renewal are clearly shown side by side: https://www.embarcadero.com/app-development-tools-store/delphi They also offer subscription for multiple years if you ask for it. -
Are future security patches included in a RAD Studio perpetual Commercial License?
Uwe Raabe replied to TimCruise's topic in General Help
Not sure if I understand, but you can extend the life time by renewing your subscriptions for one or multiple years. Are you referring to the annual subscription cost being too expensive?