Posts

Showing posts from April, 2015

Delphi's New Feature Desired: Smart Properties declaration for Interfaces

Delphi's New Feature Desired: Smart Properties declaration for Interfaces Currently, properties in interfaces are implemented like below: IRecyclable = interface            function GetIsRecyclable : Boolean;       property IsRecyclable : Boolean read GetIsRecyclable; // read-only property end; The ugly thing is that the interface should not know how its properties will are implemented by the classes, giving more freedom for the classes that will implement it. The new model could be something like this: IRecyclable = interface            property IsRecyclable : Boolean; read; // read-only property end; or  IRecyclable = interface            property IsRecyclable : Boolean read; // read-only property end; Thus the classes could implement that interface as usual: TCar = class(TInterfacedObject, IRecyclable) private       function GetIsRecyclable : Boolean; public       constructor Create(recyclable : Boolean);       property IsRecyclable : Boolean read GetIsRecyclable; end; How the c

Delphi's New Feature Desired: Native Tuple Types

Delphi's New Feature Desired: Native Tuple Types Tuples are designed to hold a set of specific typed objects. Tuples make it easy to pass around groups of values (for example a string and an Integer), store them in arrays or collections, even return multiple values from function calls. The feature would may be used like below: var t: tuple of (string, Integer, Boolean); and you would can access individual members of the tuple using the strongly typed [] indexer operator: s := t[0]; i := t[1]; where each index would be strongly typed, i.e. the compiler would know that t[0] is an string type, t[1] is an Integer type and so on. You could also declare tuple literals using the new () syntax: t := ('Holla', 23, False); I am not a Embarcadero guy :D

Hello!

Hello! Just so you know: I will keep writing in all communities I am in until someone, full of desperation for seeing the same message everywhere won't have a bit of pity and point me in the right direction... so... how do I create single and compound PKs in Nexus DB using the Enterprise Manager? Anybody knows? Thanks!

https://theroadtodelphi.wordpress.com/2015/04/30/the-vcl-styles-utils-project-now-is-hosted-in-github/

https://theroadtodelphi.wordpress.com/2015/04/30/the-vcl-styles-utils-project-now-is-hosted-in-github/ https://theroadtodelphi.wordpress.com/2015/04/30/the-vcl-styles-utils-project-now-is-hosted-in-github

Interesting:

Interesting: "From October 2015 if you are selling software to someone, or supplying software free as part of something else paid (eg a product) you have a duty to ensure that the digital content is satisfactory, fit for purpose and as described." https://plus.google.com/u/0/+AlanCoxLinux/posts/RSKVM6JWsrM
Had to reinstall my old and good Delphi 2010 and wow!... only about 5 minutes and it is ready... old days with 1.7GB :)
A new version of my runtime SQL query builder has been released.

I am stuck with an issue in the XE8 ide.

I am stuck with an issue in the XE8 ide.  Not sure if this has been reported.  I have never seen something like this in all the years of using Delphi.  Below is some simple code to demonstrate. Create a new vcl app with a button and enter the code below procedure TForm1.Button1Click(Sender: TObject); var   RegCode, ExpireDate : String; begin        RegCode := 'DEMO' + '|' +   + '|' + DatetoStr(Now) +                    '|' + ExpireDate + '|'; end; Then try and add a string between the two plus signs where there is currently nothing( +  +).  As soon as I type a ' the whole ide hangs and I have to force Delphi to close.  Am I doing something wrong or is this a bug? 

I am stuck with an issue in the XE8 ide. Not sure if this has been reported. I have never seen something like this in all the years of using Delphi. Below is some simple code to demonstrate.

I am stuck with an issue in the XE8 ide.  Not sure if this has been reported.  I have never seen something like this in all the years of using Delphi.  Below is some simple code to demonstrate. Create a new vcl app with a button and enter the code below procedure TForm1.Button1Click(Sender: TObject); var   RegCode, ExpireDate : String; begin        RegCode := 'DEMO' + '|' +   + '|' + DatetoStr(Now) +                    '|' + ExpireDate + '|'; end; Then try and add a string between the two plus signs where there is currently nothing( +  +).  As soon as I type a ' the whole ide hangs and I have to force Delphi to close.  Am I doing something wrong or is this a bug? 

Has someone experience with the List & Label components?

Has someone experience with the List & Label components? http://stackoverflow.com/questions/29962371/list-label-errorcode-105-with-vcl-components

Couple of questions:

Couple of questions: How much butt hurt am I in for upgrading from Delphi 5 to XE8 (Pro)? I'm not a professional programmer, more of a struggling, serious hobbyist. If I download and install the trial is it just a matter of paying and registering at expiration? Is the VirtualTreeview component a part of XE8 or is it still a SoftGems download. Thanks much.

This limitation make me very sad.

Image
This limitation make me very sad.

This is interesting...

This is interesting... How I wish Embarcadero had decided to make at least an OS X version of Delphi a few releases ago. ("Just" a Delphi-lite: code editor, form designer, written in FMX, plus compiler & debugger.) I remember lots of people suggesting it. Currently it is a code editor (with intellisense etc) but not a visual designer, and debugs node.js only, with more to come. I tried out the code editor only so far, and it's very nice - smooth and slick and faster than VS on Windows. On a related note, I also wish the ToolsAPI included all the currently internal interfaces so that we could do something like integrate a node.js debugger into the Delphi IDE. http://arstechnica.com/information-technology/2015/04/29/microsoft-releases-free-visual-studio-code-and-visual-studio-2015-rc/ http://arstechnica.com/information-technology/2015/04/29/microsoft-releases-free-visual-studio-code-and-visual-studio-2015-rc

Is TDD Dead?

Is TDD Dead? An interesting playlist of conversations from 2014 between David Heinemeier Hansson, Kent Beck, and Martian Fowler. -  https://www.youtube.com/watch?list=PLoOvWZFOKr_8QPkhqdzFWqj3TqJ3mryk8&v=z9quxZsLcfo

For sharing with your C# colleagues ;)

For sharing with your C# colleagues ;) http://www.fmxexpress.com/ten-tips-for-migrating-from-c-and-net-to-multi-platform-object-pascal-and-delphi-firemonkey/

We are looking for a Delphi Software Engineer, near Strasbourg, France (no remote job possible, sorry).

We are looking for a Delphi Software Engineer, near Strasbourg, France (no remote job possible, sorry). It would be to work mostly on a brand new cloud of servers, implementing SOA/REST best practices using the mORMot framework. This is a very innovative solution, featuring horizontal scaling and high availability, following DDD and SOLID patterns, with no RAD design, but pure OOP + interfaces, using Delphi and FPC (Windows+Linux), over SQL and NoSQL databases. Fell free to send me an email: jobsxb at synopse dot info !

Introduction to unit testing and test-driven development, using TestInsight in Delphi. The article illustrates building a test suite from scratch for one method, a real-world example based on something I wrote a few weeks ago.

Introduction to unit testing and test-driven development, using TestInsight in Delphi. The article illustrates building a test suite from scratch for one method, a real-world example based on something I wrote a few weeks ago. It's intended for those new to unit testing at all, those new to TDD, and those curious about Stefan Glienke's TestInsight but who haven't tried it yet. A lot of material in one post. http://parnassus.co/unit-testing-with-testinsight/ http://parnassus.co/unit-testing-with-testinsight

TMS Component Pack v7.8.0.0 released with a new TAdvRatingGrid control & support for VCL Styles in several components!

Image
TMS Component Pack v7.8.0.0 released with a new TAdvRatingGrid control & support for VCL Styles in several components! http://www.tmssoftware.com/site/tmspack.asp

New Blog Post! http://www.danielespinetti.it/2015/04/how-to-use-admob-interstitial-ads-with.html

New Blog Post! http://www.danielespinetti.it/2015/04/how-to-use-admob-interstitial-ads-with.html

http://stackoverflow.com/questions/29906723/delphi-xe8-bug-in-tlistt-need-workaround

http://stackoverflow.com/questions/29906723/delphi-xe8-bug-in-tlistt-need-workaround Even by their standards, the defect identified in this question is shocking. Certainly this defect means that I could never release software built with XE8, as it stands. Embarcadero have just re-implemented the collections in System.Generics.Collections to try to reduce executable size. However, it seems that their unit tests, if they even have any, are woefully inadequate. The new implementation is based around special casing for different element types and sizes. As such the testing needs to be designed to match that implementation. So, unit tests that were appropriate for the previous implementation would have been inadequate for the new implementation, because they would not have covered all the branches of the new code. Is it possible that Embarcadero changed the implementation but did not change the tests to match? And yes, I know that in an ideal world, a unit tests should not need to be modifi

Because David Intersimone mentioned the SO survey in the comments of one of the recent polls I was curious and looked for the raw data which is not yet available but will be posted. But I found the results of the 2014 survey (https://www.statwing.com/demos/dev-survey) in which almost 10k people participated. 83 had Delphi selected.

Image
Because David Intersimone mentioned the SO survey in the comments of one of the recent polls I was curious and looked for the raw data which is not yet available but will be posted. But I found the results of the 2014 survey ( https://www.statwing.com/demos/dev-survey ) in which almost 10k people participated. 83 had Delphi selected. x-axis: number of respondents y-axis: age

Hello guys

Image
Hello guys, Even with ARM Translation 1.1 installed in my Intel x86-based Android emulator I have gotten the below error message when I install my FireMonkey Delphi XE8 app. Google Apps works very well, is there any workaround? Thanks in advance :D

Blog post "Using XE8 Settings Migration Tool" at http://blog.marcocantu.com/blog/2015-april-xe8-settings-migration-tool.html

Blog post "Using XE8 Settings Migration Tool" at http://blog.marcocantu.com/blog/2015-april-xe8-settings-migration-tool.html http://blog.marcocantu.com/blog/2015-april-xe8-settings-migration-tool.html

Hello!

Hello! Our CTO has given me a task which looks easy but is anything but. In essence, what he'd like to do is this: - Create a Twitter account - Send messages to it - Have them display in our flagship product Hence, in essence, we'd have a hardcoded account to which our messages would be delivered and being displayed in our flagship product. This, to me, seems a gross misunderstanding of how this kind of APIs works and I am not even sure it's technically doable. The reason is that customers would have to confirm the interaction (pitfall one: what if they say no?) and then receive messages. Which takes us to pitfall 2 (as I see it): what happens when Twitter sees that two client are trying to access the same account from different - even wildly different - IPs and that both confirm it? I do not think this would be seen favourably and, quite frankly, I do not even know whether this is at all possible. Anybody's worked on this before and can share some insight? Thanks! A

Having problems with RAD Studio ‪#‎XE7‬ and ‪#‎XE8‬ installation?

Having problems with RAD Studio ‪#‎XE7‬ and ‪#‎XE8‬ installation? Short and useful solution awaits you here  http://goo.gl/qEykCp ‪#‎Delphi‬ http://goo.gl/qEykCp
Is there a way to add a plugin tab into the project options via OTAPI as you can do with the IDE options (INTAAddInOptions)?

I think I found an issue with TMapView (on Android, not tested on iOS). Would someone confirm this, please?

I think I found an issue with TMapView (on Android, not tested on iOS). Would someone confirm this, please? https://quality.embarcadero.com/browse/RSP-10707 https://quality.embarcadero.com/browse/RSP-10707

Did you know that you can return a result from function without using "Result" keyword ?

Did you know that you can return a result from function without using "Result" keyword ? //------------------------------------ function Add(A, B: Integer): Integer; begin   Add := A + B; end;

Does anybody prefer the new modern theme in XE8 over the design in previous versions?

Does anybody prefer the new modern theme in XE8 over the design in previous versions? I just ask out of curiosity because so far I only see questions regarding how this modern theme can be disabled.

* Thanks everyone for the suggestions. *

* Thanks everyone for the suggestions. * What could we expect about XE9? - Task Continuation (according to Allen Bauer this feature is internally implemented, however it came in too late to fully expose it - ( http://stackoverflow.com/questions/27081623/sub-classing-ttask-in-xe7-e2251-ambiguous-overloaded-call-to-create#comment42677342_27082469 ). - Full Windows 10 support. Jim McKeeth​ say "With Windows 8 they (Microsoft Corporation) locked all other native tools out. Hopefully that isn't the case with Windows 10". What do you suggest? Thanks in advance :D

What Delphi version do you use mostly? From 2007 to XE8.

What Delphi version do you use mostly? From 2007 to XE8. Thanks in advance.

With Stefan's recent polls, I got to wondering - any love for Borland Pascal With Objects v7 out there?

With Stefan's recent polls, I got to wondering - any love for Borland Pascal With Objects v7 out there? I used to really love developing with this, I didn't mind creating and laying-out Windows dialogs and controls 'from code' by hand, and the novelty of it being my first Windows IDE with coloured syntax highlighting never wore off. Although the highlighting made the editor too slow to use on my 386 at home, so I could only really use it on my 486SX at work. :-) And it's easy with hindsight to see how you add the VCL to BP/O7, pop in a visual forms designer and bam! the essence of Delphi 1.

Does anyone know how to process 404 page contents using #Indy ?

Does anyone know how to process 404 page contents using #Indy ?  After receiving the 404 response, I can't access the Contentstream. Response.ContentLength <> Response.ContentStream.Size

Does anyone know how to process 404 page contents using #Indy ? After receiving the 404 response, I can't access the Contentstream.

Does anyone know how to process 404 page contents using #Indy ?  After receiving the 404 response, I can't access the Contentstream. Response.ContentLength <> Response.ContentStream.Size
Do you use Appmethod?

Whenever I upgrade Delphi I have never purchased the "1 year Update Subscription". I don't understand what some of the provisions really mean.

Image
Whenever I upgrade Delphi I have never purchased the "1 year Update Subscription".  I don't understand what some of the provisions really mean. For example what does each of the following really mean: * Updates and hotfixes for the current major release * Ongoing Maintenance - Updates and hotfixes for up to 2 years and 3 major releases * All major upgrades ( ie XE7 to next major release ) * Annually renewable at a fraction of a single upgrade cost
Just out of curiosity: if I told you I did something inappropriate, what would you think I did? :D Please keep it clean :D I am not THAT bad :D
How long ago did you start using Delphi?
Let's do some demographics of the Delphi developers - how old are you?

Title

Image

Today I discovered that I had forgotten that shr 32 does nothing in a x86 program.

Today I discovered that I had forgotten that shr 32 does nothing in a x86 program. Bit me nicely in the ass while trying to write some code that was supposed to pass a NativeUInt to a function accepting 64bit values as two 32bit parameters. The input was NativeUInt as it was a memory size parameter, and my code was supposed to work on both 32bit and 64bit platforms. I understand the shr behavior it's due to the ISA working that way, but a hint wouldn't hurt I think...

Documentation of the day:

Documentation of the day: http://docwiki.embarcadero.com/Libraries/XE8/en/System.Classes.GetUltimateOwner "Left undocumented because it doesn't really do the right thing."

Castalia do not like my if/then/else syntax

Image
Castalia do not like my if/then/else syntax
For all Delphimeisters out there - I could use some ideas ...

I couldn't agree more...

I couldn't agree more... http://www.tpersistent.com/?p=1088

I am a bit surprised that this hasn't been posted... Nick Hodges has done a blog about "You are going to pay for bug fixes. And you’re going to like it." (http://www.codingindelphi.com/blog/you-are-going-to-pay-for-bug-fixes-and-youre-going-to-like-it/) which has produced some debate. There has been replies to it in the Emb forums (https://forums.embarcadero.com/thread.jspa?messageID=697208&tstart=0#697208) and other people have blogged replies "A Response to Nik Hodges - You will pay for bugs and like it!" (http://www.tpersistent.com/?p=1088)

I am a bit surprised that this hasn't been posted... Nick Hodges has done a blog about "You are going to pay for bug fixes. And you’re going to like it." ( http://www.codingindelphi.com/blog/you-are-going-to-pay-for-bug-fixes-and-youre-going-to-like-it/ ) which has produced some debate. There has been replies to it in the Emb forums ( https://forums.embarcadero.com/thread.jspa?messageID=697208&tstart=0#697208 ) and other people have blogged replies "A Response to Nik Hodges - You will pay for bugs and like it!" ( http://www.tpersistent.com/?p=1088 ) I think Nick Hodges has raise an interesting points, some I disagree with, as I don't like it - putting up with it doesn't mean I like it - and there are other points from the feedback which I do agree with. It is a mixed bag... http://www.codingindelphi.com/blog/you-are-going-to-pay-for-bug-fixes-and-youre-going-to-like-it
I'm thinking of outsourcing a piece of development ( a REST service ) would ODesk be the best place to place it?
Salesforce API? Anyone done any Delphi work with this? Ant component sets around? Just thought I'd ask here before I start digging. Any pointers gratefully received.

TComboBox + HTML = Word Color Picker )

Image
TComboBox + HTML = Word Color Picker )

Do you still use Delphi to code your applications (professionally)? If so, why? If not, why not?

Do you still use Delphi to code your applications (professionally)? If so, why? If not, why not? http://www.quora.com/Do-you-still-use-Delphi-to-code-your-applications-professionally-If-so-why-If-not-why-not . Just forwarding the question from Jim McKeeth. http://www.quora.com/Do-you-still-use-Delphi-to-code-your-applications-professionally-If-so-why-If-not-why-not

HI. Question to the group

HI. Question to the group What is the best way to share information and data between .exe programs? (eg sharedmemory address or similar)?  Thanks :) I have googled this and seems to be conflicting info

Due to a bug in a TStringList optimizations and the wrong fastdccXX.exe for XE7 and XE8, the version 5.9 was replaced by IDE Fix Pack 5.91.

Due to a bug in a TStringList optimizations and the wrong fastdccXX.exe for XE7 and XE8, the version 5.9 was replaced by IDE Fix Pack 5.91. http://andy.jgknet.de/blog/2015/04/ide-fix-pack-5-91-bugfix-release/
Is there a way to refresh the Livebindings designer when you make changes to the project?  Like if you add persistent fields to your query or table component, you have to close the project and re-open it to have the changes reflect in the Livebindings designer.
Is support available for the XE trial version?
The premium Firemonkey style packs - where should they be installed or doesn't it matter?

ANN: DAC for MySQL 2.10.3 with support RAD Studio XE8 is out!

ANN: DAC for MySQL 2.10.3 with support RAD Studio XE8 is out! http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1693 http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1693

TMS Cloud Pack for FireMonkey v2.4 available now with access to 3 new services: Paypal, CloudConvert, Barcode.

Image
TMS Cloud Pack for FireMonkey v2.4 available now with access to 3 new services: Paypal, CloudConvert, Barcode.  http://www.tmssoftware.com/site/tmsfmxcloudpack.asp

* SOLVED :D Many thanks, guys, you're amazing :D *

Image
* SOLVED :D Many thanks, guys, you're amazing :D * Hey guys, On my PC's 1680x1050-monitor this ad fit well on welcome page, but in my laptop's 1366x768-monitor this ad is too large and makes hard to use the tabs. How do I remove this ad? Many thanks :D

I'm writing a FMX program in Delphi XE7 for Windows and Android. How can I abort tab changing ? I'm missing an "OnActiveTabChange" event !

I'm writing a FMX program in Delphi XE7 for Windows and Android. How can I abort tab changing ? I'm missing an "OnActiveTabChange" event ! Do you know how to do this ?

Hello

Hello, I'm facing anchors issues with FMX. I've just seen this post on StackOverflow and it looks like i'm not the only one ! http://stackoverflow.com/questions/27708632/fmx-anchors-issue-in-delphi-xe7 I did installed FMX Component Size Hotfix  -  Nov. 30, 2014 but my problem remians.... Does anyone have a solution ? http://stackoverflow.com/questions/27708632/fmx-anchors-issue-in-delphi-xe7
Anybody have issues where when you debug a program in Delphi, and then quit the program, you can't build it again, because the "system" is using the  exe?   It happens in XE8, but it also happens in XE7.   But it happens more often at home (perhaps because I'm using XE8 at home more often).   However, at work , it happens sporadically.   Now, it could be something in my program, like leaving resources or sqlite connections open.

Dear All

Dear All Anyone know if Arno Garrels excellent DDService lib is still around? Just went to his web site ( http://delphi.duodata.de/index.htm ), but the site is defunct. Cheers Robert http://delphi.duodata.de/index.htm

I am using XE8 Trial, trying to get a handle on creating Android apps. I was able to make a Hello World app and install it on my phone. Any changes to the code do not show up in the app.

I am using XE8 Trial, trying to get a handle on creating Android apps. I was able to make a Hello World app and install it on my phone. Any changes to the code do not show up in the app. Now when I create a new project or even run one of the sample projects, an exe is created, not a .so file. The Target platform is Android-Android SDK 24.1.32 32bit and the Target is my phone, SCH-I535.  Can someone offer help or advice? Thanks...Dan'l

HTML Editor Library now supports import from RTF format.

Image
HTML Editor Library now supports import from RTF format. No system controls/libraries are used: 100% native and crossplatform Delphi code. Conversion is fast and produce compact and clean HTML.

More wackiness from Castalia:

More wackiness from Castalia: https://quality.embarcadero.com/browse/RSP-10458 https://quality.embarcadero.com/browse/RSP-10458

MadExcept 4 for XE8 has been officially release and can be found here: http://madshi.net/

MadExcept 4 for XE8 has been officially release and can be found here:  http://madshi.net/ The following is the release announcement : Hi there, today I'm releasing madExcept 4.0.12 with the following changes: (1) added support for RAD Studio XE8 (2) added detection for Windows 8.1, Windows 10 etc (3) a couple of small bug fixes http://madshi.net/madCollection.exe  (installer 2.7.11.0) The update is free for all licensed madExcept 4 users. http://madshi.net

IDE Fix Pack 5.9 for 2009-XE8 is now available.

IDE Fix Pack 5.9 for 2009-XE8 is now available. http://andy.jgknet.de/blog/2015/04/ide-fix-pack-5-9-for-rad-studio-2009-xe8/

Delphi code of the day:

Image
Delphi code of the day: function UTF8ToString(const S: array of Byte): string; overload; var   Dest: array[0..511] of Char; begin   SetString(Result, Dest, UTF8ToUnicode(Dest, Length(Dest), _PAnsiChr(@S[1]), S[0])-1); end; Guess where it is: in System.pas ;) And now some sample code to see the output: procedure TForm1.FormCreate(Sender: TObject); var   xStr: string;   xBuf: TBytes; begin   xStr := 'double';   xBuf := TEncoding.UTF8.GetBytes(xStr);   xStr := UTF8ToString(xBuf);   Memo1.Lines.Text := xStr; end; Screenshot of the app is attached. Disclaimer: For me it's hard to believe that such crap code is in the RTL. Didn't I miss something??? http://docwiki.embarcadero.com/Libraries/XE8/en/System.UTF8ToString

The RAD Studio IDE plugin DDevExtensions 2.83 for XE8 is now available.

The RAD Studio IDE plugin DDevExtensions 2.83 for XE8 is now available. http://andy.jgknet.de/blog/2015/04/ddevextensions-2-83-for-xe8-released/

Turbopack LockBox or LockBox 3?

Turbopack LockBox or LockBox 3? I'd like to experiment with LockBox and I see there are two different code bases in the Turbopack Github. Which code-base is recommended for someone starting with a blank slate? - Steve

Originally shared by Boian Mitov

Originally shared by Boian Mitov The Mitov.Runtime library has been updated to support Delphi XE8, with many new features. #Delphi http://www.mitov.com/products/mitov-runtime#overview

New blog post https://theroadtodelphi.wordpress.com/2015/04/20/delphi-dev-shell-tools-supports-rad-studio-xe8/

New blog post  https://theroadtodelphi.wordpress.com/2015/04/20/delphi-dev-shell-tools-supports-rad-studio-xe8/ https://theroadtodelphi.wordpress.com/2015/04/20/delphi-dev-shell-tools-supports-rad-studio-xe8

Inspired by a thread in the German Delphi-Praxis:

Inspired by a thread in the German Delphi-Praxis:  http://www.uweraabe.de/Blog/2015/04/20/delphi-library-guidelines/ http://www.uweraabe.de/Blog/2015/04/20/delphi-library-guidelines

Vote for this issue, please.

Vote for this issue, please. http://qc.embarcadero.com/wc/qcmain.aspx?d=128737

Can someone point me to the problem?

Can someone point me to the problem? I have this code: var   dt, dt2: TDateTime;   v: Variant; begin   dt := EncodeDateTime(2015, 1, 1, 12, 0, 0, 0);   v := VarSQLTimeStampOffsetCreate(dt);   dt2 := v; dt2 is 01.01.2015 11:00:00  After debugging I found the explanation but I have no clue where exactly the bug lies. VarSQLTimeStampOffsetCreate internally saves the current timezone which is UTC+2 here (CEST). When converting back it uses TTimeZone.Local.ToLocalTime which does "the trick". It looks if the value passed is within a DST and only then applies the DST offset. Since 1.1.2015 is winter time it only adds the +1 for CET and not the +2 that it originally stored. I know timezones and stuff can make you crazy but in that case it is just converting back and forth and the result is wrong. My guess is that UTCToLocal from SqlTimSt should not use TTimezone.Local.ToLocal since that uses that extra magic. Or it should use it ALSO when creating the value so it would store +1 in th

New big update from Devart. This time #dbExpress Drivers.

New big update from Devart. This time #dbExpress Drivers. - #XE8 support - #SQLite Database Encryption is supported in Direct Mode for MacOS and more Check the link and download new drivers http://goo.gl/6BxnIk http://goo.gl/6BxnIk

Don't be fooled! Delphi has several compilers, so the cross-compilation "magic" may not be so "magic" after all...

Don't be fooled! Delphi has several compilers, so the cross-compilation "magic" may not be so "magic" after all... http://blog.synopse.info/post/2015/04/20/Delphi-is-not-a-cross-compiler%2C-but-a-set-of-cross-compilers

New blog post

New blog post  https://theroadtodelphi.wordpress.com/2015/04/19/dic-now-supports-rad-studio-xe8/ https://theroadtodelphi.wordpress.com/2015/04/19/dic-now-supports-rad-studio-xe8

Originally shared by Boian Mitov

Originally shared by Boian Mitov This has been a life saver: http://stackoverflow.com/questions/29520761/how-can-i-disable-castalia-in-xe8 I had to disable Castalia in XE8 today as it was preventing me from simple copy and paste of code, crashing the IDE each time I try to paste a piece of code :-( #Delphi   http://stackoverflow.com/questions/29520761/how-can-i-disable-castalia-in-xe8

Originally shared by Boian Mitov

Originally shared by Boian Mitov The OpenWire has been updated to version 7.6 on Sourceforge. #Delphi #OpenWire https://sourceforge.net/projects/openwireproject/?source=recommended

Originally shared by Boian Mitov

Originally shared by Boian Mitov The IGDI+ has been updated to version 7.6 on Sourceforge. #Delphi https://sourceforge.net/projects/igdiplus

What about RAD Studio XE8' DataSnap performance?

What about RAD Studio XE8' DataSnap performance? I was considering the possibility of modeling a new MVC framework called Dails = Delphi + Rails, sorry the bad name :P based on DataSnap server, you think it promising? Thanks for helping me
Firemonkey styles are exported to .style files. Is there any way that I could edit those later using the Bitmap Style Designer?  When trying to open it seems to only support .vsf files. Any way to convert a .style file to a .vsf?

Anyone here bought a license recharge for Delphi XE7?

Anyone here bought a license recharge for Delphi XE7? If so, any options from Embarcadero to recharge again to XE8? It seems they killed this option.
Does someone know why there is no default TDateTimeHelper Class ?

https://plus.google.com/116682952027238449863/posts/TTabkTbbumm

https://plus.google.com/116682952027238449863/posts/TTabkTbbumm

Why automatic type conversion is a bad thing ...

Why automatic type conversion is a bad thing ... http://stackoverflow.com/questions/4456438/how-do-i-correctly-pass-the-string-null-an-employees-proper-surname-to-a-so

Hi all i have a doubt...

Hi all i have a doubt... In the stringgrid property..There are some rows and columns..I want to find the measurement unit of the row height or a cell...Row height value is 20.But how to find its measurement unit..Please help..
There covariance and contravariance in Delphi?

Originally shared by Boian Mitov

Originally shared by Boian Mitov We are in process of updating the site. You can download the Delphi/C++ Builder XE8 libraries from here for now...

http://18delphi.blogspot.com/2015/04/briefly-again-about-dependency-inversion.html

http://18delphi.blogspot.com/2015/04/briefly-again-about-dependency-inversion.html
Does anybody know where I could find a tutorial on using mORMot SQLite without external DLL?
Anyone has experience using sockets for inter-process communication using Delphi on OSX?

Hi

Hi, we have a very special problem regarding variants and TValue: As result of an event we need to run functions from a class by rtti. We get the instance, classname, methodname, and the parameters  of the function. (function EventCallMethod). The problem is, that we get the parameters of the function as a Variant. The invoke function needs them  as array of TValue. So we have to convert them from Variant to array of TValue. For normal kinds (tkinteger, tkstring, ..) this is no problem. But now we have an function with tkDynArray Parameter (TMyClass.GetValueFromDB) Our implementation for this (VariantToTValue ) works,  but we think, there must be a better way to create the TValue  for tkDynArray as the implemented. type   // Function we want to call   TMyClass = class     function GetValueFromDB(SQLString: string; Params: TArray ): variant;   end; function EventCallMethod(Instance: TObject; ClassType: TClass; const MethodName: string; var Params: Variant): Variant; var   ctx: TRttiCont

Delphi XE8 has a bug in tjson.ObjectToJsonObject !

Delphi XE8 has a bug in tjson.ObjectToJsonObject !  same source in XE7 marshall correctly,  in XE8 error tkPointer... I Suppose problem is in TObjectList ... i'm just triing now.  someone have same issue?

TMS Cloud Pack v2.9 ( http://www.tmssoftware.com/site/cloudpack.asp ) released with 3 new components:

Image
TMS Cloud Pack v2.9 ( http://www.tmssoftware.com/site/cloudpack.asp ) released with 3 new components: - New: TAdvPayPal: component to get access to PayPal API service.  - New: TAdvCloudConvert: component to get access to CloudConvert API services. - New: TAdvBarcode: component to generate barcodes and QR codes.

A new version of #UniDAC is available.

A new version of #UniDAC is available. http://www.devart.com/news/2015/dacxe8.html

Hi Guys

Hi Guys, Someone know a example about use a progressbar while downloading files using AmazonAPI ? I know a way using IDHTTP, but AmazonApi use another class to do it. Regards, Cleidson.

Any known major/breaking changes in FireMonkey or FireDAC between XE7 and XE8?

Any known major/breaking changes in FireMonkey or FireDAC between XE7 and XE8? I'm looking to pick up and maintain/develop some FireMonkey/FireDAC Delphi XE7 work for a client. Right now I'm trying to organise will be, to me anyway, a significant upgrade cost (from XE3 Rad Studio Enterprise). While I sort the funding for that, I thought I'd grab an XE8 trial (the XE7 trials have understandably been removed) and get to grips with the basics of FireMonkey and FireDAC - XE3 was a long time ago. I'm just wondering if there's much significant change between XE7 and XE8 from a FireMonkey or FireDAC perspective - am I going to find that, if I step back a version to XE7 in a month's time, I'll have lots of new headaches & gotchas, lots of things that worked in XE8 but don't work the same XE7? Anyone any thoughts - all input most gratefully received :-) tl,dr; Starting an XE8 trial while I sort out funding to upgrade my XE3 license. Client has a FireMonkey &a
I need to to connect to an SFTP server (using XE7). I don't think Indy supports this. Any suggestions? Thanks

New "feature" in the upcoming IDE Fix Pack 5.9

New "feature" in the upcoming IDE Fix Pack 5.9 https://twitter.com/AndyHTech/status/569223258605797376/photo/1

Any thoughts on this?

Any thoughts on this? http://blog.dummzeuch.de/2015/04/15/input-validation-in-dzlib/

Please, could you add a "Use System debug DCU" with the "Uses debug DCU's" checkbox to avoid the debuger to go in...

Please, could you add a "Use System debug DCU" with the "Uses debug DCU's" checkbox to avoid the debuger to go in the low level System functions ? I've added a lib/no-debug folder with a copy of lib/release/system.dcu and changed the global debug DCU path to "$(BDSLIB)\$(Platform)\no-debug;$(BDSLIB)\$(Platform)\debug". It could also be done by moving lib/debug/system.dcu to lib/system-debug/system.dcu...but I don't want to alter Delphi's default installation.

Please, could you add a "Use System debug DCU" with the "Uses debug DCU's" checkbox to avoid the debuger to go in the low level System functions ?

Please, could you add a "Use System debug DCU" with the "Uses debug DCU's" checkbox to avoid the debuger to go in the low level System functions ? I've added a lib/no-debug folder with a copy of lib/release/system.dcu and changed the global debug DCU path to "$(BDSLIB)\$(Platform)\no-debug;$(BDSLIB)\$(Platform)\debug". It could also be done by moving lib/debug/system.dcu to lib/system-debug/system.dcu...but I don't want to alter Delphi's default installation.

Hi!

Hi!  in xe8  seems that android deploy is changed... now delphi create a "base" folder, and theh  debug or release....  in XE7 i don't remember that folder....  well,  i'm tyiing to add a custom file to my project but there's some strange issue....  it works ok if i add file to project (so i see it in deploy list as "projetfile")  but if i add it directly inside deployment list ( so it's added as "file" ) it's copied inside "base" folder but never not in debug or relase.... have you my same problem?

Hi! in xe8 seems that android deploy is changed... now delphi create a "base" folder, and theh debug or release.... in XE7 i don't remember that folder....

Hi!  in xe8  seems that android deploy is changed... now delphi create a "base" folder, and theh  debug or release....  in XE7 i don't remember that folder....  well,  i'm tyiing to add a custom file to my project but there's some strange issue....  it works ok if i add file to project (so i see it in deploy list as "projetfile")  but if i add it directly inside deployment list ( so it's added as "file" ) it's copied inside "base" folder but never not in debug or relase.... have you my same problem?

it seems in the DataSnap XE 8 transfer of TList class crashed, the problem seems to be the new property...

it seems in the DataSnap XE 8 transfer of TList class crashed, the problem seems to be the new property "FListHelper: TListHelper" anyone else noticed this?

it seems in the DataSnap XE 8 transfer of TList class crashed, the problem seems to be the new property "FListHelper: TListHelper"

it seems in the DataSnap XE 8 transfer of TList class crashed, the problem seems to be the new property "FListHelper: TListHelper" anyone else noticed this?

Originally shared by Lisa Scully

Originally shared by Lisa Scully WideOrbit is hiring Delphi Developers to work on our WO Network product - a comprehensive sales mgmt solution built for Cable Networks. This is Industrial Strength Programming - performance critical application development with a 3-tier, high-availability, high-volume, distributed architecture. Ideal locations would be Seattle or NY. Remote work also a possibility. Email me at lscully@wideorbit.com if interested. http://www.wideorbit.com/

MMX for XE8 just released ...

MMX for XE8 just released ... http://www.modelmakertools.com/code-explorer/index.html http://www.modelmakertools.com/code-explorer/index.html

PostgresDAC meets RAD Studio XE8! http://microolap.com/products/connectivity/postgresdac/news/detail.php?ID=1690 #postgresql #dac #database #xe8

PostgresDAC meets RAD Studio XE8! http://microolap.com/products/connectivity/postgresdac/news/detail.php?ID=1690 #postgresql #dac #database #xe8   http://microolap.com/products/connectivity/postgresdac/news/detail.php?ID=1690

Delphi's generic constraint is so much limiting.

Delphi's generic constraint is so much limiting. Please look at the piece of code below: type TGenericTesting = class end; When I try to declare an variable of this type: var LInvalidGeneric:TGenericTesting ; I got the following error message: [dcc64 Error] E2511 Type parameter 'T' must be a class type. Well, I know generic parameter T is limited to class types but this error is unexpected because an interface can also be considered an abstract class and that assumption is true in many other languages as C++, C#, VB.NET , F#, etc. In C# language for example: public class GenericTesting where T: class { } The generic parameter T may accept a class as well as an interface. That allows fine-grained generic constraint. If I wanted to limit the generic parameter T only for interfaces (abstract classes) I could not do that in the current implementation of Delphi. This little change in the compiler to accept interface types as abstract class types will make this possible and it

FYI: It seems Google+ tend to mark posts with links as spam

FYI: It seems Google+ tend to mark posts with links as spam - If your profile is not fully populated (Add a picture of your face, your cat, or your favorite food, as your avatar) - If the post only contains a link, and you don't write a reasonable amount of text in the post. I try to restore them when they are falsely flagged, and the UI says they are restored - but strangely, I can't see the restored posts at all times.

ANN: WYSIWYG HTML Editor Released.

Image
ANN: WYSIWYG HTML Editor Released. * WYSIWYG editing. * Does not use IE or other libraries (100% native Delphi code). * Supports all Delphi versions from Delphi 6 to XE8. * Unicode support for Delphi 6 - 2007 (requires TNTUnicode). * Scalable (High DPI  support). * Live spellchecking and autocorrection (built-in support for Addict). * Full support for HTML tags and CSS properties. * Full access from Delphi code to DOM and Styles. * Images, lists, blocks, font styles * Print and Print Preview * Copy from/paste to MS Word, browsers and other applications * Embedded Markdown, Pascal and HTML syntax highlighting. Description: http://delphihtmlcomponents.com/editor.html Compiled Demo Application http://delphihtmlcomponents.com/htedit.zip One day  20% discount coupon (valid only April 14) PYEPLNB HCL users with active subscription will receive notification soon.

I've notice strange effect - I see my today post (Editor release) only when logged into google.

I've notice strange effect - I see my today post (Editor release) only when logged into google. Just want to know is it visible to other community subscribers?

Title

I am interesting if Delphi has any frameworks to works in Big Data infrastructure. I mean any ports for: - Hadoop - Spark - Message Queue: Kafka etc Also I can't find any libraries for Data Science (Machine Learning, Data Mining as example)

Let me introduce the FixInsight 2015.04 release.

Let me introduce the FixInsight 2015.04 release. What’s New   * Delphi XE8 support   * Introduced rule W522 (“Destructor without an override directive”)   * Introduced rule W523 (“Interface declared without a GUID”)   * Improved rules W504, W513, W517, W521   * Improved parser   * Minor fixes http://sourceoddity.com/fixinsight/download.html http://sourceoddity.com/fixinsight/
I've just noticed that IFMXApplicationService.Terminate doesn't execute CallTerminateProcs. Application.Terminate does call this method. Is this a bug or expected behavior?

UPDATED -----------------------------------------------------------------------

UPDATED ----------------------------------------------------------------------- This issue was created in Quality Portal, please look at https://quality.embarcadero.com/browse/RSP-10336 . "For a Delphi more fun". ---------------------------------------------------------------------------------------- Generic Class Helper support for Delphi I've realized Delphi does not support generic class helper, only concrete classes can have helpers :'( Thus, awesome things such "Linq to Object", "Reactive Extensions" hardly will be implemented in a fashion API. May be simple add support for generic ones, the compiler may generate stubs for each occurrence of generic class helper putting the concrete type in place of the generic type parameter. I would love to see it in XE9 :D

We are happy to announce the release of kbmMW v. 4.80.00

We are happy to announce the release of kbmMW v. 4.80.00 Professional, Enterprise and CodeGear Edition. kbmMW continues to set the bar for what an n-tier product must be capable of in the real world! Keywords for this release: - XE8 support! - Improved performance! - New features! - Bug fixes! Look at end of post for detailed list of additions, changes and fixes. Professional and Enterprise Edition is available for all with a current active SAU. If your SAU has run out, please visit our shop to extend it with another 12 months. kbmMW CodeGear Edition is available for free for Delphi XE6/Win32, XE7/Win32, XE8/Win32 and includes kbmMemTable CodeGear Edition. It can be used for commercial work. Please visit https://portal.components4developers.com to download. ---- kbmMW is the premiere n-tier product for Delphi, C++Builder and FPC on .Net, Win32, Win64, Linux, Java, PHP, Android, IOS, embedded devices, websites, mainframes and more. Please visit www.components4developers.com for more i

MadExcept for XE8

MadExcept for XE8 From the madExcept forums ( http://forum.madshi.net/viewtopic.php?f=11&t=27988 ), there is a beta of madExcept for XE8. Going past experience, I haven't had any problems with madExcept betas. Direct download link:  http://madshi.net/madCollectionBeta.exe http://forum.madshi.net/viewtopic.php?f=11&t=27988

Hey guys

Hey guys, What about 64-bit Android toolchain for RAD Studio upcoming version? Maybe XE9 release? X64 runtime is already supported in other cross-platform tools such as Xamarin.Android ( http://developer.xamarin.com/releases/android/xamarin.android_5/xamarin.android_5.1/#64-bit_Runtime_Support ). http://developer.xamarin.com/releases/android/xamarin.android_5/xamarin.android_5.1/#64-bit_Runtime_Support
Has anyone tried compiling something HUGE, like with 5+ million lines of Delphi, with XE8?  On older Delphis it's very problematical, with lots of stalling and out of memory and hanging.   it would be nice if XE8 had some of these issues fixed.

A while ago I noticed that I don't get any notifications on any comments on my blog articles and when I look at the overview on the page it indeed says comments 0. When I click on it I see all the comments - and often enough new ones that I did not know of (really bad if someone asks a question and I never respond because I was not notified)

A while ago I noticed that I don't get any notifications on any comments on my blog articles and when I look at the overview on the page it indeed says comments 0. When I click on it I see all the comments - and often enough new ones that I did not know of (really bad if someone asks a question and I never respond because I was not notified) If anyone comments on my initial post here on g+ where I share the blog article I get the typical g+ notification but not for any additional posts that are a result of anyone sharing the article or commenting directly on the blog page. Does anyone know how to turn on email notifications for that?

Can I assign the method of an extended record to an event?

Can I assign the method of an extended record to an event? http://stackoverflow.com/questions/29607117/can-i-assign-the-method-of-an-extended-record-to-an-event-in-delphi
Can anyone recommend a REDIS client for DELPHI XE2 VCL ?
What exactly are features in Castalia better than those in CnPack?

Is this solved in XE8?

Is this solved in XE8? No? Then the whole thing is useless for me. Wont upgrade until https://quality.embarcadero.com/browse/RSP-9568 is solved. Originally shared by André Mussche Very very annoying, XE7 is unusable!  Out of memory, exceptions, very slow, etc. please vote for this QC! https://quality.embarcadero.com/browse/RSP-9568 Marco Cantu: I thought you said there were many bugs solved? And XE7 is the best IDE? Well, I have to tell some customers to downgrade to XE6 now... :( (and no, SP1 did not fix this) https://quality.embarcadero.com/browse/RSP-9568

Is this solved in XE8? No? Then the whole thing is useless for me. Wont upgrade until https://quality.embarcadero.com/browse/RSP-9568

Is this solved in XE8? No? Then the whole thing is useless for me. Wont upgrade until https://quality.embarcadero.com/browse/RSP-9568 is solved. Originally shared by André Mussche Very very annoying, XE7 is unusable!  Out of memory, exceptions, very slow, etc. please vote for this QC! https://quality.embarcadero.com/browse/RSP-9568 Marco Cantu: I thought you said there were many bugs solved? And XE7 is the best IDE? Well, I have to tell some customers to downgrade to XE6 now... :( (and no, SP1 did not fix this) https://quality.embarcadero.com/browse/RSP-9568
Embarcadero and Delphi/C++Builder/RAD Studio - I think they have done a great job with the product since taking ownership and give them the thumbs up. Man I would really like to get off the upgrade thing and re-installation of components merry go round but I think that could be something we see improved soon. Just answer on one side of the fence or the other: yea or nay.

Add-on/Plug-ins menu items have moved! If you used to it being under the Help menu, it is no longer there!

Add-on/Plug-ins menu items have moved! If you used to it being under the Help menu, it is no longer there! With XE8, it is now in Help -> Help Wizards. Why? No idea. But it caught me out (and others). Technical info: As a Add-on/Plug-in writer, if you use 'IOTAMenuWizard', it is now in the Help -> Help Wizards, instead of just being under Help.

Let's Encrypt to offer Free SSL Certificates mid 2015

Let's Encrypt to offer Free SSL Certificates mid 2015 It's probably worth keeping an eye on this one, as the process is fully automated.  Seems pretty easy How it Works:   https://letsencrypt.org/howitworks/ Twitter https://twitter.com/letsencrypt https://letsencrypt.org/

I have installed XE8 Trial ver.

Image
I have installed XE8 Trial ver. When starting XE8 I get an AV in coreeide220.bpl, then the IDE shows. Following the tut for Hello world. In both Win32 and Android targets I can drop components on the form but as soon as I click in the editor, XE8 stops responding. Bummer. Any tips for this?
Which wizards from CNPack do you use mostly?

Anyone have more info on AppAnalytics?

Anyone have more info on AppAnalytics? Cannot find much on EMB website. Found link to control page but free analytics are a little lightweight. Cannot find any info on pricing for paid analytics Cannot find any info on Custom AppAnalytics. Cheers

Castalia's block highlighting doesn't treat blocks nice if the indentation doesn't follow the standard alignments. Very annoying for us that have different habits.

Image
Castalia's block highlighting doesn't treat blocks nice if the indentation doesn't follow the standard alignments. Very annoying for us that have different habits. It could have worked if it didn't insist on starting at the position of the begin/try, but rather on the first non whitespace at the line that contains the begin or try. #XE8

So Finaly got XE8 downloaded (had to use fast internet at my brothers place)

So Finaly got XE8 downloaded (had to use fast internet at my brothers place) Go to register it but now says my SA expired 2 days ago...but yet that was not due to expire until next month (and this was after initialy trying to get my registration but that was not showing on the portal even though I got an email about XE8..and so contacted support...and they gave me a new password to try..which then worked for the download but for registration put my on field test with 1 day trial left...and then I now find the original password works to get a new registration but now they shift the goal posts on my SA expiry....I seem to have problems every update....ugh

Not sure if Discussion is correct place for this question about a possible new tool, but:

Not sure if Discussion is correct place for this question about a possible new tool, but: Do there exist some program that may extract metadata structur of the components involved in communicating with an Oracle database consisting of tables and lots of stored procedures in packages? Writing a TCP/IP based multitier Datasnap DBExpress Datasnap server, coupled up to an Oracle Database server still under development, I need a tool for quality check of all parts of the system now and then. It is easy to make a meta-data export of the database model with ER/Studio, but, for the server, metadata extraction only exists for the client when making the proxy datastructure and not to be exported to Excel/CVS file. I need a tool to produce an excel spreed sheet or CVS file with export of tje tSQLdataset properties of Name of component, commandtext, CommandType, SchemaName, maybe SQLConnection in case more than one is defined and serialized parameter list and for tStoredProc I need the equivalents

Experimental GExperts Version 1.37 2015-04-11 released

http://blog.dummzeuch.de/2015/04/11/experimental-gexperts-version-1-37-2015-04-11-released/

Easy change Moderntheme

Easy change Moderntheme http://www.tutorialdelphi.com/2015/04/change-moderntheme-delphixe8.html

So I finally installed Dephi XE8 and am now looking around. There is this GetIt thing. Opened it and got this window. Why does it contain duplicates?

Image
So I finally installed Dephi XE8 and am now looking around. There is this GetIt thing. Opened it and got this window. Why does it contain duplicates? * Abbrevia 10.0 (2x) * AsyncPro for VCL 1.0 (2x) * Essentials for VCL 1.0 (2x) I could go on, but basically the only non duplicate is the Boost libraray for C++. Am I missing something here or is it just a bug?

Show must go on :)

Show must go on :) http://sourceoddity.com/blog/2015/04/fixinsight-vs-fmx/

I'm currently installing the update for Delphi XE7 (in preparation for installing XE8). I never install the C++ Builder part, and didn't do that this time either. So why is the bloody installer now installing the "Boost Libraries for C++Builder"?

I'm currently installing the update for Delphi XE7 (in preparation for installing XE8). I never install the C++ Builder part, and didn't do that this time either. So why is the bloody installer now installing the "Boost Libraries for C++Builder"? It says "(This could take an extended period of time.)". No, it takes bloody forever. I am beginning to wonder whether there is a modal dialog somewhere in the background asking me whether I really want to install that stuff.

Can someone please check if following issues still exist in XE8.

Can someone please check if following issues still exist in XE8. JSON serialization fails on TTime fields https://quality.embarcadero.com/browse/RSP-9653 JSON serialization fails on TDate fields https://quality.embarcadero.com/browse/RSP-9652 JSON serialization crashes on collections https://quality.embarcadero.com/browse/RSP-9640 They are marked "Work As Expected", but crashing is not exactly my idea of working. I would like to know if that is still the case before I dispute bug resolution. https://quality.embarcadero.com/browse/RSP-9653

Originally shared by Boian Mitov

Originally shared by Boian Mitov Just uploaded a pre-release build for Delphi and C++ Builder XE8 #Delphi   #OpenWire   #MitovSoftware
Had anyone an unexpected memory leak ("TDictionary ") reported by Delphi XE without any reference to TDictionary and generics in general?

XE8 - MacOS "True native style"

Image
XE8 - MacOS "True native style" Who find's the differences?

I need to create a simple RestFull webserver with XE5. Following that example below it will run:

I need to create a simple RestFull  webserver with XE5. Following that example below it will run: function TServerMethods1.GetDepartmentEmployees(const AID: string): TFDJSONDataSets; begin   // Clear active so that query will reexecute.   FDQueryDepartmentEmployees.Active := False;   FDQueryDepartment.Active := False;   FDQueryDepartment.Params[0].Value := AID;   FDQueryDepartmentEmployees.Params[0].Value := AID;   Result := TFDJSONDataSets.Create;   TFDJSONDataSetsWriter.ListAdd(Result, sDepartment, FDQueryDepartment);   TFDJSONDataSetsWriter.ListAdd(Result, sEmployees, FDQueryDepartmentEmployees); end; Problem is with the result, I dont receive the data so the java client will not be able to get the information. How to make it reflect the correct JSON data? I get such, what is the class: {"FData":"QURCUwkApwBcYwEA/wA...

What do you think about "global" defines in IDE?

What do you think about "global" defines in IDE? For example, library A could be integrated with library B. Now, when installling A user should change some DEFINEs in A inc files. But if B could set global $DEFINE B_INSTALLED life will be easier.

Hi Friends

Hi Friends, I am getting error like "dataset does not support bookmarks which are required for multi-record data controls" When i am changing cursorlocation property =clUserserver of dataset, and i am getting "Unspecified Error" while i have cursorlocation=clUserClient. Now i am confused what to do, I have informix database(Unix) . and Delphi 2007. Single column query with single field works great like (Select from Table1). But when i fetch like (Select * from Table1) then it gives error with clUserserver cursorlocation. Any help Appriciated

According to http://edn.

According to  http://edn.embarcadero.com/article/44358 , RSP-9850 ( https://quality.embarcadero.com/browse/RSP-9850 ) has been resolved. This is the mystery of what the type of construct is. See  http://stackoverflow.com/questions/27555272/what-type-of-declaration-represents-in-delphi-and-how-can-it-be-used Does anybody know how this has been resolved? Marco Cantu  http://edn.embarcadero.com/article/44358

According to http://edn.embarcadero.com/article/44358, RSP-9850 (https://quality.embarcadero.com/browse/RSP-9850) has been resolved. This is the mystery of what the type of construct is. See http://stackoverflow.com/questions/27555272/what-type-of-declaration-represents-in-delphi-and-how-can-it-be-used

According to  http://edn.embarcadero.com/article/44358 , RSP-9850 ( https://quality.embarcadero.com/browse/RSP-9850 ) has been resolved. This is the mystery of what the type of construct is. See  http://stackoverflow.com/questions/27555272/what-type-of-declaration-represents-in-delphi-and-how-can-it-be-used Does anybody know how this has been resolved? Marco Cantu  http://edn.embarcadero.com/article/44358

Blog post "What's New in Delphi XE8 for VCL developers" at http://blog.

Blog post "What's New in Delphi XE8 for VCL developers" at http://blog.marcocantu.com/blog/2015-april-new-xe8-vcl-developers.html http://blog.marcocantu.com/blog/2015-april-new-xe8-vcl-developers.html

Blog post "What's New in Delphi XE8 for VCL developers" at http://blog.marcocantu.com/blog/2015-april-new-xe8-vcl-developers.html

Blog post "What's New in Delphi XE8 for VCL developers" at http://blog.marcocantu.com/blog/2015-april-new-xe8-vcl-developers.html http://blog.marcocantu.com/blog/2015-april-new-xe8-vcl-developers.html

XE8 and TCustomMesh

XE8 and TCustomMesh I am playing with the trial and found a breaking change. It happens when you specify vertex coordinates as in the real world, let's say in millimeters, and you do not care to normalize them. Previously you could do that: leave Width, Height and Depth at 1.0 and scale the object, so that it did show up with about the same size next to an unscaled TCube, which has vertex cordinate values in the normalized range between -0.5 and 0.5. In XE8 it appears as if Delhpi does automatically normalize the vertex coordinate values of a TCustomMesh, in all three axis. I can tell because I have a feature in my app to stretch the coordinate values to fit inside a unit cube. This will of course change the shape of the object, but makes it easier to keep everything in view and/or apply default values for texture coordinates. In my special case, the app starts up using a value of 0.06 for scaling the normal mesh and 12.0 for the normalized mesh (factor 200). Now when I compile wit

Hi

Hi, I have a problem while debugging: the IDE does not recognizes all local variables... Some similar code: procedure MyStuff; const   CMyConst = 'Foo';   CHelloWorld = 'Hello World'; var   i: Integer;   LMyVariable: TObject;   LOffset: Double;   LMyClass: TMyClass; begin   if LMyVariable <> nil then;   for LMyVariable in FMyList do     [..]     DoSomething(LMyVariable);   end; end; When I put a breakpoint to the if condition and want inspect the content of LMyVariable, the IDE answers with "undeclared identifier 'LMyVariable'". Even on the line "DoSomething" i cant see the content of LMyVariable, it is still unknown to the IDE... But LOffset and LMyClass can be viewed while debugging :( My project is build without optimization. What can I do?
How often do you use the JvValidators component?

With the database on a central server, or a local IBX Go on the device?

Image
With the database on a central server, or a local IBX Go on the device?

Did you ever think about running your Delphi apps on the web just like the same way it runs on Windows?

Did you ever think about running your Delphi apps on the web just like the same way it runs on Windows? What do you think if Embarcadero would make an Embarcadero VM that would run on most web browsers as a plugin where your Firemonkey application would run on a web browser?

Firedac ArrayDML Crazy ?

Firedac ArrayDML Crazy ? Hi Guys. I´m having a estrange behavior using firedac and arrayDML for insertions. See this code:     cArray.CommandText.Text :=       'insert into processo_estagio(idprocesso, estagio)' +       ' values (:idprocesso, :estagio) on duplicate key update estagio=:estagio';           ...           cArray.Params[0].AsIntegers[fArrayIDX] := 3319;           cArray.Params[1].AsIntegers[fArrayIDX] := 2;          ... cArray is a tfdcommand. In the Firedac Monitor, I m having this result for the generated SQL: mysql_real_query [q="insert into processo_estagio(idprocesso, estagio) values (3319, 2), (2, 3319) on duplicate key update estagio=2 Firedac is inverting the parameters orders. But, If I run the array with arraysize = 1 (one by one), this error not occurs. Anyone have informations about what is it ?

Cooking the next version the #Delphi IDE Colorizer with #XE8 support

Image
Cooking the next version the #Delphi IDE Colorizer with #XE8 support
Delphi XE8 (with mobile add-on).  Has anyone successfully built an app for the Nexus 9 (sample to confirm it works)?  I'm currently going through the setup of XE8 to try it.  I (maybe) mistakenly installed the 32bit SDK (Android compiler being 32 bit)!?  The Nexus 9 doesn't show up within the Android target platform (yet anyway).   I have the driver, I have developer mode enabled on the tablet, etc.  If anyone has (or even XE7 update 1), is there a link that someone can point me to for help?  If someone at Embarcadaro knows one way or the other that would be nice.  Thanks in advance..  I'm thinking it's still a "no" at this point due to the 32bit XE8 compiler, and the Nexus 9 being 64bit.

D.P.F Delphi iOS Native Components

D.P.F Delphi iOS Native Components v9.5.0 - 2015/04/10   + XE8 support ( is now the minimum supported Delphi version. )   + Added TDPFDateTimeComboBox Clear method   + Added TDPFTabBarProperty.BarTintColor property   + Added TDPFSearchBar.MaxLength property   - Fixed TMFMessageComposeViewController crash on send message   - Fixed set TDPFSearchBar.ShowsScopeBar on runtime http://sourceforge.net/projects/dpfdelphiios/ http://sourceforge.net/projects/dpfdelphiios

Dear Developers

Image
Dear Developers, I'm pleased to announce the new main version of X-DBGrid Component 6.0 and X-Files Components 6.0 with support for RAD Studio XE8!   What's new in version 6.0 ?   =======================   - New packages for Delphi/C++Builder XE8 Win32/Win64!!!   - Support for new custom styles in RAD Studio XE8: Glow, Radiant, Sky, Tablet Light, Vapor   - Packages for .NET personalities 8/2005/2006/2007 are no longer supported!       - TXDBGrid was integrated with filtering system in TDataSet class!!!   - New properties in TXDBGrid class: Filter, Filtered, OnFilterRecord   - New TXDBGridFilter class to manage of internal filtering (FilterGrid)   - New properties in TXDBGridFilter class: AutoFilter, AutoUpdate, Filtered   - New options in TXDBGridFilter class: foAutoApplyList, foListAlignment, ...   - New TXDBGridFilterList class implements convenient auto-apply filter list   - New filter list is available for each column (drop-down buttons in titles)   - New properties in TXCo

Did just post my JVCL/JCL for XE8 hack: http://fixedbycode.blogspot.dk/2015/04/unofficial-jedi-jcl-and-jvcl-patch-for.html

Did just post my JVCL/JCL for XE8 hack:  http://fixedbycode.blogspot.dk/2015/04/unofficial-jedi-jcl-and-jvcl-patch-for.html

How do you Install a FireMonkey App onto Someone Else's iPhone

How do you Install a FireMonkey App onto Someone Else's iPhone I have an iPhone and I only use the App Store to download and install apps. I'm wanting to creating a small private FireMonkey app for internal use in our company. What's the best way to get the app onto a colleague's iPhone? Thanks - Steve

Implementing LISP-like language in Delphi | SourceOddity

http://sourceoddity.com/blog/2015/04/implementing-lisp-like-language-in-delphi/
A question for anyone on FastReports: I see in my XE7 VM and in my XE5 VM, that FR is apparently installed. At least, if I go to Control Panel, Change, Modify,  and look at the tree, it appears to be present. However, I see nothing in the component palette, nor anywhere else, that would confirm it. What should I look for? Or is there some secondary install to do?

Porting from XE7 to XE8: Internal Compiler Error F2048 using a interface in a TList.

Porting from XE7 to XE8: Internal Compiler Error F2048 using a interface in a TList . I filed a bug report:  https://quality.embarcadero.com/browse/RSP-10305 This won't compile: program ErrorF2084;   uses   System.Generics.Collections;   type   TMyList = class(TList )   public     function Foo(const Item: IInterface): Integer;   end;     IFoo = interface     function Foo: Integer;   end;   { TMyList }   function TMyList .Foo(const Item: IInterface): Integer; begin //  Result := Add(Item); // works   Result := Remove(Item); // internal error F2084 end;   begin   TMyList .Create; end. A not so good start. I hope for some improvements regarding Out Of Memory-Problem but it seems it'll take a bit longer to get some results. https://quality.embarcadero.com/browse/RSP-10305