Woot!
AsciiImage for Delphi by Alexander Benikowski on GitHub repository Memnarch/AsciiImage..
–jeroen
via: And here it is: AsciiImage for Delphi http://memnarch.bplaced.net/blog/?p=129.
Posted by jpluimers on 2015/05/21
Woot!
AsciiImage for Delphi by Alexander Benikowski on GitHub repository Memnarch/AsciiImage..
–jeroen
via: And here it is: AsciiImage for Delphi http://memnarch.bplaced.net/blog/?p=129.
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2015/05/13
A while ago, I posted [WayBack] the below StackOverflow answer. Recently a friend asked me about command-line parsing in Delphi, so here is the re-run:
Delphi contains a really nice unit called CommandParser with a [WayBack] TCommandParser class that does commandline parsing for you. Since it has [WayBack] virtually no documentation, here are a few things to get started. It works even in Delphi 2007.
I have a HiddenExecutable example at our open source bo repository.
Basically you:
THiddenExecuteSettings in the HiddenExecuteSettingsUnitTHiddenExecuteArguments in theTHiddenExecuteArgumentsUnit (in retrospect not such a good name) that contains an InitCommandLine method that sets up a TCommandParser instance passing it your TComponenth and help)TCommandParser instance to process the commandline and fill the properties of your TComponent (in my example, this is done in the ProcessCommandLine method).Now comes the fun:
HelpText method that fully automatically assembles a helptext based upon what you fed it with the AddSwitch methods.SaveOptions method that allows you to save the current settings of your TComponent into a settings file.The Delphi units you need are these which you can get from the Embarcadero [WayBack] radstudiodemos.sourceforge.net demo repository:
CommandParser in '...\radstudiodemos.sourceforge.net\branches\RadStudio_XE2\Delphi\Database\dbExpress\Utils\CommandParser.pas',
PropertyHelpers in '...\radstudiodemos.sourceforge.net\branches\RadStudio_XE2\Delphi\Database\dbExpress\DbxDataPump\PropertyHelpers.pas',
ParseIds in '...\radstudiodemos.sourceforge.net\branches\RadStudio_XE2\Delphi\Database\dbExpress\DbxDataPump\ParseIds.pas',
Edit: [WayBack] John Kaster wrote a nice [WayBack] article on EDN that includes [WayBack] more details on using the TCommandParser.
Note the above mentioned code mostly is on [WayBack] https://bitbucket.org/jeroenp/wiert.me/src/tip/Native/Delphi/Apps/Console/HiddenExecuteConsoleProject
Since Delphi XE7, this unit does not ship with Delphi any more, but it is still at [WayBack] RAD Studio Demo Code / Code / [r2029] /branches/RadStudio_XE6/Object Pascal/Database/dbExpress/Utils/CommandParser.pas.
–jeroen
via: [WayBack] delphi – Suggestions for how to define command line parameters – Stack Overflow.
Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, Software Development | 4 Comments »
Posted by jpluimers on 2015/05/06
It took me a while to figure this one out:
When you have a registered Delphi, you can Ctrl-Click browse both the units and symbols of RTL, VCL, etc. But Delphi will not recompile these units.
Some third party components you cannot Ctrl-Click browse the units or symbols, unless you put the source directory in the Delphi Library Path (which causes them to be compiled each and every time).
This is because:
These are the possible values for that directive:
So please component vendors: when you ship source code, make it IDE-browsable as well by compiling with $YD or $Y+.
–jeroen
via:
Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Development, Software Development | 2 Comments »
Posted by jpluimers on 2015/05/01
Interesting, Lars Fosdal writes:
VS/C#6 is out-delphi-ing Delphi.
I hope EMBT is paying attention.
Currently live at http://channel9.msdn.com/
I already liked the 7 minute C#6 video from last year. This is even better.
–jeroen
via: VS/C#6 is out-delphi-ing Delphi. I hope EMBT is paying attention. Currently….
Posted in .NET, C#, C# 6 (Roslyn), Delphi, Development, Software Development, VB.NET, VB.NET 14.0 | 10 Comments »
Posted by jpluimers on 2015/04/28
Stefan Glienke started some interesting demographics polls on the G+ Delphi community.
Demographics are about group members that actually voted. Which might rule out Delphi programmers not writing English well.
Despite that, I think it actually tells a lot, especially when you read the comments as well.
And it made DavidI provide some background on the geographic distribution: Where in the world are programmers using Delphi? – Blogs.
–jeroen
Posted in Delphi, Development, Software Development | 3 Comments »
Posted by jpluimers on 2015/04/22
General XE8 news:
Components/tools/libraries updated to XE8:
–jeroen
via:
Posted in Castalia, Delphi, Delphi XE8, Development, Software Development | 1 Comment »
Posted by jpluimers on 2015/04/21
Especially when using Delphi 2007 on Windows x64 system (8.x, 7, Vista, 2012 Server, 2008 Server, …), the Delphi specific .Targets files used by msbuild are simply installed to the wrong location.
A better warning for this is in my BeSharp.net repository: Run-Dependend-rsvars-From-Path.bat thanks to David Millington who wrote this:
If you copy
- Borland.Common.Targets
- Borland.Cpp.Targets
- Borland.Delphi.Targets
- Borland.Group.Targets
from
- %windir%\Microsoft.NET\Framework\v2.0.50727
to
- %windir%\Microsoft.NET\Framework64\v2.0.50727
then building via the command line works.
The rsvars.bat file is correct.
Note that my batch file checks for all target file sets:
set requiredTargets=Borland.Common.Targets Borland.Cpp.Targets Borland.Delphi.Targets Borland.Group.Targets
set requiredTargets=CodeGear.Common.Targets CodeGear.Cpp.Targets CodeGear.Delphi.Targets CodeGear.Deployment.Targets CodeGear.Group.Targets CodeGear.Idl.Targets CodeGear.Profiles.Targets if %bdsVersion%==8 set requiredTargets=CodeGear.Common.Targets CodeGear.Cpp.Targets CodeGear.Delphi.Targets CodeGear.Group.Targets CodeGear.Idl.Targets if %bdsVersion%==13 set requiredTargets=CodeGear.Common.Targets CodeGear.Cpp.Targets CodeGear.Delphi.Targets CodeGear.Deployment.Targets CodeGear.Group.Targets CodeGear.Profiles.Targets
–jeroen
via [WayBack] QualityCentral: Project compiles fine under IDE, but not using MSBuild.
Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Development, QC, Software Development | 3 Comments »
Posted by jpluimers on 2015/04/15
{$IF defined(MSWINDOWS) and not defined(NEXTGEN)} – XE8 first impressions Installed RadStudio XE8 (Pro) last night and these are….EConversionError ‘Internal: Type tkPointer is not currently supported’: it seems in the DataSnap XE 8 transfer of TList class crashed, the problem….Components and tools that work with XE8:
Appmethod
--jeroen
Posted in Castalia, Delphi, Delphi XE8, Development, Software Development | Tagged: 1, Delphi, UniDAC, XE8 | 3 Comments »
Posted by jpluimers on 2015/04/14
A few people asked, so below is a picture of just a piece of my books closet.
From left to right:
This is only the front-left portion of one shelve. Most shelves are two deep and about 4 times as wide as what you see here (:
I have floppies somewhere in my archive too. Need to dig them up some day.
–jeroen
via:
Posted in Delphi, Delphi XE8, Development, History, Pascal, Software Development, Turbo Pascal | 6 Comments »
Posted by jpluimers on 2015/04/09
A while ago I wrote about Delphi XE7 is out with version 21.0.17017.3725; Spring4D is almost ready, now I can repeat parts of it for XE8.
The download links for Delphi XE8, C++Builder XE8 and RAD Studio XE8 are there: ftpd and altd. A whopping 7,217,184,768 bytes (compare that to XE7 update 1 at 5,649,917,952 bytes: almost 30% increase) that has been seeded a few days ago with the version time stamped at the end of last month (like xe7), here is the version number: 22.0.19027.8951.
Before installing, note that in addition to the below documentation links:
Be sure to have at least 70 gigabytes of free disk space before you attempt to install.
This in addition to the almost 7 GiB ISO file (:
The download is fast as altd is on akamai: the 7 GiB downloaded in about 16 minutes. Google can do the math.
On the Spring4D side, Stefan and Honza have added XE8 support, so a new release of that can be near.
Posted in Delphi, Delphi XE8, Development, Software Development | 9 Comments »