Sometimes you need to temporarily create a file or even a directory to put some files into. Windows (and most other operating systems, even MS DOS) reserves a special directory for this purpose and helpfully provides API methods for getting this directory (or you could just use the %TEMP% environment variable but while that is … Continue reading Using the %TEMP% directory
Category: Delphi
dzEditorLineEndsFix 1.0.2 released
I just released dzEditorLineEndsFix 1.0.2 on SourceForge. It now creates its own subdirectory under TEMP where its puts the unique subdirectories for the various copies of the .ttr file rather than cluttering TEMP. It also tries to delete this directory on startup (It can't do that on shutdown because the .ttr files cannot be deleted). … Continue reading dzEditorLineEndsFix 1.0.2 released
Creating application icons from multiple PNGs
Note to self: Icons for Windows applications with multiple resolutions can be created by combining multiple png images using the convert tool that comes with ImageMagcic: convert 16.png 32.png 48.png 128.png 256.png -colors 256 icon.ico (From this answer to this question on superuser.com.)
Delphi Custom Container Pack updated for Delphi XE8
I just updated the Custom Container Pack sources to support Delphi XE8. It was mostly a matter of creating the packages for the "new" version. I also added XE8 to the compilerversion.inc file. It now compiles and installs. I have not tested it extensively.
GExperts code formatter is now a little bit more Unicode aware
A new release of my experimental GExperts version is available. I fixed yet another issue with Unicode / UTF-8. It works now with some Arabic strings which got converted to question marks before. The usual warning applies: My unit tests still work so apparently I haven't broken too much in the process. I also tested … Continue reading GExperts code formatter is now a little bit more Unicode aware
Unicode is hard – harder than I assumed
In my last post I announced that the GExperts code formatter is now Unicode aware. Little did I know. Mohamed Kamel sent me a source file with Arabic strings which still got converted to question marks. So today I have dived into the source code again. I nailed the problem with Arabic strings (and added … Continue reading Unicode is hard – harder than I assumed
GExperts code formatter is now Unicode aware
After getting my Delphi XE8 installation to work again I have released a new experimental GExperts version. It is the first where the code formatter should be fully Unicode aware (for Delphi IDEs supporting Unicode, that is >= 2005). My tests worked and some brave souls also tested it live. Also, I found and fixed … Continue reading GExperts code formatter is now Unicode aware
Fixing “An Update Subscription … is required …
When the Delphi XE8 update1 was released it was also about the time for our company to renew my Delphi subscription. Unfortunately our accounting department fouled up paying the bill so for a short while my subscription was not valid. I knew nothing about this and installed the "Subscription Update". This left me with the … Continue reading Fixing “An Update Subscription … is required …
Yahoo pipes is shutting down – DelphiPipe will die
Yahoo just announced that they will be shutting down Yahoo Pipes on 2015-08-30. Unfortunately that means that DelphiPipe will also die, because I don't have the resources to move it to anywhere else. At least there is a new service that competes with DelphiFeeds: BeginEnd. It's even written in Pascal, so that kind of fits.
Experimental GExperts Version 1.37 2015-05-30 released
In this version the formatter now uses unicode strings for all Delphi versions that support them. The previous versions converted native Delphi strings to AnsiString before formatting and converted the result back from AnsiString to native Delphi strings. In rare cases this resulted in some special characters being replaced by '?' after the formatting. Thanks … Continue reading Experimental GExperts Version 1.37 2015-05-30 released