Visit site The Wiert Corner

January 2018

2
votes
Vote UpVote

Poor mans C to Delphi converter by Wouter van Nifterick

The Wiert Corner – Seems very OK for a first pass in a C to Delphi conversion: [WayBack] Hi, I’ve created a C to Delphi converter.Because it’s been so useful to me that I’ve decided to share it.It converts C code as-you-type, and it keep… – Wouter van Nifterick – Google+ Source is ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-18 06:05
0
votes
Vote UpVote

Changing component class at run-time on demand for older Delphi versions need a bit more magic than you’d expect

The Wiert Corner – Just in case I ever need to do heavy Delphi 2007 magic to change the component class of an object instance: [WayBack] Quite unusual compiler behaviour (for older compilers) as seen here:http://stackoverflow.com/questions/41181767/patching-instance-class-requires-base-… – David Heffernan ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-16 06:05
0
votes
Vote UpVote

Delphi: playing Chimes.wav as an external file or embedded WAVE resource in Delphi XE5.

The Wiert Corner – Recently I had to play some notification sounds in a Windows Delphi application where the application deployment should be as easy as possible: preferable copying the EXE around. Playing a sound file seems easy, especially if it is a WAV file: just use the PlaySound or the (older) sndPlaySound API ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-10 16:05
0
votes
Vote UpVote

Damned ! var Comp : function(const s1, s2: string): Boolean; begin if CheckB…

The Wiert Corner – One of my main gripes about lots of RTL/VCL/FMX code: conventions are often lacking. Which means one of the below functions starts with Ansi (but does a Unicode operation) and the other has the parameters in reverse. var Comp: function(const s1, s2: string): Boolean; begin if ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-10 12:06
1
vote
Vote UpVote

Autoregister attribute for Delphi | Jon L. Aasenden

The Wiert Corner – Interesting idea: [WayBack] Wouldn’t it be nice if Delphi has an attribute that automatically registers your class for you? – Lennart Aasenden – Google+ Source at [WayBack] Autoregister attribute for Delphi | Jon L. Aasenden –jeroenFiled under: Delphi, Development, Software ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-10 06:05
1
vote
Vote UpVote

Some FastMM scenarios require NeverUninstall because the System unit finalizes things innitialised in other units

The Wiert Corner – You always have to be careful  with Delphi finalization sections cleaning up things that might have not created inside the corresponding initialization section. This is especially true for the System unit. That one actually contains this little piece of code that is being called after FinalizeUnits ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-09 12:05
1
vote
Vote UpVote

Animation problems in Delphi Tokyo 10.2 update 2? Check bug RSP-19525

The Wiert Corner – If you run into animation problems in Delphi Tokyo 10.2 update 2, then read [WayBack] … In particular I cannot use the use the animation to change the tab in a TabControl… – Raffaele Miola – Google+. It is likely that  RSP-19525 (10.2 Tokyo Release 2 breaks Animation under ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-07 12:05
0
votes
Vote UpVote

Record helpers can do wonders for code clarity.

The Wiert Corner – [WayBack] Record helpers can do wonders for code clarity…. – Lars Fosdal – Google+ Record helpers can help any type including enumerated types so you can add functions to enumerations. –jeroenFiled under: Delphi, Development, Power User, Software Development
Details Favorite? Off-Topic? jpluimers @ 2018-01-04 12:05
0
votes
Vote UpVote

Delphi inner scoping is undefined. Please Embarcadero/Idera, come up with a formal language definition for Delphi

The Wiert Corner – [WayBack] Hi there, this is pure curiosity only; but this compiler behaviour seems odd to me. What do you think?… – Agustin Ortu – Google+ The problems start when you prefix the outer class which you have to when using inner consts ([WayBack] Oh nice. Feel free to QP. Fails at least in ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-04 06:05
0
votes
Vote UpVote

LAUNCHED https://uberpdf.org/

The Wiert Corner – It is a lot (~300 megabyte compressed download!), but worth it. Here are the links: [WayBack] ÜberPDF Org ÜberBuild with ÜberPDF-SDK (either will work on all systems): [WayBack] UberPdfSdk-1000-0000.tar.gz (best for Unix Like systems – 299,311,992 bytes) sha256sum UberPdfSdk-1000-0000.tar.gz ...
Details Favorite? Off-Topic? jpluimers @ 2018-01-01 19:05

December 2017

0
votes
Vote UpVote

Delphi FMX TBitmapCodecManager.LoadFromFile calls TImageTypeChecker.GetType that returns ONLY predefined image types

The Wiert Corner – Bugs happen: [WayBack] Did I miss something ? I’ve tried to add a custom image loader for FMX … TBitmapCodecManager.LoadFromFile calls TImageTypeChecker.GetType that returns ONLY predefined image types ! (gif, bmp, png, tiff, jpg) … – Paul TOTH – Google+ I’m not ...
Details Favorite? Off-Topic? jpluimers @ 2017-12-31 20:05
2
votes
Vote UpVote

Delphi: it is better to use ifndef rather than ifdef to keep the IDE working properly…

The Wiert Corner – [WayBack] Dear diary,today I learned that it is better to use ifndef rather than ifdef if I want the IDE to keep working properly. I had a uses clause with an i… – Stefan Glienke – Google+ I promised to remind myself, so here it is (: –jeroen  Filed under: Delphi, ...
Details Favorite? Off-Topic? jpluimers @ 2017-12-28 12:05
1
vote
Vote UpVote

Ideara / Embaracdero at least fixed some of their security issues…

The Wiert Corner – Some security improvements A long while ago I quoted [WayBack] Ideara / Embaracdero is flushing away user trust in their ability to do secure computing… – Jeroen Wiert Pluimers – Google+. Since then they have fixed some of the issues: EDN password reset email messages do not ...
Details Favorite? Off-Topic? jpluimers @ 2017-12-27 18:05
0
votes
Vote UpVote

Valid reasons for having Delphi AnsiString on Mobile platform…not only for Internet but for Shaders also. //…

The Wiert Corner – It’s too bad that you need workarounds to get ByteStrings working on mobile devices as there are APIs there (like shaders) that work best with them. There was a nice discussion on this last year at [WayBack] I miss AnsiString on Mobile…not only for Internet but for Shaders also.// ...
Details Favorite? Off-Topic? jpluimers @ 2017-12-27 12:05
0
votes
Vote UpVote

c# – Why does Try-Catch require curly braces – Stack Overflow

The Wiert Corner – From my SO Question Archive: Just curious: Why is the syntax for try catch in C# (Java also?) hard coded for multiple statements? Why doesn’t the language allow: int i; string s = DateTime.Now.Seconds % 2 == 1 ? "1" : "not 1"; try i = int.Parse(s); catch i = 0; The example is for trivial ...
Details Favorite? Off-Topic? jpluimers @ 2017-12-27 06:05
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)