Quantcast
Channel: Delphi – The Wiert Corner – irregular stream of stuff
Browsing all 1440 articles
Browse latest View live

How to properly cleanup/shutdown a Delphi ISAPI (which uses Threads) |...

For my link archive: If you use Threads or global Objects (which are created in the initialization section for example) You have to cleanup/shutdown them in the OnTerminate event of the ISAPI...

View Article


“Use TXSxxxx classes for simple nillable types”

For my link archive: “Use TXSxxxx classes for simple nillable types” Use TXSxxxx classes for simple nillable types The first one missed these: [WayBack] delphi – How can I import a WSDL with TSXxxx...

View Article


Image may be NSFW.
Clik here to view.

Some Delphi settings require you to run with an Administrative UAC token

Though user-defined Code Templates live under %UserProfile%\Documents\Embarcadero\Studio\code_templates\Delphi, the stock ones (standard ones shipping with Delphi) ones do not: they live under...

View Article

delphi – How to set form height larger than 1096 pixels? (or width > 1620...

Delphi will limit [WayBack] Height or [WayBack] Width of a form in the designer based on the current Windows limitations, not on what your target users might. See [WayBack] delphi – How to set form...

View Article

The Delphi System.Exit “Function”

Still wrongly documented as System.Exit Function [WayBack], most people think it is a statement. However, it is a compiler intrinsic procedure in the System unit that – when called inside a real...

View Article


DelphiSpringTrees – Trees in Spring4D

From a while back: [WayBack] I just commited a version of (my suggestion for) DelphiSpringTrees; this is the first version that I’m happy with. Features: – Fast – Does not use or … – Johan Bontes –...

View Article

Reminder to self: check progress on Delphi helper requests

One of the things the Delphi language really could use some updates in is helpers. A semi-random example is in [WayBack] … It nags me that I can’t create a record helper for a generic type… – Lars...

View Article

Spring4D and factory – for my link archive

So I remember as resolving container things can be tricky: [WayBack] Spring4D and factory A very simple example: IExample = interface [‘{0F1BE36B-0735-4BCE-BAF7-AC0AC3B60A16}’] end; TExample =...

View Article


Image may be NSFW.
Clik here to view.

When the Delphi IDE gets slow…

A few tips for when the Delphi IDE gets slow, try these step by step: Install Delphi Fix-Pack by Andreas Hausladen (a.k.a. Andy) Disable “Error Insight” Disable or install LiveBindings related packages...

View Article


use the JVCL’s TJvXxxAppStorage to store float values as strings while...

For my link archive: [WayBack] Is there a way to use the JVCL’s TJvXxxAppStorage to store float values as strings (e.g. “10.152”) rather than hex dumps and also control the decimal separator… – Thomas...

View Article

Delphi code completion fail with anonymous methods – Stack Overflow

[WayBack] Delphi code completion fail with anonymous methods – Stack Overflow. It also often fails by inserting end; inside if/then/else statements having a proper begin/end blocks. The reason is that...

View Article

Spring4d Marshmallow ORM – ensuring the right identifier quoting is used

When an ORM generates the SQL for a certain database back-end, it needs to use the right quoting. Normally, the Spring4D Marshmallow project derives that from the back-end specific adapter used. But if...

View Article

E2398 Class methods in record types must be static (Delphi) – RAD Studio

[WayBack] E2398 Class methods in record types must be static (Delphi) – RAD Studio present since at least Delphi 2007 ([WayBack] E2398: Class methods in record types must be static). This is a Delphi...

View Article


Before using the PPL, I need to check to see if a few things have been fixed yet

Before using the PPL ever, I need to check out at least a few posts like these: [WayBack] I try use PPL and ITask, but I get strange things… – Jacek Laskowski – Google+ if you start existing ITask...

View Article

When whas the global FormatSettings variable deprecated?

Reminder to self to check out when [Archive.is] FormatSettings global variable of type [WayBack] TFormatSettings was deprecated as it was only documented as of Delphi 2010 but available much much...

View Article


Next up: TPDFPrinter and TPDFCanvas Expect a high paced (and easy) update cy…

For my link archive: [WayBack] Next up: TPDFPrinter and TPDFCanvas Expect a high paced (and easy) update cycle for Ultra, with a constant stream of new goodies! Zero hassles – it … – Joe C. Hecht –...

View Article

Changing the order of TabSheets in a PageControl in Delphi – twm’s blog

Good to know this as the Structure View sometimes lets me down: modify the PageIndex position as it is less stable than the Object Treeview in Delphi 7 and below. Via: [WayBack] Changing the order of...

View Article


How to convert a Delphi enum or set to a JSON value, with different specific...

As I will probably need this one day: [WayBack] How does one convert a Delphi enum to a JSON value, with different specific values? – CHUA Chee Wee – Google+: eg, TEnum1 = (test1, test2, test3)...

View Article

Working in a team? DprojSplitter might be helpful! | The Art of Delphi...

Reminder to self: split off the user settings from a Delphi .dproj so only the non-user settings get into your version control system. Some of you are probably already using my DprojNormalizer plugin...

View Article

Links to debugging COM stuff for Office Automation in Delphi

From a long time ago, but recently I needed them again. Note the .NET side is much much harder Revisited from the .NET side: Why doesn’t WINWORD.EXE quit after Closing the document from Delphi? (via:...

View Article
Browsing all 1440 articles
Browse latest View live