Here is the Q&A part for the “Mid” one (I will edit later): Read the rest of this entry »
Archive for the ‘Delphi XE5’ Category
Q&A log for the “RAD-in-Action Webinar Unit Testing in Delphi featuring Nick Hodges”
Posted by jpluimers on 2014/02/12
Posted in Delphi, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | 2 Comments »
Don’t forget to register: RAD-in-Action Webinar Unit Testing in Delphi featuring Nick Hodges
Posted by jpluimers on 2014/02/12
Do not forget to register for the RAD-in-Action Webinar Unit Testing in Delphi featuring Nick Hodges.
If you cannot watch it live: register anyway, as that will give you the URL for the replay download.
Very interesting stuff (I attended his sessions during the German EKON Conference) and a very entertaining speaker.
He is going to cover a lot in this seminar, and it is a great addition to the material in his Coding in Delphi book (Warren Postma wrote a nice review). You get the electronic edition of the book free when you have Delphi XE5, a hard-copy should be available soon. Read the rest of this entry »
Posted in Delphi, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | Tagged: Delphi, nick hodges, Warren Postma | 1 Comment »
Ready to cast: Chromecast now open to developers with the Google Cast SDK #interesting #fun (via: Chromium Blog)
Posted by jpluimers on 2014/02/03
With a more decent internet connection during our trip, it is time to catch up on some recent news.
The first that caught my eye was that the Chromecast API now is open to all developers.
Developer information is available through Casting Your Content to the Big Screen – Google Cast — Google Developers.
You need to pay a one-time USD 5 fee per development account (how’s that Apple?) for the Google Cast SDK Developer Console.
After that, you will have to register your Chromecast device(s) and custom or styled media receiver apps.
Interesting. Fun.
I hope this can be combined with the new Smart Mobile Studio 2.0 release or the Delphi for Android support.
Will get back on that as soon as I’m back home.
Resources:
More links:
- AllCast – Android Apps on Google Play./AllCast Premium – Android Apps on Google Play.
- Life With Chromecast: 6 Months Later – ReadWrite.
- Have Chromecast, Will Travel … Er, Maybe Not – ReadWrite.
- What’s Holding Up New Chromecast Apps? Nothing … But Google, That Is – ReadWrite.
- Simple design, lofty goals: Chromecast prepares for the global stage | Internet & Media – CNET News.
–jeroen
via: Chromium Blog: Ready to cast: Chromecast now open to developers with the Google Cast SDK.
Posted in Chrome, Chromecast, Delphi, Delphi XE5, Development, Google, JavaScript/ECMAScript, Pascal, Power User, Scripting, Smart Mobile Studio, Software Development | 1 Comment »
delphi – With a class operator is an implicit typecast to itself allowed? – Stack Overflow
Posted by jpluimers on 2014/01/29
In the series “interesting stuff you can do with Implicit operators”: delphi – With a class operator is an implicit typecast to itself allowed? – Stack Overflow.
Be careful though, as Implicit assignment will allow more code paths to the compiler than you expect at first sight (:
–jeroen
Posted in Delphi, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | Leave a Comment »
Pre-build trick does not work to circumvent [BRCC32 Error] xxx.vrc(1): error creating xxx.res (via: Embarcadero Discussion Forums & StackOverflow)
Posted by jpluimers on 2014/01/10
Ever since around Delphi 2007, it started to use temporary .VRC files to re-build the project .RES file.
It confuses people, and with reason as the only public information about it on the dockwiki seems to be in the Version Info page (though there is more on the other embarcadero sites).
The reason is that parts of the .RES file are no more leading in the process of getting them from your project options to the final binary (EXE/DLL/BPL/…) of your project.
Delphi XE3 for instance can have these resource structures in the .VRC file:
- VERSIONINFO (usually called “1”)
- ICON (called “MAINICON”)
- 24 (called “1”; 24 is in fact a numeric alias for MANIFEST)
- RCDATA (called “PLATFORMTARGETS“)
Except for type 24, Delphi XE2 seems to have the same kinds of resource types.
All in all, most if not all of the .RES files are being auto-generated for at least a couple of years now so there is less and less need to put it under version control.
The problem is that if for one reason or the other, your project .RES file becomes readonly, and you get errors like mentioned in Why does a projects res file need to ….
[BRCC32 Error] xxx.vrc(1): error creating xxx.res
.RES in VCS or not?
Posted in Conference Topics, Conferences, Delphi, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Event, QC, Resource Files and Scripts (.res/.rc), Software Development | Leave a Comment »
Delphi SOAP: some reminders to Self
Posted by jpluimers on 2014/01/04
Hadn’t been doing SOAP in Delphi for a while, and needed to send some Delphi data structures over the write where both Client and Server were going to be Delphi.
These links helped me:
- Soap.InvokeRegistry.TRemotable – RAD Studio API Documentation.
- Soap.InvokeRegistry.ERemotableException – RAD Studio API Documentation.
- Any descendants of the above need to be registered on the client and server using Soap.InvokeRegistry.TRemotableTypeRegistry.RegisterXSClass – RAD Studio API Documentation; see also Registering Nonscalar Types – RAD Studio.
- Server side registration of the class goes through Soap.InvokeRegistry.TInvokableClassRegistry.RegisterInvokableClass – RAD Studio API Documentation.
- Client and server side of the interface goes through Soap.InvokeRegistry.TInvokableClassRegistry.RegisterInterface – RAD Studio API Documentation.
- More links are at Using Web Services Index – RAD Studio.
- When passing around arrays of complex types: Delphi SOAP arrays problem – Stack Overflow.
- When using Delphi 2007 or earlier, ERemotableException descendants are not handled on the client properly. See Dr.Bob Examines… #102: Win32 SOAP and Exceptions.
- When manually serialising/deserialising TRemotable descendants, read De-Serializing TRemotable problems – Google Groups.
If both client and server are Delphi, you can share the interface units and registration.
Note: since native Delphi SOAP support uses old-skool RTTI, so any property you want to go over the wire needs to be published, not public.
If you want to go beyond that, or use other protocols than SOAP, use libraries for Delphi like RemObjects SDK.
–jeroen
Posted in Conference Topics, Conferences, Delphi, Delphi XE3, Delphi XE4, Delphi XE5, Development, Event, Software Development | Leave a Comment »
Some links on Delphi, JNI, Android
Posted by jpluimers on 2013/12/30
So I won’t forget to read these:
- Paul Foster – Google+ – XE5 – Fun with external Java libraries So, having been…
- Above but as a PDF version, thanks Fun with external Java libraries on XE5 by Paul Foster | The Podcast at Delphi.org..
- JNI – the old way of doing it and the Delphi OO way – Chee Wee’s blog: IT solutions for Singapore and companies worldwide.
- Porting the Delphi Android ARM JNI framework to Win32/x86 – Chee Wee’s blog: IT solutions for Singapore and companies worldwide.
- STACK.
Some of my own work on this back in the Delphi 7 days:
- Access to Java jar from Delphi – Stack Overflow.
- java – How to use JNI in Delphi 7 – Stack Overflow.
–jeroen
Posted in Delphi, Delphi 7, Delphi XE5, Development, Java, Software Development | Leave a Comment »
Delphi and LLVM: what is your take on this?
Posted by jpluimers on 2013/12/27
One more for the weekend (:
I wrote about Some links on the Delphi compiler and the LLVM Compiler Infrastructure Project about a year and a half ago which caused a short discussion on the embarcadero forums. A few month later Robert Love showed his views in a response to Tim Anderson writing about Clang and LLVM in the C++ side of the toolchain. Tim Anderson wrote more about LLVM in the Delphi tool chain in September 2012, then it went quiet for a while.
Since then the LLVM tool chain has integrated itself into both the C++ and Delphi toolchains and Wired wrote about LLVM.
Gunsmoker – who works at EurekaLog – wrote up some interesting comments in Russian (I hope the English Google translation is good enough).
In my view, the LLVM tool chain opens a lot more possibilities (shared back-end for Delphi and C++, coverage of more platforms, better optimization), but is also a lot slower and makes the debugging part a lot harder as the debugger is – symbol wise – much further away from the compiler than in the traditional setting (hence the 3 levels of debugging information that got introduced in Delphi XE5 and the compatibility problem that came with it).
I’m wondering what other users in the Delphi community think about the LVVM chain: is it working good enough for you? Should it be integrated further into the Windows/OSX parts of the chain?
–jeroen
Posted in Delphi, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | 26 Comments »
DelphiSpec Library Announce « Роман.Янковский.me
Posted by jpluimers on 2013/12/22
Cool stuff: DelphiSpec library, inspired by Cucumber. It runs on top of DUnit.
via DelphiSpec Library Announce « Роман.Янковский.me.
A similar one in the .NET realm: SpecFlow – Pragmatic BDD for .NET.
–jeroen
Posted in .NET, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 3.0, C# 4.0, C# 5.0, Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development | Leave a Comment »
Delphi XE5 Update 2 got released last week, end-of-year Delphi XE5 offer, #CodingInDelphi book
Posted by jpluimers on 2013/12/19
Just around the start of the Delphi XE5 end-of-year special offer (more details below), Delphi XE5 Update 2 was released (for geeks: version 19.0.13856.4978). It adds C++ Builder for iOS support, and fixes many bugs.
What I like most is that the majority of XE5 Update 2 bugfixes are not FireMonkey related.
It indicates the Delphi team puts a lot of effort in the classic Delphi stuff, where still a lot of Delphi users earn their money.
Since Delphi XE5 Update 2 is a re-install, the best is to download the ISO image which – like the updates for PAServer for Mac (ftpd) and PAServer for Windows (ftpd) – is on both the altd and ftpd server.
XE5 promotion offers
Best of all: you get RAD Studio XE5, Delphi XE5, or C++Builder XE5 (: Read the rest of this entry »
Posted in Delphi, Delphi XE5, Development, Software Development | Tagged: Delphi, Delphi book | 7 Comments »





