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

Delphi, soap and wrapping values in cdata – Stack Overflow

For my link archive: [WayBack] Delphi, soap and wrapping values in cdata – Stack Overflow –jeroen

View Article


Using Delphi for jiggling the mouse – twm’s blog

To prevent a screen-saver from kicking in [WayBack] jiggling the mouse – twm’s blog: My solution then is this procedure: procedure JiggleMouse; var Inpt: TInput; begin Inpt.Itype := INPUT_MOUSE;...

View Article


GitHub – gabr42/MultiBuilder: Runs multiple programs in parallel, shows results

Given a Delphi build-VM with enough CPU cores to run many builds in parallel: [WayBack] GitHub – gabr42/MultiBuilder: Runs multiple programs in parallel, shows results. Much more on this at [WayBack]...

View Article

FireDAC can do DBMS back-end conditional SQL via Conditional Substitution

Though the field-types mentioned in the problem and solution are equal (so either is wrong), the solution in [WayBack] I have a little problem with FireDAC and the TStringField and TWideStringField...

View Article

Delphi: TInvokableClassRegistryHelper.GetInterfaceNamespace as the opposite...

A while ago, I needed the opposite of InvRegistry.RegisterInterface(TypeInfo(MySoapInterfacePortType, 'urn:myURN', 'utf-8');, so instead of registering an interface with a namespace URN, obtain the URN...

View Article


Delphi Gem of the day: putting “reintroduce” on a destructor. destructor…

A nice thread with examples of all the things you should not do with the Delphi reintroduce keyword: [WayBack] Delphi Gem of the day: putting “reintroduce” on a destructor.     destructor Destroy();...

View Article

Can we truly assert that an array returned from a function is always a true...

The answer is no: [WayBack] Hi all, Can we truly assert that an array returned from a function is always a new true copy and that this is guaranteed to not change in between compil… – Ugochukwu...

View Article

Delphi XE6 .. 10.1 Berlin truncating non-VCL-control texts to 256 characters...

As of Delphi XE6, the VCL also styles non-VCL controls, but this truncates the texts to 256 characters, for instance in non-balloon hints. This is fixed in Delphi 10.2 Berlin, by making the buffer...

View Article


Delphi – The use of AlignAttribute: indicate the alignment of a field

Great answer by Stefan Glienke at [WayBack] What’s the use of AlignAttribute? The documentation only says Internal use only.  – 丽丽乌克 – Google+: It forces the element it annotates to be aligned like...

View Article


From Delphi 1: Type Compatibility and Identity

A feature overlooked by many Delphi programmer was already introduced in Delphi 1 which is more or less the same as in the Delphi 2007 documentation at [WayBack] Type Compatibility and Identity. There...

View Article

Reverse engineering Delphi and Turbo Pascal unit interfaces (and maybe DCP...

Boy, I wish there was both an Embarcadero sanctioned grammar (see Delphi code completion fail with anonymous methods – Stack Overflow) and a DCU parser. This might work for DCP files as well, since the...

View Article

Delphi icons to distinguish various Delphi versions

When installing many Delphi versions, all have similar icons. So I asked this a while ago: [WayBack] I remember someone creating version specific icons for Delphi a while ago (around XE4 era I think),...

View Article

Unicode is hard, also for the Delphi compiler and IDE

The Delphi compiler does not see a unicode non-breaking space (0x00A0 as whitespace, and the Delphi IDE does not warn you about it: [WayBack] Delphi revelations #2 – Space characters are not just space...

View Article


Reminder to self: find open source tool that strips TDS / TD32 debug...

There is StripTDS from SmartBear, but it is not open source or downloadable without their full product install. So either find an open source tool that can strip TDS / TD32 symbol information from EXE...

View Article

Delphi and conditional compilation

There are various ways for Delphi code to verify what features are available. Historically, testing for the existence of VER### defines with $IFDEF or $IFNDEF is the oldest means, and as of Delphi 6,...

View Article


Class methods in Record vs Class in Delphi 2010 – Stack Overflow

A still relevant part for [WayBack] Class methods in Record vs Class in Delphi 2010+ – Stack Overflow is the distinction between class methods on both: on classes they can be either regular (no extra...

View Article

Delphi: get timestamp as ISO8601 string for use in filenames

On Windows, filenames do not like some characters (including : and +), so this is a quick way to get a timestamp into ISO8601 format that is compatible with filenames. TimeStamp := Now();...

View Article


Image may be NSFW.
Clik here to view.

Automated testing Windows applications using Katalon and WinAppDriver

[WayBack] Top 45 Best Automation Testing Tools Ultimate List • Test Automation Made Easy: Tools, Tips & Training Awesomeness A few notes, partially related to Enable your device for development –...

View Article

delphi – How to convert a null terminated string to string? – Stack Overflow

An old trick that I tend to forget: [WayBack] delphi – How to convert a null terminated string to string? – Stack Overflow: You can assign a null-terminated PChar directly to a String: function...

View Article

My toolkit – Roald’s blog

Always interesting to see what others put on their Windows development systems, for instance: [WayBack] My toolkit – Roald’s blog Everytime I (re)install my development computer I need to think about...

View Article
Browsing all 1440 articles
Browse latest View live