Posts

Showing posts from May, 2014

Push to send specific User.

Push to send specific User.  I'm following the blog sarina push to send the application. Worked properly but it does not teach how to send to a specific user.  Anyone know how to say? thank you  http://blogs.embarcadero.com/sarinadupont/2014/04/17/sending-notifications-from-baas-enabled-desktop-apps-to-your-mobile-clients/ http://blogs.embarcadero.com/sarinadupont/2014/04/17/sending-notifications-from-baas-enabled-desktop-apps-to-your-mobile-clients

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) Old farts make basic mistakes. #blog #delphi #firemonkey http://blog.dummzeuch.de/2014/05/29/segmentation-fault-on-startup-in-delphi-xe6-firemonkey-application-for-android/

When the mORMot (Delphi) developer meets the Brook (Free Pascal) developer - IMHO, both mORMot and Brook are the best open source web frameworks for Delphi and FPC respectively, and this discussion lead to an argument between the developers of these two frameworks.

When the mORMot (Delphi) developer meets the Brook (Free Pascal) developer - IMHO, both mORMot and Brook are the best  open source web frameworks for Delphi and FPC respectively, and this discussion lead to an argument between the developers of these two frameworks. http://synopse.info/forum/viewtopic.php?id=1762

Had a problem last week with D2007, where there were a few lines of code that had no blue dots after a build. They also would not accept breakpoints. Has anyone else encountered this?

Had a problem last week with D2007, where there were a few lines of code that had no blue dots after a build. They also would not accept breakpoints. Has anyone else encountered this? In the end, I retyped the code block, then commented out the old lines, and it worked, leaving me to believe that there was some undisplayed character in the source which caused the problem.

Hi Gurus

Hi Gurus, Does somebody knows a solution for Tims problem? http://stackoverflow.com/q/23907144?sgp=2

Perhaps a silly question: Does the History tab exist in XE6 Pro? Mine's gone missing, in all projects, and since I didn't look for it until I needed it and I've only had XE6 for a few weeks, I don't know if it was there and is missing, or was just never there.

Perhaps a silly question: Does the History tab exist in XE6 Pro?  Mine's gone missing, in all projects, and since I didn't look for it until I needed it and I've only had XE6 for a few weeks, I don't know if it was there and is missing, or was just never there. The __history folders still exist, but the IDE tab doesn't.

http://seanbdurkin.id.au/pascaliburnus2/archives/172

http://seanbdurkin.id.au/pascaliburnus2/archives/172 http://seanbdurkin.id.au/pascaliburnus2/archives/172

Delphi Gem of the day: putting "reintroduce" on a destructor.

Delphi Gem of the day: putting "reintroduce" on a destructor.     destructor Destroy(); reintroduce; overload; In our case all we got was a memory leak because the rest of the inheritance chain didn't override the destructor.

Originally shared by Boian Mitov

Originally shared by Boian Mitov FMX Express has new article on AnimationLab :-) http://www.fmxexpress.com/animate-properties-using-a-timeline-with-animationlab-for-delphi-xe5-firemonkey-on-android-and-windows

ANN: HTML Report Library released!

ANN: HTML Report Library released! HRL is a template-based reporting library for Delphi, designed to generate reports using databases and XML. Templates are simple HTML files containing special tags, and output is pure HTML suitable for displaying in any browser and sending by mail (all of the graphics are directly integrated into the text, so when sending mail you don't have to attach pictures separately). HRL can be used in client applications to generate and view report inside the program, and in server applications or Web-servers. As a template language HRL uses widely known Mustache with some extensions. Library supports all versions of Delphi from Delphi 6 to Delphi XE6, and also supports Unicode for old non-unicode versions of Delphi using widestring. HRL fully supports Right-to-Left languages, including order of table columns and location of chart data. HRL supports major data-access components ( FireDac, IBX, UIB, DOA). Adapters for other libraries could be implemented ver

ANN: HTML Component Library 2.3 released.

ANN: HTML Component Library 2.3 released. What's new since 2.2  1. XE6 Support (+FM)  2. Paging/Printing (VCL)  3. Right-to-Left alignment (use CSS direction property)  4. Embedded scrollbars in THtPanel (VCL)  5. SVG (partial) (VCL)  Supported elements: SVG, g, path, rectangle, circle, text  6. HtPanel shows hint for any element with title attribute (not only URLs)  7. New CSS Properties: page-break-before, page-break-after, page-break-inseide  8. New value for CSS position: running(..)  9. Attribute selectors now supports ^, $, *, ~ and | prefixes. 10. Faster rendering (+30%) 11. Less memory consumption (-50%) HCL is a suite of 100% native Delphi components and classes allows the use of HTML and CSS in any VCL control It doesn't require any third-party DLL-libraries and programs installed. You can display HTML anywhere just specifying Canvas and output area. It's 100% Unicode even for old delphi versions (D6-D2009). Library supports all basic HTML 4.01 tags and CSS3 prope

#TECNativeMap version 1.8 is available (D7 - Xe6)

Image
#TECNativeMap version 1.8 is available (D7 - Xe6) The speed has been improved even mobile versions http://www.helpandweb.com/ecmap/en/android.htm #Trial version for Xe6 http://www.helpandweb.com/Trial_XE6_TECNATIVEMAP.zip

Ann: NexusDB Embedded Free v4 update

Ann: NexusDB Embedded Free v4 update ================================= We are happy to announce the immediate release of NexusDB Embedded Free edition v4.00.05. This version adds support for Rad Studio XE6. Delphi 7 and up are supported, as are C++Builder 2007 and up. -- The NexusDB Team

Hi everybody

Hi everybody, I wana to redirect page, using form submit( with WebServer ).. as like login form(user&pass) into correct page(with user data)... In datasnap server xe5. Thanks all..

I just discovered the Ctrl Click IDE shortcut.

I just discovered the Ctrl Click IDE shortcut.  I wish the Ctrl Click worked on third party component libraries such as Raize components. Update 05/28/2014: Please check out the response I received from Ray Konopka regarding the find declaration for Raize Components.  http://www.raize.com/forums/viewtopic.php?f=23&t=481#p1285

Hi everybody

Hi everybody, How i can create a web server with login( User&pass) ,redirect into #mypage( with user&pass Author),....  I using datasnap Xe5.

Hi Everyone. My name is Pawel Piotrowski, I'm living in Poland and I'm a delphi programmer since more then 15 years. I even developed a 3D Game Engine with delphi. That was fun.

Hi Everyone. My name is Pawel Piotrowski, I'm living in Poland and I'm a delphi programmer since more then 15 years. I even developed a 3D Game Engine with delphi. That was fun. I'm currently running my own small software development company, and we are doing delphi programming for the most part. Not only delphi, but that is the main language we are using. If you like to know more, or if you need a delphi contractor, please see more at http://www.maxlogic.eu

Hi all

Hi all what unit do I need to add to be able to use TFloatProperty I am trying to use an old component that uses that (originally was in the units   designintf,  DesignEditors,  dsgnintf, thanks for any tips/help! Brian

A response from a Dinosaur...

A response from a Dinosaur... Originally shared by Michael Riley I am one of those Dinosaurs. I am a self-taught Delphi programmer (I actually started with Turbo Pascal 3). Until about two years ago my thought process was I must build everything I can by myself. I am One-Person Part-Time Micro ISV (OPPTMISV).  I have a library of approximately 80 Delphi/Pascal books. Google, SO and the web didn't exist when I started programming. It was a lonely and challenging place for individual programmers like me. To learn new concepts you spent hours in the book store looking for answers before buying yet another book that duplicated 90% of all the other books. There were also bulletin boards and newsgroups but the interaction was not instantaneous like it is today. Hell, finding like-minded and like-skillset people was a challenge in and of itself. I dare you to go one week with out googling for an answer. I bet you can't do it. :-) I'm a die-hard Delphi guy. I have a constant love-h
Falls hier Delphi Entwickler auf Deutschland / NRW sind bitte melden

Delphi enumerators: is there any way to get them to work with indexed properties?

Delphi enumerators: is there any way to get them to work with indexed properties? For example, to enumerate over all components in a form you have to use code like this:   for Loop := 0 to Form.ComponentCount do... but I want to be able to do:   for Component in Form.Components do...

Today is the first day of the rest of my #delphi life! :-)

Today is the first day of the rest of my  #delphi  life!  :-)

I've never shared any of my components for fear people would laugh at my coding. Oh, well. I'm looking for beta testers for my MaxIni component, a non-visual component that simplifies persisting property values and other information in an ini file. You can get an idea of whether it's worth your time to help by viewing the help file at http://www.knowisinc.com/MaxIniHelp/index.html. If you want to help, contact me via the e-mail link shown on http://knowisinc.com/contact.html.

I've never shared any of my components for fear people would laugh at my coding. Oh, well. I'm looking for beta testers for my MaxIni component, a non-visual component that simplifies persisting property values and other information in an ini file. You can get an idea of whether it's worth your time to help by viewing the help file at http://www.knowisinc.com/MaxIniHelp/index.html . If you want to help, contact me via the e-mail link shown on http://knowisinc.com/contact.html . http://www.knowisinc.com/MaxIniHelp/index.html

Originally shared by Boian Mitov

Originally shared by Boian Mitov And 5 Stars for AnimationLab from Windows 8 Software Downloads :-) http://www.windows8downloadsfree.com/animationlab-vcl/win8+bhbglh.html

Ok guys, it's time to learn a little about FMX ... and French :)

Image
Ok guys, it's time to learn a little about FMX ... and French :) I was disapointed by the lacks of Drag&Drop support under Android, but I dig the FMX source code and found what's going on. My Execute.FMXBasedDragDrop unit is a crossplaform implementation of Drag&Drop for Android (and probably iOS, but I don't have an iPhone). All the explanation are in french, but the source code is english commented, you can find the sample projet on the bottom link of the page. http://lookinside.free.fr/delphi.php?FMXBasedDragDrop Conclusion: it would be great to have access to TCommonCustomForm.FMousePos and TCommonCustomForm.SetCaptured. (image captured from my smarphone with TeamViewer for Android & LICEcap for Windows)

Originally shared by Boian Mitov

Originally shared by Boian Mitov AnimationLab got 5 Stars on GearDownload :-) http://www.geardownload.com/development/animationlab-vcl.html

Don't watch this video unless you are ready for a life changing experience! #success

Don't watch this video unless you are ready for a life changing experience!  #success   http://www.youtube.com/watch?v=PV0Vmth4kT0

Delphi XE2: Nested Comments, I want them!

Delphi XE2: Nested Comments, I want them! I've had some troubles with nested "{" and "}" pairs aka curly-braces. Specifically, when I have a piece of code with an inline comment that I'd like to keep.... function ThisIsAFunction() begin    if (SomeFunction(Var1{used to use Var2})) then       DoSomething(); end; ... But in debugging, I decided to comment a line out in this function. However, nest curly-braces don't seem to work and the IDE/compiler complains... function ThisIsAFunction() begin {   if (SomeFunction(Var1{used to use Var2})) then       DoSomething();} end; Sometimes, I want to comment out a section of code and mark it..  {$REGION 'OldCode'} { function ThisIsAFunction() begin {   if (SomeFunction(Var1{used to use Var2})) then       DoSomething();} end; } {$ENDREGION} I always have to change my comments to "//" when I want to enclose them in "{". Sure wish I could just leave the "{" there and nest it insid

Some thoughts about the differences of software developers.

Some thoughts about the differences of software developers. http://delphisorcery.blogspot.com/2014/05/software-developers-and-generation-gap.html
Make the most of EMBT's DocWiki. #delphi

To see who's behind the #Delphi team...

Image
To see who's behind the #Delphi team... 1. Open help about 2. Hold down [ Shift ] + [ Alt ] 3. Type team

Should the DragMode dmAutomatic works under Android ?

Image
Should the DragMode dmAutomatic works under Android ? I've put 2 combo, 1 listbox & a TImage on a form with a DragMode set to dmAutomatic. I'd like to drag&drop the TImage to the 2nd combo. It work well under Windows but I can't drag the image under Android, it's just do nothing.

Hi, my current projects is app server;

Hi, my current projects is app server; And i have a little problem with login webserver( with form ....), I dont have experience in this, So someones give me advise .. P/s: my project is Home Automation..... Thanks for contributed ideas

I'm happy to announce that Thinfinity™ Virtual UI is ready for testing.

I'm happy to announce that Thinfinity™ Virtual UI is ready for testing. You can find the links to download the setup files and documentation in the blog post. You feedback is very welcomed! http://goo.gl/0WUZFb

Re-use of registered components and libraries

Re-use of registered components and libraries Hi all. We're currently switching to a new version control system, and we're reconsidering the way we set up our Delphi projects. We routinely use a set of external components, like TMS, Raize, WPCubed, etc. Any developer will typically work on different projects, and each project can use different versions of those components, depending on when the product was last updated (some are so old they only need updating once every few years). Our problem is that, in order to be used at design time, a component needs to be registered in Delphi. After doing this, Delphi will try to load that component even when no project is loaded . I would prefer if components were only loaded when a project that references them is opened. This means we can't load one version of a component for one project, and a different version for another project.  We've circumvented this by installing the library components on a mapped drive (W:\Lib). When sw
OK, I am considering building a DLL in XE5 to be called from D2007, to solve a problem. It would involve using a non-visual component not available in D2007. Apart from the obvious Unicode issues, I also need access to data, as determined by the calling program. I am thinking that the safest solution may be to give the DLL its own connection, and pass in the query. Any thoughts?

HTML Report Library demo updated.

Image
HTML Report Library demo updated. Mustache templates, Map charts and much more. Now you can connect to your own database (IB/FB/Oracle/MSSQL/MySQL) and test custom reports. http://delphihtmlcomponents.com/dbreportsdemo.zip

Uninstall Delphi XE4 -> Serial not valid!

Uninstall Delphi XE4 -> Serial not valid! Hi all, I want to deinstall XE4. After deinstalling some additional entries (Embarcadero Help System, Boost-Library), im not able to deinstall Rad Studio XE4. It alway popup a message 'Serial not valid'. Any help would be great.

Has anyone noticed Error Insight seems to be less buggy in XE6?

Has anyone noticed Error Insight seems to be less buggy in XE6?  I still get erroneous red underlines sometimes, but in fewer places. For me, the red underlines that remain usually seem to be complaining a variable doesn't have something that belongs to TObject, eg Free or ClassName, but that's it - the rest seems to work.  It's actually been mildly useful once or twice!

Has anyone noticed Error Insight seems to be less buggy in XE6? I still get erroneous red underlines sometimes, but in fewer places.

Has anyone noticed Error Insight seems to be less buggy in XE6?  I still get erroneous red underlines sometimes, but in fewer places. For me, the red underlines that remain usually seem to be complaining a variable doesn't have something that belongs to TObject, eg Free or ClassName, but that's it - the rest seems to work.  It's actually been mildly useful once or twice!

Bug in refactoring in XE5.

Bug in refactoring in XE5.   Can someone check this in XE6 and report if still an issue? Use refactoring to rename constant CreateStoragePos to f.x. CreateStorage. Result:  reference in attribute     [TestCase('Create', CreateStoragePos, NoSep)] will not be renamed. {code} unit DUnitX_PSDStorage; interface uses   DUnitX_PSDBase, PSDConstants, PSDStorage,   DUnitX.TestFramework; const   CreateStoragePos = String('something');   ModifyStoragePos = String('something'); type   [TestFixture]   TestTPSDStorageArea= class(TTestClass )   public     [Setup]     procedure Setup; override;     [TearDown]     procedure TearDown; override;     [Test]     [TestCase('Create', CreateStoragePos, NoSep)]     procedure CreateFromJSON(const aJSON: String); override;     [Test]     function SaveToDB:TPSDResult; override;     [Test]     function ReadFromDb:TPSDResult; override;     [Test]     [TestCase('Modify', ModifyStoragePos, NoSep)]     function ChangeAndSave(con
Anyone interested in remoting VCL apps to web? WebFmx 's brother is comming...

Does anyone know the exact dcc parameters for rebuilding an RTL unit (System.Rtti.pas in my case) so that it is compatible with the ones shipped? (both release and debug would be nice) And yes I only changed the implementation part.

Does anyone know the exact dcc parameters for rebuilding an RTL unit (System.Rtti.pas in my case) so that it is compatible with the ones shipped? (both release and debug would be nice) And yes I only changed the implementation part. I found this on SO ( http://stackoverflow.com/questions/4839532/recompiling-the-rtl-if-possible-then-how ) but the options did not work as I get the F2051 error (unit X was compiled with a different version of Y).

I'd like to talk with people using third-party components for Excel export. We're currently using Axolot, and have been unable to find solutions for some detail issues. We are switching to FlexCel, and I haven't discovered yet whether we will have solutions for the issues there.

I'd like to talk with people using third-party components for Excel export. We're currently using Axolot, and have been unable to find solutions for some detail issues. We are switching to FlexCel, and I haven't discovered yet whether we will have solutions for the issues there.  I am particularly concerned with two things, at present: First, a means of inserting a graphic image without altering its size or aspect ratio. Second, a means of getting the column widths in linear units, rather than characters or fractions of a character.

I love IEnumerable (the Spring4D one, not the System.pas one ^^) and "record" helpers.

I love IEnumerable (the Spring4D one, not the System.pas one ^^) and "record" helpers. Instead of writing a loop over the array returned from TRttiType.GetMethods figuring out those with the most arguments on the most derived class that match the passed arguments I could just chain Ordered, TakeWhile and Where for some badass "query" that returns the constructor(s) I want. How that is possible? Check this out: uses   Spring.Collections,   Rtti; type   TRttiMethodArrayHelper = record helper for TArray     function AsEnumerable: IEnumerable ;   end; function TRttiMethodArrayHelper.AsEnumerable: IEnumerable ; begin   Result := TCollections.Query (Self); end;

ReEnabling the GExperts Procedure List (Ctrl +G) #delphi

ReEnabling the GExperts Procedure List (Ctrl +G) #delphi   http://www.tpersistent.com/?p=1003
As an enthusiast who cannot afford every new Delphi version, I would like to enlist support for Peter Johnson's project to identify language features (and deprecations) that were introduced in various Delphi versions. Please see his blog entry on this subject and contribute.
I successfully figured out calling one Delphi DLL from C# (created a struct on the C# side).  Now I need to do it with another DLL.  One of the records contains sets.  Does anyone know how I can get a Delphi set to work in C#?

Anyone here ever start out using Workstation licenses then switch to either Networked Named User or Networked Concurrent ? How was your experience? Did it make managing multiple licenses easier? Did it save you any money? What were the drawbacks?

Anyone here ever start out using Workstation licenses then switch to either Networked Named User or Networked Concurrent ? How was your experience? Did it make managing multiple licenses easier? Did it save you any money? What were the drawbacks? I'm sure  Embarcadero's sales team would be happy to tell me all about it but I'm looking for real end user's experiences.

Stackoverflow delphi question with no answer yet? Can you help?

Stackoverflow delphi question with no answer yet? Can you help? How do I alpha-blend bitmaps (png or bmp) using only the VCL? Or must I use Win32 APIs like AlphaBlend?  I hear people claiming the VCL has transparency and blending support in the VCL but I don't think they are right. http://stackoverflow.com/questions/23702868/how-do-you-do-both-blending-and-transparency-using-just-pure-vcl-on-bitmapped-im http://stackoverflow.com/questions/23702868/how-do-you-do-both-blending-and-transparency-using-just-pure-vcl-on-bitmapped-im

Hi Friends

Hi Friends, I have created window service using delphi below are its code unit Unit2; interface uses   Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs,registry; type   TService2 = class(TService)     procedure ServiceAfterInstall(Sender: TService);     procedure ServiceCreate(Sender: TObject);     procedure ServiceBeforeUninstall(Sender: TService);     procedure ServiceBeforeInstall(Sender: TService);     procedure ServiceShutdown(Sender: TService);     procedure ServiceStop(Sender: TService; var Stopped: Boolean);     procedure ServiceStart(Sender: TService; var Started: Boolean);     private     { Private declarations }   public     function GetServiceController: TServiceController; override;     { Public declarations }   end; var   Service2: TService2; implementation {$R *.DFM} procedure ServiceController(CtrlCode: DWord); stdcall; begin   Service2.Controller(CtrlCode); end; function TService2.GetServiceController: TServiceController; begin   Result := Serv

Hi All

Hi All, I have a need to use .Net managed code in Delphi win32 application. I am currently using Delphi 2007. As far as I know, we cannot call managed code from within Windows Application written in Delphi. We can write wrapper in .Net to expose the managed part or make the .net managed code exposed to COM and call that COM dll. Does any one see any direct way to call .Net assembly without modifying any of its code in .Net? Does latest version of Delphi supports calling managed code for Win32 application ? Thanks in advance.

Alcinoe: Compoments suite for Delphi:

Alcinoe: Compoments suite for Delphi: * Self-Balancing Binary Trees * Private Key Encryption/Decryption Primitives * Firebird Client * CGI runner * FTP client * GSM compoment * Http Client (WinInet or WinHTTP) * MySQL Client * NNTP Client * PHP runner * POP3 Client * SMTP Client * SQLite3 Client * Memcached Client * Xml Parser * Json Parser * MongoDb client http://sourceforge.net/projects/alcinoe/

Cindy components for all Delphi versions

Cindy components for all Delphi versions Packages with more than 70 components for all delphi versions http://sourceforge.net/projects/tcycomponents/

Blog post "Background Operations on Delphi Android, with Threads and Timers" at http://blog.marcocantu.com/blog/2014_may_background_delphi_android_threads.html

Blog post "Background Operations on Delphi Android, with Threads and Timers" at http://blog.marcocantu.com/blog/2014_may_background_delphi_android_threads.html http://blog.marcocantu.com/blog/2014_may_background_delphi_android_threads.html

http://capecodgunny.blogspot.com/2014/05/make-most-of-embts-docwiki.html #delphi

http://capecodgunny.blogspot.com/2014/05/make-most-of-embts-docwiki.html #delphi

Hi Everyone

Hi Everyone, I'm a die-hard Delphi guy (aren't we all).  I've been programming in Delphi since Turbo Pascal 3. I did get burned out for about 8 years. I got back into Delphi programming about 2 1/2 years ago. I have a Love / Hate relationship with Delphi. Most of the time I love Delphi. I love learning new stuff about Delphi. I don't like learning the same thing over and over. So, this time when I came back to Delphi I started a blog. It's my little scratch pad of Delphi stuff. Why keep notes on paper when I can keep them in a blog for free. Here is my current Delphi Tool Chain: Delphi XE4 Enterprise Raize Components ReportBulder by Digital Methaphors ElevateDB by ElavateSoft #Delphi

Has anyone used VersionInsight Plus in the latest Delphi Versions?

Has anyone used VersionInsight Plus in the latest Delphi Versions? Since the homepage of Uwe Schuster has been down for quite a while (man, bring that back up please!) there is no official setup and the source on SF cannot be built without modifications (which I don't have the time to figure out). I am missing the overlay icons, blame and all that cool stuff.

Weird Bug - Removing Unused Variable Causes Memory Leak?!?

Weird Bug - Removing Unused Variable Causes Memory Leak?!? This video shows a strange bug I've encountered. When I remove an unused variable from my application it throws a memory leak. When I add it back, the memory leak goes away. The variable is not accessed at all by the application. Anyone have any advice? Thanks! http://screencast.com/t/m2H8GLn7NBN2
Is it just me or has G+ been very slow for a few days now?  My home stream and all community pages often load without accompanying graphics.  And my page loading indicator spins endlessly.

Coding in Delphi now has its own website!

Coding in Delphi now has its own website! http://www.codingindelphi.com/ http://www.codingindelphi.com

So it's been a while, and I've forgotten... is there some function / trick to getting an inline-able version of UInt32x32To64? That is, multiply two UInt32's and return the result as an UInt64.

So it's been a while, and I've forgotten... is there some function / trick to getting an inline-able version of UInt32x32To64? That is, multiply two UInt32's and return the result as an UInt64. Target platform is of course 32bit. Am I doomed to suffer the call overhead?

I finally have found some time to update the BMDThread component set to support Delphi XE4, XE5 and XE6.

I finally have found some time to update the BMDThread component set to support Delphi XE4, XE5 and XE6. You can download it from here: http://www.mitov.com/free_downloads http://www.mitov.com/free_downloads

I have started work on the Spring4D Wiki.

I have started work on the Spring4D Wiki.   It is a git repository, so you can contribute.  Pull requests gladly accepted!  All you need is a little knowledge of Spring4D, a little knowledge of Markdown, and a willingness to help: https://bitbucket.org/sglienke/spring4d/wiki/Home You can get the git repository at: git clone git@bitbucket.org:sglienke/spring4d.git/wiki https://bitbucket.org/sglienke/spring4d/wiki/Home

Originally shared by Marc Hanisch (dubst3pp4)

Originally shared by Marc Hanisch (dubst3pp4) Interesting article by the creators of the Knights & Merchants remake about their choice using the Pascal programming language: http://www.kamremake.com/devblog/pascal-the-best-of-both-worlds/comment-page-1/

Is anyone still using the JCL's UnitVersioning functionality?

Is anyone still using the JCL's UnitVersioning functionality? Every JCL and JVCL unit registers itself to the JclUnitVersioning across module boundaries. The registered data contains the SVN revision and last commit date which can be used to show the data for every unit in an exception dialog. Well, it is broken and not only because all the SVN data (revision, date) is missing since the projects moved to GitHub. If you use DLLs that contain JCL/JVCL units and are loaded dynamically and not unloaded before the EXE's JclUnitVersioning finalization ran, you will get access violations. The code is only partly thread-safe what means it is not thread-safe. So loading such a DLL from a thread can cause a race condition. I had a look at the code and I don't see an easy way to get the current implementation to work without rewriting it. But why rewrite it if you can delete it. All the data is missing anyhow. So I see no point in fixing code that nobody would even find useful anymore

function TVector3D.Distance(const AVector3D: TVector3D): Single;

function TVector3D.Distance(const AVector3D: TVector3D): Single; begin   Result := Sqr(AVector3D.X - Self.X) + Sqr(AVector3D.Y - Self.Y) + Sqr(AVector3D.Z - Self.Z); end; Just... what? (For those who don't know, this is what it's supposed to be:  http://en.wikipedia.org/wiki/Euclidean_vector#Length and this is what it is:  http://gamedev.stackexchange.com/questions/23709/are-there-any-disadvantages-of-using-distance-squared-checks-rather-than-distanc or this  http://stackoverflow.com/questions/8077982/fastest-way-to-compute-distance-squared It's a common optimisation to avoid the sqrt() when you're just comparing distances - is something closer than something else,  without the numerical distance value itself mattering, ie only for comparisons. But a public function on a vector called Distance() should return the distance.) XE4, btw. http://en.wikipedia.org/wiki/Euclidean_vector#Length

After having it on my list of things to do for a while now I finally got around to trying out the DPF native iOS components. All I can say is...

After having it on my list of things to do for a while now I finally got around to trying out the DPF native iOS components. All I can say is... WOW! I was expecting some half baked code. What I got was solid and well put together with a whole load of useful demos. The difference between the FireMonkey and DPF versions of the various components is massive. I'm seriously considering stopping developing with FireMonkey components and moving to DPF even if it means writing separate UXs for iOS and Android. Anybody else out there using DPF in a real app? What are your experiences? http://sourceforge.net/projects/dpfdelphiios/

Blog post "Using AdMob in an Android Delphi app" at http://blog.marcocantu.com/blog/2014_may_using_admob_android.html

Blog post "Using AdMob in an Android Delphi app" at http://blog.marcocantu.com/blog/2014_may_using_admob_android.html http://blog.marcocantu.com/blog/2014_may_using_admob_android.html
The Delphi QS-Audit (Performance USEAS) states that using the as-operator is more performant than using TDataTypeToConvertTo(InstanceToConvert). Can anybody approve this and/or tell me why this is the case?

Hi Friends

Hi Friends, I need to ask two questions here 1. I created DLL using delphi 2006 and register it using regsvr32 but its not shown in COM tab while adding reference in c# studio and i check register dlls as well, my dll is not register in that list. regsvr32 return success message for registration. and when i am trying to add by briwse then it fire error of not valid assembly. 2. I am trying to consume Delphi dll in c# project below is its example. but when parameter value pass from c# in string format and delphi function also used string data type to retrieve parameter value but in dll it get only null value, i tried to use pchar type as well but it accept some garbage value. does i am doing anything wrong? please check below code example and suggest me to do correct. Delphi ==== Function CallAuthentication(pstrUser, pstrPass: PChar):boolean; or Function CallAuthentication(pstrUser, pstrPass: string):boolean; begin //code end; Exports CallAuthentication; c# =========  [DllImport("I

Ran across some old code today, in which a minus-sign "-" is added in front of a function that returns a number...

Ran across some old code today, in which a minus-sign "-" is added in front of a function that returns a number...  MyObj.ChangeValue( - MiscFuncToGetANumber() ); I guess I would normally write this as... MyObj.ChangeValue(MiscFuncToGetANumber() * -1); Do you use a minus sign "-" like this? I think it's super weird looking.

Originally shared by Steema Software

Image
Originally shared by Steema Software Example of TeeChart automatic visualization of JSON data from OpenWeatherMap REST api, using Embarcadero Technologies Studio XE6 REST components, and next-coming "TeeAuto" library for automatic layout compositions of multiple charts from disparate sources of data (text, csv, xml, json, any DB TDataset, RTTI, etc), allowing sql-like multi-dimensional queries from linked sources.   Two lines of code !   RESTRequest1.Execute;   AutoPanel1.Add(AutoRESTProvider1);

Looking into converting a bunch of legacy apps from #BDE to #FireDAC and trying to use the "reFind" utility...

Looking into converting a bunch of legacy apps from #BDE to #FireDAC and trying to use the "reFind" utility released since XE5 to help do this. Not having much joy though, as I've run into a stack overflow for the 2nd time in 2 days. The first one I ran into with version 2.5 (shipped in #XE5 Update 2 hotfix 4), turned out to be already fixed in the newer version 2.7.1 (shipped with #XE6 ).  However I've now run into the same problem (or, at least, the same message) again on a different file.   I've filed a QC about it, in case anyone's interested in looking or voting for it:  http://qc.embarcadero.com/wc/qcmain.aspx?d=124781 On my To Do list is also to have a further look at the #Mida converter to see if this is worth getting -- Does anyone have any experiences to share re the non-trial version of Mida and BDE conversion?   (The bundled/trial version doesn't support BDE to FireDAC conversion last time I checked, so I couldn't form any opinion

Looking into converting a bunch of legacy apps from #BDE to #FireDAC and trying to use the "reFind" utility released since XE5 to help do this.

Looking into converting a bunch of legacy apps from #BDE to #FireDAC and trying to use the "reFind" utility released since XE5 to help do this. Not having much joy though, as I've run into a stack overflow for the 2nd time in 2 days. The first one I ran into with version 2.5 (shipped in #XE5 Update 2 hotfix 4), turned out to be already fixed in the newer version 2.7.1 (shipped with #XE6 ).  However I've now run into the same problem (or, at least, the same message) again on a different file.   I've filed a QC about it, in case anyone's interested in looking or voting for it:  http://qc.embarcadero.com/wc/qcmain.aspx?d=124781 On my To Do list is also to have a further look at the #Mida converter to see if this is worth getting -- Does anyone have any experiences to share re the non-trial version of Mida and BDE conversion?   (The bundled/trial version doesn't support BDE to FireDAC conversion last time I checked, so I couldn't form any opinion

Has anyone seen a deadlock in unit initialization in a FMX app when using runtime packages?

Has anyone seen a deadlock in unit initialization in a FMX app when using runtime packages? I can reproduce this in XE4 like so:  - New FMX app.  Make is 3D, have a 3D form.  - Project Options > Packages > Runtime Packages > All configurations (32-bit Windows platform) > Link with runtime packages - set to True Run the app.  About 50% of the time, you will get a deadlock with two threads, each in a method called by System.InitUnits. Here's the really weird thing (apart from it being two threads each init-ing units.)  InitUnits looks after the unit initialization code, ie calling whatever is in the initialization section.  The second time InitUnits is called, from a second thread this time, it has more units to loop through than before (152 vs 291.)  And, the unit that is causing the deadlock is - wait for it - Vcl.Controls.  Yes, VCL.  Why is that unit ever loaded in a brand new FMX app? I was puzzling over this for quite some time in a FMX app where I need to load the

Run in the background. (IOS / Android)

Run in the background. (IOS / Android)  I have an application and I need you to commence the background, from time to time perform a check on the DataSnap server and if needed, give a notification.  Already read in some places something about it however nothing helped me. The application is in the background for a few seconds and the OS gets it on "pause" and not turning the code I need.  How to solve this? Imagine a whatsapp chat or any program, it has to run in the background and give notifications for incoming messages.  thank you

Today i stumbled across something in the RTL I'd like to discuss. When writing routines and implement error handling, i prefer to not raise execptions if i have a resultvalue(like Bool), even if the parametervalidation runs into an unwanted value. I simply return False and exit.

Today i stumbled across something in the RTL I'd like to discuss. When writing routines and implement error handling, i prefer to not raise execptions if i have a resultvalue(like Bool), even if the parametervalidation runs into an unwanted value. I simply return False and exit. In procedures i do raise exceptions(no discussion about whether I should use a function with resultvalue here, just an example). As i used ForceDirectories i encountered an exception ("Unable to Create Directory"). A path was given(by userinput), and just the result(worked, did not work) was expected. However, looking into the function revealed, that it checked for it's parameter not being empty and otherwhise raising an exception(instead of just returning false): if APath = '' then begin   //raise exception end; So i thought at least just preventing empty Path variables to be passed fixes this problem. A path like this however: FooFolder\ raises the same exception. When stepping throu

There are people out there, trying to tell us that Delphi is an "old" language or lacks "important" Languagefeatures.

There are people out there, trying to tell us that Delphi is an "old" language or lacks "important" Languagefeatures. As i started using UnrealEngine 4 some weeks ago, i started using C++ again. Haven't touched it for years(and i never used it extensively, so my knowledge is quite simple anyway). Today, a blogpost on the UnrealEngine 4 showed "range based for loops" which are part of C++11. So the C++ universe lived without a for in loop for such a long time? So basically, Delphi implemented a feature before it was part of C++? https://www.unrealengine.com/blog/ranged-based-for-loops https://www.unrealengine.com/blog/ranged-based-for-loops

Bad surprise of the day: SysUtils.TEncoding in XE2+ defaults to ANSI, while in XE it defaulted to UTF-8.

Bad surprise of the day: SysUtils.TEncoding in XE2+ defaults to ANSI, while in XE it defaulted to UTF-8. Among other things this means that TStringList fails to load UTF-8 text files that don't have a BOM, which is very common nowadays. Wasn't ANSI already obsolete 10 years ago?

Hi Friends

Hi Friends, I have created DLL using delphi 2007. But when i trying to register it using regsrv32 it returns error like "My.dll was loaded but the dllRegisterServer entry point was not found". is there anything i need to take care @ compile time? or i missed anything?

I need some advice with re-directing some WebService calls I make using Delphi XE. I know this isn't relevant to Delphi, but I need to transparently redirect my web service calls which are on the internet to a local server (with whaetever tech necessary) which will re-direct them to the real server and send back the results, without using a proxy, or any config on the client or source code changes on my client app (except for the webservice endpoint which is needless to say, dynamic).

I need some advice with re-directing some WebService calls I make using Delphi XE. I know this isn't relevant to Delphi, but I need to transparently redirect my web service calls which are on the internet to a local server (with whaetever tech necessary) which will re-direct them to the real server and send back the results, without using a proxy, or any config on the client or source code changes on my client app (except for the webservice endpoint which is needless to say, dynamic).  Any ideas how I can achieve this?

Post "moved" from Delphi Component Directory

Post "moved" from Delphi Component Directory Originally shared by Frank Duchna Hello everbody. Could someone help me on how i can store a password in an SQL database? Other Option would be to find out which user is connected to the database. I want to set up a rights-management within my Software to control which parts are used and to filter data from the database. Thanks in advance. Frank

Post "moved" from Delphi Component Directory

Post "moved" from Delphi Component Directory Originally shared by Frank Duchna Hello everbody. Could someone help me on how i can store a password in an SQL database? Other Option would be to find out which user is connected to the database. I want to set up a rights-management within my Software to control which parts are used and to filter data from the database. Thanks in advance. Frank

Free Update for TeeChart Lite components included in XE6, and also released a new update for TeeChart Pro for all ides:

Free Update for TeeChart Lite components included in XE6, and also released a new update for TeeChart Pro for all ides: http://steema.com/entry/214/TeeChart_2014.11.140512_VCL_2FFMX_release http://www.teechart.net/files/vcl/public/TeeChartLite/TeeChartLite2014RADXE6.EXE http://www.teechart.net/files/vcl/public/TeeChartLite/TeeChartLite2014RADXE6.EXE

Delphi HTML Reports - new reporting library for Delphi.

Image
Delphi HTML Reports - new reporting library for Delphi. 100% native, all delphi versions, all databases, 100% unicode (D6+). Just a small update of demo: Charts. Generated in SVG format, buid into the main document, so uses all styles, interactivity, etc... http://delphihtmlcomponents.com/dbreports.zip Coming soon...

RAD Studio XE6 Lansmanı – Istanbul’da Embarcadero Ä°ngiltere'den Pawel Glowacki ile RAD Studio XE6 Lansmanı (Istanbul Marriott Asia – 15 Mayıs 2014 PerÅŸembe Saat: 9:15 - 12:30) XE6 artık karşınızda. Ayrıntılı Bilgi için: (212) 319 77 22, xe6 [@] btgrubu.com

RAD Studio XE6 Lansmanı – Istanbul’da Embarcadero Ä°ngiltere'den Pawel Glowacki ile RAD Studio XE6 Lansmanı (Istanbul Marriott Asia – 15 Mayıs 2014 PerÅŸembe Saat: 9:15 - 12:30) XE6 artık karşınızda. Ayrıntılı Bilgi için: (212) 319 77 22, xe6 [@] btgrubu.com Kayıt için : https://docs.google.com/forms/d/1bjsdfzjdcz2y94BNoMi5-0M7tuA4-bGRzNUzHQZcnIo/viewform?usp=send_form Launch of RAD Studio XE6 - Embarcadero RAD Studio XE6 with Pawel Glowacki from the UK Launch (Istanbul Marriott Asia - May 15, 2014, Thursday Time: 9:15 - 12:30) XE6 now released. For more information: (212) 319 77 22 Registration form : https://docs.google.com/forms/d/1bjsdfzjdcz2y94BNoMi5-0M7tuA4-bGRzNUzHQZcnIo/viewform?usp=send_form
Just installed GExperts 1.37 in D2007. In GExperts|About, it reports GExperts 1.32. Anyone else see this?

The upcoming release of kbmMW Enterprise Edition also adds support for FastCGI!

Image
The upcoming release of kbmMW Enterprise Edition also adds support for FastCGI! In fact your future kbmMW based sites will be able to combine any FastCGI enabled technology with kbmMWs own built in HTML handling, in one application. The attachments shows a standard PHPSQliteCMS ( http://phpsqlitecms.net/ ) installation being served by kbmMW. kbmMW on Windows will be able to spawn relevant FastCGI servers automatically. kbmMW on ALL platforms (including mobile) will be able to take advantage of any number of external FastCGI servers. This is the code required to setup kbmMW to act as a web server serving PHP pages: procedure TForm1.FormCreate(Sender: TObject); var    sd:TkbmMWHTTPFastCGIServiceDefinition;    sl:TkbmMWConnectionStringArray; begin sd:=TkbmMWHTTPFastCGIServiceDefinition(kbmMWServer1.RegisterService(TFastCGIHTTPService,false));      // Its possible to define a default file name if no file is      // referenced. As we define a PHP FastCGI site, index.pbp is      // typically

Thomas Mueller has released a new version of his experimental GExperts with the code formatter

Thomas Mueller  has released a new version of his experimental GExperts with the code formatter http://blog.dummzeuch.de/2014/05/11/experimental-gexperts-version-1-37-2014-05-11-released/

Anyone has experience with testgrip from http://www.gdcsoftware.com/

Anyone has experience with testgrip from http://www.gdcsoftware.com/

Ann: NexusDB Sale - Save 33%

Ann: NexusDB Sale - Save 33% ======================== Reminder - Entering last week of sale - don't miss out To celebrate our newly released version 4 with 64 bit support, for a short time only, we are offering our "NexusDB Developer Source" edition with a 33% rebate. Normal price is AUD 750, for a limited time, purchase NexusDB with source for AUD 500 from this link: http://www.nexusdb.com/support/index.php?q=node/27059 http://www.nexusdb.com/support/index.php?q=node/27059

IDE Fix Pack 5.6 for XE6 is released.

IDE Fix Pack 5.6 for XE6 is released. It not only adds supports for XE6 but also applies the Compiler Speed Pack to the Android compiler what means that I can now start my research about what takes that long in the Android compiler's compllvm.dll before it executes the slow Android linker. http://andy.jgknet.de/blog/2014/05/ide-fix-pack-5-6-for-xe6-released/

I have an application that make heavy use of TWebBrowser to show GoogleMaps. The problem is that the memory is not deallocated properly. I also notice that for each instance of TWebBrowser it starts new threads. Those are also left. It take CPU resources and memory.

I have an application that make heavy use of TWebBrowser to show GoogleMaps. The problem is that the memory is not deallocated properly. I also notice that for each instance of TWebBrowser it starts new threads. Those are also left. It take CPU resources and memory. So how can close TWebBrowser instance properly, close threads and deallocate memory?

Off topic question, nothing to do with Delphi

Off topic question, nothing to do with Delphi Does anyone know how to permanently remove an alias in PowerShell? The one that annoys me is wget alias for Invoke-WebRequest , hiding my Gnu32 wget installation in PowerShell V3. Remove-Item alias:\wget did only work for one session, restarting PowerShell and it's back.

The official documentation only says the built-in Extended type is 10 bytes on Win32 platform and 8 bytes on Win64 platform (Alias of Double).

The official documentation only says the built-in Extended type is 10 bytes on Win32 platform and 8 bytes on Win64 platform (Alias of Double).   But What's the size of the Extended type in the other platforms? (OSX, IOSARM, IOS32, ANDROID)? http://docwiki.embarcadero.com/Libraries/XE6/en/System.Extended http://docwiki.embarcadero.com/Libraries/XE6/en/System.Extended

My HTML structure reader.

Image
My HTML structure reader. For 'datamining" web pages. Get tags, labels, ids, sources, scripts, links,"subpages"... https://drive.google.com/file/d/0B7Vmjr4M15QCTXViWmJ2RFhlOTA/edit?usp=sharing

http://theroadtodelphi.wordpress.com/2014/05/09/patching-the-dock-title-bar-using-delphi-detours-library/

http://theroadtodelphi.wordpress.com/2014/05/09/patching-the-dock-title-bar-using-delphi-detours-library/ http://theroadtodelphi.wordpress.com/2014/05/09/patching-the-dock-title-bar-using-delphi-detours-library

Comment of the Day:

Comment of the Day: // Hardcoded to Mitch's computer IP // Hopefully SMTP server is running here followed by an IP address as a string. Mitch hasn't worked here in three years.

Can someone please explain what the purpose of the HasWeakRef and a different array manager is in the System.Generics.Collections?

Can someone please explain what the purpose of the HasWeakRef and a different array manager is in the System.Generics.Collections? If you look at the implementation of System.TypInfo.HasWeakRef it only returns True for tkMethod or a record/array that has a field of tkMethod. In such cases the list classes do not use Move but explicitly loop through the array and assign each element. What is the difference for tkMethod there as I always thought this is just a record of two pointers as defined in System.TMethod.
I wish type inference would not only work for arguments of the type T but also for (arguments of) generic types of T.

We're using a third-party dll provided by a hardware manufacturer, apparently the developers thought it's a great...

We're using a third-party dll provided by a hardware manufacturer, apparently the developers thought it's a great idea to show messages from dll in stead of just returning an error code. The problem: - dll calls MessageBoxA whenever it feels like, we don't know all cases in which it display a message, the application is a kiosk, therefore it's unacceptable Partial solution: - currently, using  https://code.google.com/p/delphi-detours-library/ we can intercept all calls to MessageBoxA and log them, however, ideally, we would want to hook just the call from the dll or somehow, figure out that the caller is the dll Any help is appreciated!

We're using a third-party dll provided by a hardware manufacturer, apparently the developers thought it's a great idea to show messages from dll in stead of just returning an error code.

We're using a third-party dll provided by a hardware manufacturer, apparently the developers thought it's a great idea to show messages from dll in stead of just returning an error code. The problem: - dll calls MessageBoxA whenever it feels like, we don't know all cases in which it display a message, the application is a kiosk, therefore it's unacceptable Partial solution: - currently, using  https://code.google.com/p/delphi-detours-library/ we can intercept all calls to MessageBoxA and log them, however, ideally, we would want to hook just the call from the dll or somehow, figure out that the caller is the dll Any help is appreciated!

High performance code of the day

High performance code of the day try   try     // code that may raise an exception   except     // log exception     raise;   end; except // yes, this except block is empty end;
My blog about Bold

Follow up to a comment on the XE6 inlining article

Follow up to a comment on the XE6 inlining article http://www.delphitools.info/2014/05/08/delphi-xe6-32bits-and-scimark/

What's new in XE6

What's new in XE6 http://edn.embarcadero.com/article/43786 https://www.youtube.com/watch?v=ND8jg0VYK0c

Two most annoying things when i find myself in a world with 4-5 IDEs as opposed to some years back when i had only one.

Two most annoying things when i find myself in a world with 4-5 IDEs as opposed to some years back when i had only one. 1. The debugger in Chrome/webkit uses F8 to "run" and F10 to step. Delphi uses F8 to step. Have to reload that page and really step this time. Argh! 2. Typing HTML code in a zen-editor. Why do i ALWAYS type "string" when i want to type "strong"? 3. Oh and all the various and different F3-search-models... that calls for a platform-independent-non-localizable world standard! NOW! IMHO. Happy coding!

price for ugly code of the week goes to

price for ugly code of the week goes to   with cmbLanguage do     Result :=  TFooI18nLanguage(GetEnumValue(TypeInfo(TFooI18nLanguage),I18N_PREFIX+Properties.Items[ItemIndex])); (i replaced acronym of company with Foo)

Title

We have a great opportunity for Delphi Developers in bangalore for Attra infotech. Exp level is 4-6 yrs. can contact me at suresh.yadagiri@attra.com.au

FYI: New post category: Blog Post

FYI: New post category: Blog Post Feel free to use it for your own Delphi blog posts, or the blog posts of others that you happen to share.

A Look at Improved Inlining in Delphi XE6 - DelphiTools

http://www.delphitools.info/2014/05/07/a-look-at-improved-inlining-in-delphi-xe6

Hi everyone! IDE plugins are a bit of a "black art" still, and then even more so when you get past the published plugin API into things that require hacking the IDE. I wrote this blog post yesterday - it's the first in a series on painting inside the code editor, something about which there is no material whatsoever anywhere on the internet. If you're interested in wizards/experts/plugins or even in a small insight into how the IDE works internally, you might find it interesting.

Hi everyone! IDE plugins are a bit of a "black art" still, and then even more so when you get past the published plugin API into things that require hacking the IDE. I wrote this blog post yesterday - it's the first in a series on painting inside the code editor, something about which there is no material whatsoever anywhere on the internet. If you're interested in wizards/experts/plugins or even in a small insight into how the IDE works internally, you might find it interesting. http://itinerantdeveloper.blogspot.com/2014/05/mysteries-of-ide-plugins-painting-in.html

DevExpress is going to surprise us in the upcoming VCL 14.1 release!

DevExpress is going to surprise us in the upcoming VCL 14.1 release! http://community.devexpress.com/blogs/ctodx/archive/2014/05/05/rad-studio-xe6-supported-with-devexpress-vcl.aspx

Hello, I'm getting an error when my application terminated.

Hello,  I'm getting an error when my application terminated. Note: My project is DLL project and I'm using #Delphi #XE6 "EMonitorLockException" Object lock not owned Has anyone get this error before ?

Is Delphi XE6 the first Delphi which makes executables smaller than previous version? :)

Is Delphi XE6 the first Delphi which makes executables smaller than previous version? :) Below are file sizes for empty VCL and FireMonkey projects. VCL application is bigger as usual: XE5: 2 104 320 bytes XE6: 2 260 992 bytes But for FireMonkey Desktop Application the numbers are: XE5: 5 297 152 bytes XE6: 5 052 928 bytes

Janez Atmapuri Makovsek found some #XE6 array optimizations

Janez Atmapuri Makovsek found some #XE6  array optimizations Inline declared setter and getter functions can yield up to six times the performance on one-dimensional arrays and up to four times the performance on 2D arrays, compared to XE5. Spotted at the EMBT forums. http://www.dewresearch.com/news/232-rad-studio-xe6-lo-and-behold

Just started to make our projects HighDPI aware - especially on Windows 8 tablets.

Just started to make our projects HighDPI aware - especially on Windows 8 tablets. From now on I'm going to refer to this as "Project Pandora" . Delphi is not really made for making HighDPI aware programs. Using DevExpress components already solved a lot of the potential trouble. But it is surprising how many components - even 1st party Delphi components - totally lack HighDPI awareness.

The new versions of DAC products with support for RAD Studio XE6 released!

http://www.devart.com/news/2014/dacxe6.html

After reading the followoing Article and the problems with unicode which still seem to affect C++11 (mentioned in the comments, i don't know enough in this area), it seems Delphi does a pretty good job?

After reading the followoing Article and the problems with unicode which still seem to affect C++11 (mentioned in the comments, i don't know enough in this area), it seems Delphi does a pretty good job? And by the way, I'd consider Delphi (Since its Unicode-Support) a Unicode-Based-Language, as the compiler handles unicode in identifiers etc. Or what do you think? http://blog.gatunka.com/2014/04/25/character-encodings-for-modern-programmers/ http://blog.gatunka.com/2014/04/25/character-encodings-for-modern-programmers

Are the Emb forums down for anyone else? For a couple of days now I've got "Unable to Initialize the Application Please check the application logs for more information." when visiting https://forums.embarcadero.com.

Are the Emb forums down for anyone else?  For a couple of days now I've got "Unable to Initialize the Application Please check the application logs for more information." when visiting https://forums.embarcadero.com .

TObjectDictionary Advice Needed

TObjectDictionary Advice Needed I've been using Delphi for many years but have never got round to using Delphi's Generics capabilities. I need to write an application which handles lists of zip code objects (with lat/long, state info etc). I'd like to be able to access the zip codes quickly. So I thought TObjectDictionary might be a good solution (and it would be fun to learn about generics in the process).  If I wasn't using generics I'd create a TZipcodeList object and keep the data in a sorted TList. I'd then use a binary search to access the zip codes. From my experience with computer chess I understand hashing. I think TObjectDictionary hashes the key. I imagine it then uses this hashed value to access a table (using the lower xxx bits) and retrieve the value. So if I want to store all 43000 zip codes in a TObjectDictonary list, how big will the list be? Is it x2, x10 or x100 the number of entries.  If it only has 43k entries then I imaging a binary search

I've ran into a slight issue in Delphi XE6:

I've ran into a slight issue in Delphi XE6: - hints/warnings/errors/etc. in messages are always reported 2 lines upper than the actual issue, i.e. error is at line 500, the message shows the error to be at line 498 anyone know how this can be solved? it's really annoying (:

IDE Fix Pack 5.5 for RAD Studio 2009-XE5 released.

IDE Fix Pack 5.5 for RAD Studio 2009-XE5 released. It is the last version that supports 2010, XE2, XE3 and XE4. http://andy.jgknet.de/fixpack

FireDAC is amazing!

FireDAC is amazing! I played around with it for a while. I have been able to connect to our projects database, have been able to use it with an AzureSQL instance. And all this without reading a single word of the documentation. Very intuitive. Thank you! ... to whoever made this possible. ... and XE6 still includes BDE ... hahaha

App tethering at the "RAD in Action: VCL Developer's Guide to RAD Studio XE6" webinar on April 30.

Image
App tethering at the "RAD in Action: VCL Developer's Guide to RAD Studio XE6" webinar on April 30.
I am looking for a routine or component to convert HTML to RTF. Hopefully either free or inexpensive.
Good day all - who will be willing to share their experiences developing mobile apps using Delphi XE vs Native (Android & iOS & OS X)? Is there real advantages going native? Or is the future rather with cross platform coding? I know there is 1000's of articles but most of them are written by people without any first hand experience or in depth knowledge of the 2 subjects. Or perhaps that was my finding. It is easy to speak in general but I would love to hear from Developers with first hand experience and who also code in both scenarios?   #androidapps   #androiddev   #iosapps   #iosappdevelopment

Hello!

Hello! I just send the follwoing eMail to the webmaster eMail at Embarcadero Technologies . Maybe someone wants to join in. "Hello, I'm having a wish for the interaction with the embarcadero websites. Could you make it possible to sign up for webinars, whitepapers and so on with the edn account. So one does not have to put in all the information about addresses, communications and company size etc every single time. I'm quite pissed of about this for some years now. Could you please do this, to make the access to the provided and in most cases highly useful information easier for all of us? Pretty please??? Best regards / Mit freundlichen Grüßen Knut Reckweg"

EMBT "cold called" me today via phone, they asked if I knew XE6 was released and what my plans for upgrading were...

EMBT "cold called" me today via phone, they asked if I knew XE6 was released and what my plans for upgrading were...  Anyone else gotten this call? Did you take the opportunity to communicate anything?

mustache - the most widely used logic -less template engine is now available in Delphi, brought to you by Arnaud Bouchez - developer of the Synopse web framework.

mustache - the most widely used logic -less template engine is now available in Delphi, brought to you by Arnaud Bouchez - developer of the Synopse web framework. https://github.com/synopse/dmustache

Ann: NexusDB Sale - Save 33%

Ann: NexusDB Sale - Save 33% ==================== To celebrate our newly released version 4 with 64 bit support, for a short time only, we are offering our "NexusDB Developer Source" edition with a 33% rebate. Normal price is AUD 750, for a limited time, purchase NexusDB with source for AUD 500 from this link: http://www.nexusdb.com/support/index.php?q=node/27059 regards, The NexusDB Team http://www.nexusdb.com/support/index.php?q=node/27059