Posts

Showing posts from February, 2018

Hi

Hi, I would like to ask if FireDac supports only 32 bit version of MYSQL database since I could not connect properly through Firedac when I downloaded the 64-bit version Thank you

Loadlibrary, and then open a fmx form in DLL, then call to FreeLibrary will freeze.

Loadlibrary, and then open a fmx form in DLL, then call to FreeLibrary will freeze. Steps: 1.Compile the attachment. Then put the output .exe and .dll together. 2.Click button1 to open Firemonkey form in DLL, then close the firemoneky form. 3.Close Host App. Host App will freeze. https://drive.google.com/open?id=1R2Q_MnwWTa9pN54JUWg_aPLjzI8Z_nLi https://drive.google.com/open?id=1R2Q_MnwWTa9pN54JUWg_aPLjzI8Z_nLi

Firemonkey form in dylib doesn't work on Mac

Image
Firemonkey form in dylib doesn't work on Mac, but this works in XE2 before. https://quality.embarcadero.com/browse/RSP-20028 Steps(Open FMX form in dylib using Excel for Mac 2011): https://delphihaven.wordpress.com/2011/10/17/firemonkey-forms-and-dlls/

My first book is finally released! Good 300 pages of OmniThreadLibrary - now available as an ebook and a hardcover printed release!

My first book is finally released! Good 300 pages of OmniThreadLibrary - now available as an ebook and a hardcover printed release!

refind.

refind.exe bug I found/reported today (it basically breaks your uses clause when "unusing" a unit if there's a compiler directive present): https://quality.embarcadero.com/browse/RSP-20025 https://quality.embarcadero.com/browse/RSP-20025

refind.exe bug I found/reported today (it basically breaks your uses clause when "unusing" a unit if there's a compiler directive present): https://quality.embarcadero.com/browse/RSP-20025

refind.exe bug I found/reported today (it basically breaks your uses clause when "unusing" a unit if there's a compiler directive present): https://quality.embarcadero.com/browse/RSP-20025 https://quality.embarcadero.com/browse/RSP-20025
Does anyone knows a free calendar component?

I really love the "name spaces" you can create with records and constants.

I really love the "name spaces" you can create with records and constants. type mime = record public const ApplicationJson = string('application/json'); TextHTML = string('text/html'); end; ... Response.ContentType := mime.TextHTML;

Bind Delphi and JavaScript together with some Duktape...

Bind Delphi and JavaScript together with some Duktape... https://blog.grijjy.com/2018/02/28/javascripting-with-duktape-for-delphi/

Possibly slightly obvious but nonetheless a minor little tip to bear in mind when moving a project (.

Possibly slightly obvious but nonetheless a minor little tip to bear in mind when moving a project (.dproj/.dpr) by saving it to a new location (which I encountered this morning): While the IDE will automatically adjust form/pas file paths for files included in the project in the .dpr for you, what it will not however do is also adjust the project "Search path" in a similar fashion, even though moving the project is guaranteed to break the project if it has project relative search paths and hence they would require adjusting. That is to say, if you have project relative search folders specified in the "Search path" (and indeed the output folders), you will need to manually go and edit these paths in the project by hand when you change the project's location. (I'd argue that the IDE ought to update relative paths in the project options automatically given that it does so already for the .dpr; it would be the intuitive and graceful thing to do.)

Possibly slightly obvious but nonetheless a minor little tip to bear in mind when moving a project (.dproj/.dpr) by saving it to a new location (which I encountered this morning):

Possibly slightly obvious but nonetheless a minor little tip to bear in mind when moving a project (.dproj/.dpr) by saving it to a new location (which I encountered this morning): While the IDE will automatically adjust form/pas file paths for files included in the project in the .dpr for you, what it will not however do is also adjust the project "Search path" in a similar fashion, even though moving the project is guaranteed to break the project if it has project relative search paths and hence they would require adjusting. That is to say, if you have project relative search folders specified in the "Search path" (and indeed the output folders), you will need to manually go and edit these paths in the project by hand when you change the project's location. (I'd argue that the IDE ought to update relative paths in the project options automatically given that it does so already for the .dpr; it would be the intuitive and graceful thing to do.)

Our TMS WEB Core geolocation demo has been updated. Now features geocoding & route calculation + display, new features for the upcoming technology preview update.

Image
Our TMS WEB Core geolocation demo has been updated. Now features geocoding & route calculation + display, new features for the upcoming technology preview update. http://www.tmssoftware.biz/tmsweb/demos/tmsweb_geolocation/

I have the following code which creates an instance of an RemObjects service and makes a call to a .net server

I have the following code which creates an instance of an RemObjects service and makes a call to a .net server class function TLabelPrintingServiceProxy.GetInstance: ILabelPrintingManager; var LRoRemoteService: TRoRemoteService; begin LRoRemoteService := TRoRemoteService.Create(nil); LRoRemoteService.Message := TROSOAPMessage.Create(); LRoRemoteService.Channel := TROIndyHTTPChannel.Create(nil); LRoRemoteService.Channel.TargetUri := TROUri.Create(ILabelPrintingIntf.LabelPrintingManager_EndPointURI); Result := (LRoRemoteService as ILabelPrintingManager); end; call to the .net service is performed like this: try Result := BinaryArray.Create; LLabelPrintingManager := TLabelPrintingServiceProxy.GetInstance(); Result.Add(LLabelPrintingManager.GetVSSLabelImage(APrintJob)); finally TLabelPrintingServiceProxy.ReleaseLabelPrintingServiceProxyInstance(LLabelPrintingManager); e

I have Delphi 10.2.1 on window 7 NO PROBLEMS.

I have Delphi 10.2.1 on window 7 NO PROBLEMS. I had to install same Delphi on window 10. Now my PROJECT option form is too big and i cannot resize vertically . The width can change. My OK button is hidden under the window tool bar and the top is hidden although i can after working hard catch it. ANY FIX ???

I'm configuring a VM with Windows 7 and Delphi Tokyo. I'm looking for some "best practices" on how to ensure everybody has a core set of up-to-date components and patches on their VMs. We need to maintain a couple of different environments, so instead of multiple physical machines, we decided to use separate VMs for each environment we need.

I'm configuring a VM with Windows 7 and Delphi Tokyo. I'm looking for some "best practices" on how to ensure everybody has a core set of up-to-date components and patches on their VMs. We need to maintain a couple of different environments, so instead of multiple physical machines, we decided to use separate VMs for each environment we need. (I noticed the earlier post today about Docker with Delphi. I'll read it this evening. But anything else would be appreciated. BTW, if Embt could make Delphi run on a Linux host, those Docker containers could probably be way smaller than if Windows was required!)

Hi delphi friends! If you are planning to use Windows Docker Containers and Delphi, you'll need to read this: https://yeiei.net/en/debugging-delphi-applications-inside-a-windows-docker-container

Hi delphi friends! If you are planning to use Windows Docker Containers and Delphi, you'll need to read this: https://yeiei.net/en/debugging-delphi-applications-inside-a-windows-docker-container http://yeiei.net/en/debugging-d

Old Kindle is charging...

Image
Old Kindle is charging...

Does anyone know if App Analytics is still a thing at Embarcadero?

Does anyone know if App Analytics is still a thing at Embarcadero? Some web monitoring systems I've seen show it's been down for like 4+ months. http://appanalytics.embarcadero.com/ has been 503 for a long time

Does anyone know if App Analytics is still a thing at Embarcadero? Some web monitoring systems I've seen show it's been down for like 4+ months.

Does anyone know if App Analytics is still a thing at Embarcadero? Some web monitoring systems I've seen show it's been down for like 4+ months. http://appanalytics.embarcadero.com/ has been 503 for a long time

I'm trying to open GetIt in Tokyo 10.2.2 from the Tools menu item and I'm getting an error:

I'm trying to open GetIt in Tokyo 10.2.2 from the Tools menu item and I'm getting an error: Error reading SearchingImg.Picture.Data: Invalid GIF signature If I click on the link in the Welcome Page, it doesn't do anything. What I'm actually looking for is whether GExperts is available in GetIt?

Indy10, TIdSMTP, how to get protocol log?

Indy10, TIdSMTP, how to get protocol log? I try to get log from SMTP communication, like this (copy from wiki): {code} S: 220 smtp.example.com ESMTP Postfix C: HELO relay.example.com S: 250 smtp.example.com , I am glad to meet you C: MAIL FROM: S: 250 Ok C: RCPT TO: S: 250 Ok C: RCPT TO: S: 250 Ok C: DATA S: 354 End data with . C: From: "Bob Example" C: To: Alice Example C: Cc: theboss@example.com C: Date: Tue, 15 January 2008 16:02:43 -0500 C: Subject: Test message {code} but without success :-( I try use many events from TIdSMTP, TIdLogEvent, TIdSSLIOHandlerSocketOpenSSL but result is low level like bytes, status etc. not true SMTP log. How to do it?

Create custom TMS FNC UI controls for the web, in a snap!

Image
Create custom TMS FNC UI controls for the web, in a snap! https://www.tmssoftware.com/site/blog.asp?post=444

Found something strange in Delphi again which I've been trying to fix for days until I discovered it's probably a...

Found something strange in Delphi again which I've been trying to fix for days until I discovered it's probably a Delphi issue :-P Crate a new TDatamodule in your application, set its OldCreateOrder to false if you haven't done so already. Create a new datamodule which inherits from he one you just made and saved. You'll notice it's OldCreateOrder is false since it inherits it from it's ancestor. Save both Units, close them, reopen them and check the OldCreateOrder on both. On the ancestor it will still be false, on the descendant it will be reset to true (and added in the DFM). Whatever you do ... on the descendant it keeps resetting to True. Thought it was something wrong in my code, until I discovered the default Datamodule does the same thing :-P

Found something strange in Delphi again which I've been trying to fix for days until I discovered it's probably a Delphi issue :-P

Found something strange in Delphi again which I've been trying to fix for days until I discovered it's probably a Delphi issue :-P Crate a new TDatamodule in your application, set its OldCreateOrder to false if you haven't done so already. Create a new datamodule which inherits from he one you just made and saved. You'll notice it's OldCreateOrder is false since it inherits it from it's ancestor. Save both Units, close them, reopen them and check the OldCreateOrder on both. On the ancestor it will still be false, on the descendant it will be reset to true (and added in the DFM). Whatever you do ... on the descendant it keeps resetting to True. Thought it was something wrong in my code, until I discovered the default Datamodule does the same thing :-P

Blog post: DAPUG event on April 24-25th (Nyborg, Denmark) #REST #FMX #Delphi Marco Cantù Jens Fudge

Blog post: DAPUG event on April 24-25th (Nyborg, Denmark) #REST #FMX #Delphi Marco Cantù Jens Fudge https://blog.andreamagni.eu/2018/02/dapug-denmark-user-group-event-on-april-24-25th/ https://blog.andreamagni.eu/2018/02/dapug-denmark-user-group-event-on-april-24-25th/

Just a question ... would it be possible to at design time get a list of specific TForm descendants in a project to use in a property editor? I can achieve something similar with a 'Registered' property which would do a register class call when set at design time, but I'm wondering if it would be possible to achieve the same thing without that?

Just a question ... would it be possible to at design time get a list of specific TForm descendants in a project to use in a property editor? I can achieve something similar with a 'Registered' property which would do a register class call when set at design time, but I'm wondering if it would be possible to achieve the same thing without that? Any other way to trigger the Class Registration thing without the need for having to set a property at design time ?
Is it possible to show multiple columns when you use a tcombobox? If so, can some additional details be provided?
Boa tarde, alguem pode me ajudar com um TXT bem completo para migrar BDE para FireDac, o que vem com o exemplo esta longe de ser completo, obrigado.
It looks like AppAnalytics is dead. The site has been down for some months now and Embarcadero don't seem to care. What alternatives are available? Thanks

TMS RADical WEB, Easy REST Server integration with TMS XData Client

Image
TMS RADical WEB, Easy REST Server integration with TMS XData Client https://www.tmssoftware.com/site/blog.asp?post=443

Where can we found latest Indy / idHttpServer Demos? Are there any new demos available for Berlin / Tokyo.

Where can we found latest Indy / idHttpServer Demos? Are there any new demos available for Berlin / Tokyo. We need some demo's with sessions because something is not working good with tokyo 10.2.2 and tidhttpserver and sessions. We get a lot of invalid session messages ... maybe something we're doing false or ithttpserver is doing not right with autostartsession etc. Thanks for some links,

We are glad to introduce new Multiplatform FM Style "Material Pattens Blue":

Image
We are glad to introduce new Multiplatform FM Style "Material Pattens Blue": http://www.delphistyles.com/fmx/MaterialPattensBlue.html Style is very useful for business applications!

Remove Mac support on Advertisement before 64 bit is supported.

Remove Mac support on Advertisement before 64 bit is supported. https://quality.embarcadero.com/browse/RSP-20005 https://quality.embarcadero.com/browse/RSP-20005

Drop android support.

Drop android support. https://quality.embarcadero.com/browse/RSP-19995 https://quality.embarcadero.com/browse/RSP-19995

DBBitType Example

DBBitType Example I'm trying to make the EMBT DBBitType example program work but I obviously have something missing or not connected properly. Does anybody have a working copy of this example? http://docwiki.embarcadero.com/CodeExamples/Tokyo/en/DBBitType_(Delphi)

Git: Learning and Streamlining…

Git: Learning and Streamlining… http://www.davidghoyle.co.uk/WordPress/?p=1899 http://www.davidghoyle.co.uk/WordPress/?p=1899

I needed a small utility to move by one click

I needed a small utility to move by one click from one directory to the other. So i made one it mite help you too. http://limelect.com/downloads/explorer-list/ http://limelect.com/downloads/explorer-list/

Does anyone know if a TreeMap structure is available in Delphi 10.2 ?

Does anyone know if a TreeMap structure is available in Delphi 10.2 ? I am looking for that kind of structure mainly to be able to answer this question : "Which element in this collection is the closest to this one?".

firemonkey tcombobox .

firemonkey tcombobox . I am using Berlin AnniversaI select a user name from the list, but I actually want the user id that is associated with the underlying record in the dataset. How can I find the userid of the selected record.
firemonkey tcombobox . I am using Berlin AnniversaI select a user name from the list, but I actually want the user id that is associated with the underlying record in the dataset. How can I find the userid of the selected record.

http://boldfordelphi.blogspot.fi/2018/02/validation-of-data.html

http://boldfordelphi.blogspot.fi/2018/02/validation-of-data.html

This has nothing whatever to do with Delphi, but I think it's pretty cool. It reminds me of back in the 90's when there were linkers that let you split DOS apps up into different overlays so your programs would take up far less RAM.

This has nothing whatever to do with Delphi, but I think it's pretty cool. It reminds me of back in the 90's when there were linkers that let you split DOS apps up into different overlays so your programs would take up far less RAM. I'm betting it's only a matter of time before we see js-enabled web app development supported directly in Delphi, and stuff like this might be helpful again (for a while). https://www.smashingmagazine.com/2018/02/code-splitting-wordpress-pop/ https://www.smashingmagazine.com/2018/02/code-splitting-wordpress-pop/

Need compiler support ISOLATION_AWARE_ENABLED so that DLL can use independent common control version instead of...

Image
Need compiler support ISOLATION_AWARE_ENABLED so that DLL can use independent common control version instead of follow the host app. https://quality.embarcadero.com/browse/RSP-19997

Need compiler support ISOLATION_AWARE_ENABLED so that DLL can use independent common control version instead of follow the host app.

Image
Need compiler support ISOLATION_AWARE_ENABLED so that DLL can use independent common control version instead of follow the host app. https://quality.embarcadero.com/browse/RSP-19997

Need Multiple UI Threads support In VCL&FMX

Image
Need Multiple UI Threads support In VCL&FMX https://quality.embarcadero.com/browse/RSP-19996

Blogged - Continua CI and TLS 1.2

Blogged - Continua CI and TLS 1.2 https://www.finalbuilder.com/resources/blogs/postid/761/continua-ci-and-tls-12

Still no improvement on render performance of FMX. :(

Still no improvement on render performance of FMX. :( Very slow compared to Web and native app. https://quality.embarcadero.com/browse/RSP-15865 https://quality.embarcadero.com/browse/RSP-15865

Delphi with Firemonkey! The Best!

Delphi with Firemonkey! The Best! https://youtu.be/AtLHN2S19nI https://youtu.be/AtLHN2S19nI

hello

hello, perhaps somebody has a poll about the most used Delphi XE* version around? Actually I have the license of 10.2 tokio. (I ask this bcz I like to release a little app helper for Delphi, but I don't have time to recompile libraries for the whole D versions around...) thanks

Hi to ALL!

Hi to ALL! Does anybody have FIBplus for Tokyo 10.2.2? I can't find it!

TMS RADical WEB: History, the team and future

Image
TMS RADical WEB: History, the team and future https://www.tmssoftware.com/site/blog.asp?post=442

Migrating an app from D7 to DX10.

Migrating an app from D7 to DX10.2, we've got a bunch of instances where the app is loading up GIF images to buttons and panels and whatnot in the main form's OnCreate method, and they're all throwing an exception "Invalid GIF signature". From what I can tell this is coming from a standard VCL library, VCL.Images. Has anybody ever run into this and willing to share how they resolved it?
Migrating an app from D7 to DX10.2, we've got a bunch of instances where the app is loading up GIF images to buttons and panels and whatnot in the main form's OnCreate method, and they're all throwing an exception "Invalid GIF signature". From what I can tell this is coming from a standard VCL library, VCL.Images. Has anybody ever run into this and willing to share how they resolved it?

http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SyncObjs.TLightweightSemaphore.Create

http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SyncObjs.TLightweightSemaphore.Create Please simply explain to me the parameters of this constructor, especially first, AInitialCount. http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SyncObjs.TLightweightSemaphore.Create

TMS RADical WEB: Debugging your code

Image
TMS RADical WEB: Debugging your code https://www.tmssoftware.com/site/blog.asp?post=441

HI all. Need some help

HI all. Need some help this code works OK in windows. but not on OSX (unauthorised error) procedure TForm131.Button1Click(Sender: TObject); var i:integer; tempstr,tempstr2,tempstr3,accesstoken:string; lData: TStringStream; aHeader: TURIParameters; Return: IHTTPResponse; begin accesstoken:='c.3Z8l4Nh6AbWS71W5PW7sw711M5FlTuHLZSr2h41yZfw5HPy17jAiWAKXI5e68q7I5IGrlaHrrSm1hzw9I3DuQ4S9vmprwozVJUq3vauPWxrcHabfN1c5bADXnTIRVhLfqpVvLMlItfaRLgEM'; try lData := TStringStream.Create(); NetHTTPClient1.ContentType:='application/json'; NetHTTPClient1.CustomHeaders['Authorization'] := 'Bearer '+accesstoken; try Return :=NetHTTPClient1.get(' https://developer-api.nest.com ', lData); showmessage(Return.ContentAsString()); except on E: exception do memo1.lines.add(e.message); end; finally lDa

Note to self: DON’T delete empty directories…

Note to self: DON’T delete empty directories… http://www.davidghoyle.co.uk/WordPress/?p=1894 http://www.davidghoyle.co.uk/WordPress/?p=1894
Does anyone know when they added the "result" keyword for function return values? I'm asking because we have some very old code (some of it written in the 80's), that passes back the function value using the function name, and it drives me nuts (especially since I'm also renaming some of these function names ).

Service Applications - Windows vs Linux.

Service Applications - Windows vs Linux. Coming from Free Pascal, a Windows Service or Unix Daemon application is a 100% non-visual application with no GUI dependencies. In Delphi XE3, the TServiceApplication (Vcl.SvcMgr.pas unit) has loads of references to Forms, Dialogs and such . That's a pretty terrible design. Anybody with a Delphi version that supports Linux, did Embarcadero clean up the TServiceApplication class to be 100% non-GUI? Otherwise, how do they expect someone to develop a Linux Daemon that runs on a truly headless server? I'm very curious to know how Delphi for Linux fixes this - hopefully like what Free Pascal does - 100% non-GUI, otherwise Delphi for Linux is going to be pretty useless in the server environment.

Meet a new version of EntityDAC - an ORM solution for Delphi with LINQ support. This version supports for using TGUID as an entity key or as an expression argument.

Meet a new version of EntityDAC - an ORM solution for Delphi with LINQ support. This version supports for using TGUID as an entity key or as an expression argument. Here is a full list of improvements and new features https://buff.ly/2Fjuvvf https://buff.ly/2Fjuvvf

Hello

Hello, How many times have you a warning H2077 for an unused value on a line with the comment "make compiler happy" ? :D I spend a lot of time to have 0 warning on my projects...and it's painful when a new version change things like that :(

TMS RADical WEB: Using common web functionality & consuming cloud services

Image
TMS RADical WEB: Using common web functionality & consuming cloud services http://www.tmssoftware.com/site/blog.asp?post=440

Yo

Yo, Does anyone have idea is it possible, and/or how to, detect if app is running in Compatibility mode. As bonus which mode is set to run in.

Watching the Craig Chapman - DarkGlass game engine streams.

Watching the Craig Chapman - DarkGlass game engine streams. Really good information for people that would like to learn new things in delphi. Currently on the 4th stream - https://www.youtube.com/watch?v=5yjUDTLVe4k https://www.youtube.com/watch?v=5yjUDTLVe4k

Some news from my Delphi blog :)

Some news from my Delphi blog :) https://medium.com/@Zawuza/my-blog-is-slowly-growing-ddc2df8b858

New update for FirePower 10 (10.2.7). For a list of changes, see https://www.woll2woll.com/firepower-revisions

New update for FirePower 10 (10.2.7). For a list of changes, see https://www.woll2woll.com/firepower-revisions https://www.woll2woll.com/firepower-revisions

http://www.diggets.com/

http://www.diggets.com/ http://www.diggets.com/

Playing around with Berlin 10.1 and discovered what I almost feel is a compiler bug

Playing around with Berlin 10.1 and discovered what I almost feel is a compiler bug unit Unit3; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs; type TTestClass = class public constructor Create(const aMessage: String); procedure Proc(const aMessage: String); function Func(const aMessage: String): Boolean; end; TForm3 = class(TForm) procedure FormCreate(Sender: TObject); private fTest: TTestClass; { Private declarations } public { Public declarations } end; var Form3: TForm3; implementation {$R .dfm} procedure TForm3.FormCreate(Sender: TObject); begin fTest := TTestClass.Create('Create Class'); fTest.Proc('Call proc'); fTest.Func('Call func'); end; constructor TTestClass.Create { (const aMessage: String) This line can be commented out }; begin ShowMessage(aMessage); end; procedure TTestClass.Proc { (c

Hi folks

Hi folks, I'm failing to find a config setting on Delphi XE3 IDE, I guess an incorrect shortcut caused this behavior: every time a file is saved, the IDE automagically compiles and run the active project, which is annoying. Could be a setting of CNPack or GExperts which are also installed ?

TMS RADical WEB: using HTML & CSS for design & layout of your application pages

Image
TMS RADical WEB: using HTML & CSS for design & layout of your application pages https://www.tmssoftware.com/site/blog.asp?post=439

I am developing middleware services and would like to externalize all dynamic SQL from the service code.

I am developing middleware services and would like to externalize all dynamic SQL from the service code. This is in the context of a migration from 2-Tier architecture to 3-Tiers. One of the issues I am facing is that the original code is "polluted" with loads of dynamic SQL strings, which most of the time correspond to where clauses. Sometimes the same queries are repeated over and over again with only slight variations in the where clause. I want to remove the SQL strings from the code altogether, and instead use a templating engine such as SynMustache to generate the dynamic SQL. From my understanding, SynMustache templates can be compiled ahead of time, so the performance hit should be minimal. Is this the right way to go? Any advicee on this? Edit : To refocus the discussion from "it's not necessary" to "how to accomplish this in Delphi". I am a developer with a strong Java background. In the Java world you have a framework called MyBatis, which p

I am developing middleware services and would like to externalize all dynamic SQL from the service code. This is in the context of a migration from 2-Tier architecture to 3-Tiers. One of the issues I am facing is that the original code is "polluted" with loads of dynamic SQL strings, which most of the time correspond to where clauses. Sometimes the same queries are repeated over and over again with only slight variations in the where clause. I want to remove the SQL strings from the code altogether, and instead use a templating engine such as SynMustache to generate the dynamic SQL. From my understanding, SynMustache templates can be compiled ahead of time, so the performance hit should be minimal. Is this the right way to go? Any advicee on this?

I am developing middleware services and would like to externalize all dynamic SQL from the service code. This is in the context of a migration from 2-Tier architecture to 3-Tiers. One of the issues I am facing is that the original code is "polluted" with loads of dynamic SQL strings, which most of the time correspond to where clauses. Sometimes the same queries are repeated over and over again with only slight variations in the where clause. I want to remove the SQL strings from the code altogether, and instead use a templating engine such as SynMustache to generate the dynamic SQL. From my understanding, SynMustache templates can be compiled ahead of time, so the performance hit should be minimal. Is this the right way to go? Any advicee on this? Edit : To refocus the discussion from "it's not necessary" to "how to accomplish this in Delphi". I am a developer with a strong Java background. In the Java world you have a framework called MyBatis, which p
I need to add to the REST server the ability to send emails with attachments of different types. Which library is best to use? Indy or maybe ICS? Of course with SSL/TLS support.

We’ve got a bunch of requests to continue development of TurboCocoa - and now it is back with supporting of latest RAD Studio and modern Android Studio 3. TurboCocoa is a set of tools for Delphi developers, who can create applications with true native UI for iOS/macOS/Android with Embarcadero Delphi.

We’ve got a bunch of requests to continue development of TurboCocoa - and now it is back with supporting of latest RAD Studio and modern Android Studio 3. TurboCocoa is a set of tools for Delphi developers, who can create applications with true native UI for iOS/macOS/Android with Embarcadero Delphi. More Info at: http://www.turbococoa.com https://youtu.be/m9qXpKw0AFI

The weekly Delphi podcast is on today, not Tuesday - in an hour! Join Jim, Craig and me to discuss our favourite programming books.

The weekly Delphi podcast is on today, not Tuesday - in an hour! Join Jim, Craig and me to discuss our favourite programming books . https://www.youtube.com/watch?v=AGqkBEmrITY https://www.youtube.com/watch?v=AGqkBEmrITY

Hi folks

Hi folks, PyScripter is still looking for translators. We haven't found a translator yet for the following languages: French, Italian, Japanese, Kabyle, Portuguese, Russian and Slovak. Apart from Portuguese the other languages are more than 80% finished, so it should be only a few hours work to bring them up to date. If you'd like to help, please go to: https://www.transifex.com/luebbe/pyscripter/languages/ and join one (or more) of our language teams. https://www.transifex.com/luebbe/pyscripter/languages/

Also the young Delphi developers are already hooked to TMS WEB Core for web development. Leon Kassebaum, only 17 years old, started a video blog series about TMS WEB Core and here is the first episode.

Image
Also the young Delphi developers are already hooked to TMS WEB Core for web development. Leon Kassebaum, only 17 years old, started a video blog series about TMS WEB Core and here is the first episode. https://www.youtube.com/watch?v=mKxjHcZM9g0

Test case management

Image
Test case management What kind of test case management tools do you use? I am primarily looking for enterprise level tools that support large teams and multiple concurrent projects / test plans, both for automated and manual testing, and that integrates well with other tools, such as Jira.

TMS RADical WEB: open to other Javascript frameworks

Image
TMS RADical WEB: open to other Javascript frameworks https://www.tmssoftware.com/site/blog.asp?post=438
When developing a application for android I need to display a form and collect the results into 2 variables that exist outside of the form which might be used to launch another form. They say I should not use the showmodal method with a procedure anymore. Can somebody give me an example as to how to best handle this now in Firemonkey android. If the user clicks a certain button I need to be able to launch another form after closing the current form. If the user does not click this button the application will return to the previous form. Well in either case the application returns to the previous form.

TIP: Typing long strings in the editor using Enter to auto-continue to the next line. Type first line and before typing the closing apostrophe, press Enter.

Image
TIP: Typing long strings in the editor using Enter to auto-continue to the next line. Type first line and before typing the closing apostrophe, press Enter.

I filed QP report requesting additional optimizations of RTL and FMX frameworks for ARC compiler.

I filed QP report requesting additional optimizations of RTL and FMX frameworks for ARC compiler. This is rather simple optimization I have previously blogged about, and it involves removing unnecessary reference counting during collection iterations. It is kind of a dirty hack - in terms of making code uglier (not too much), but it is safe and doable. Also it does not have to be applied to all code at once. If you are interested in squeezing more speed please vote for it :) https://quality.embarcadero.com/browse/RSP-19924 Also, if anyone knows about some particular piece of code in Delphi frameworks code that should be optimized because he knows it represents a bottleneck, please file it as separate report as this one is rather general one and it can take time to be applied to all the places where it could be. https://quality.embarcadero.com/browse/RSP-19924

Hello

Hello, Exists any component for advertising (adwords) ? under ios and android too ? Thank you
How can I assign a doubleclick event to a tgrid in a firemonkey berlin application.

We’re having a problem with the Delphi IDE running in Parallels Desktop (Berlin but it’s the same on Tokyo) and...

We’re having a problem with the Delphi IDE running in Parallels Desktop (Berlin but it’s the same on Tokyo) and wonder if anyone knew of a workaround or config change that fixes it? When we scroll down with a gesture on the MacBook trackpad or Magic Mouse, it scrolls straight to the bottom of the editor. Scrolling up is fine, and it doesn’t do this in Bootcamp so assume it’s related to Parallels. I don’t have this problem with any other application either which is odd, yet both me and my coworker have the same problem on different machines. I guess this must be a pretty common setup so wonder if anyone else has had this and managed to fix it?

We’re having a problem with the Delphi IDE running in Parallels Desktop (Berlin but it’s the same on Tokyo) and wonder if anyone knew of a workaround or config change that fixes it?

We’re having a problem with the Delphi IDE running in Parallels Desktop (Berlin but it’s the same on Tokyo) and wonder if anyone knew of a workaround or config change that fixes it? When we scroll down with a gesture on the MacBook trackpad or Magic Mouse, it scrolls straight to the bottom of the editor. Scrolling up is fine, and it doesn’t do this in Bootcamp so assume it’s related to Parallels. I don’t have this problem with any other application either which is odd, yet both me and my coworker have the same problem on different machines. I guess this must be a pretty common setup so wonder if anyone else has had this and managed to fix it?

Now also with ISAPI REST server support.

Now also with ISAPI REST server support. http://c4d.asuscomm.com/wordpress/2018/02/17/kbmmw-pro-ent-v-5-05-10-and-kbmmemtable-std-pro-v-7-78-10-released/

I am looking for a library enabling me to serialize/deserialize plain Delphi objects (podos) from and to JSON.

I am looking for a library enabling me to serialize/deserialize plain Delphi objects (podos) from and to JSON. Some of my requirements: - Fast: I am going to use this library to build RESTful services. - Configurable through annotations of Delphi classes in order to control the generated JSON. - Automatic mapping (deserialization) of JSON to the corresponding Delphi class. - Support for all standard JSON types.

I am looking for a library enabling me to serialize/deserialize plain Delphi objects (podos) from and to JSON. Some of my requirements:

I am looking for a library enabling me to serialize/deserialize plain Delphi objects (podos) from and to JSON. Some of my requirements: - Fast: I am going to use this library to build RESTful services. - Configurable through annotations of Delphi classes in order to control the generated JSON. - Automatic mapping (deserialization) of JSON to the corresponding Delphi class. - Support for all standard JSON types.

It was just me being stupid and not checking my version, because the description of the patch clearly states:

It was just me being stupid and not checking my version, because the description of the patch clearly states: This patch for RAD Studio 10.2.2 (build 2004 — it won’t work on build 1978) resolves some compatibility issues in the RTL and fixes a problem with Android animations. It is designed to be installed only on top of an existing RAD Studio 10.2.2 Tokyo installation. I downloaded and installed the correct version and the patch worked fine.

I'm rather surprised at the number of Hints and Warnings I'm seeing from the 10.

I'm rather surprised at the number of Hints and Warnings I'm seeing from the 10.2 compilers that are from standard VCL units. Historically, such things have been quite rare. At the moment, I'm getting several of these: [dcc32 Warning] Vcl.WinHelpViewer.pas(70): W1025 Unsupported language feature: 'custom attribute' I also see a lot of these types of H2443 hints: [dcc32 Hint] : H2443 Inline function 'TList.Extract' has not been expanded because unit 'System.Types' is not specified in USES list I've got a project that generates several dozen various hints and warnings, all pointing to standard VCL units. What's up with this?

I'm rather surprised at the number of Hints and Warnings I'm seeing from the 10.2 compilers that are from standard VCL units. Historically, such things have been quite rare.

I'm rather surprised at the number of Hints and Warnings I'm seeing from the 10.2 compilers that are from standard VCL units. Historically, such things have been quite rare. At the moment, I'm getting several of these: [dcc32 Warning] Vcl.WinHelpViewer.pas(70): W1025 Unsupported language feature: 'custom attribute' I also see a lot of these types of H2443 hints: [dcc32 Hint] : H2443 Inline function 'TList.Extract' has not been expanded because unit 'System.Types' is not specified in USES list I've got a project that generates several dozen various hints and warnings, all pointing to standard VCL units. What's up with this?

Title

Image

Some time ago I posted a localization component/tool that I've created but it had some issues. I've fixed them all and it's available on github!

Some time ago I posted a localization component/tool that I've created but it had some issues. I've fixed them all and it's available on github! https://github.com/albertodev01/TLanguages You can find everything in the readme of the repo. Basically there is an editor that creates a json file with the localized strings and then this file has to be loaded as resource in the project. In this way the apposite component will be able to localize the strings. I'm not an expert so this may not be the best approach but I'm using this for my projects and it fits my needs. I have taken inspiration from Qt (C++ side) that uses a localization tool called Qt Linguist in which it creates an xml file and then it's loaded in the project as resource. https://github.com/albertodev01/TLanguages

Petra 2 released, contains better code generation, dark theme, support for Xamarin on iOS, macOS and Android

Petra 2 released, contains better code generation, dark theme, support for Xamarin on iOS, macOS and Android www.applyingcode.com http://www.applyingcode.com

TMS RADical WEB: revolutionary & innovative UI control set

Image
TMS RADical WEB: revolutionary & innovative UI control set https://www.tmssoftware.com/site/blog.asp?post=436

TMS software team member & Embarcadero MVP Roman Kassebaum on developing on & with TMS WEB Core:

Image
TMS software team member & Embarcadero MVP Roman Kassebaum on developing on & with TMS WEB Core: http://blog.kassebaum.eu/?p=625

Blog post "RAD Studio 10.

Blog post "RAD Studio 10.2.2 Tokyo February 2018 Patch Re-Released" at http://blog.marcocantu.com/blog/2018-february-1022-tokyo-patch-re-released.html http://blog.marcocantu.com/blog/2018-february-1022-tokyo-patch-re-released.html

Blog post "RAD Studio 10.2.2 Tokyo February 2018 Patch Re-Released" at http://blog.marcocantu.com/blog/2018-february-1022-tokyo-patch-re-released.html

Blog post "RAD Studio 10.2.2 Tokyo February 2018 Patch Re-Released" at http://blog.marcocantu.com/blog/2018-february-1022-tokyo-patch-re-released.html http://blog.marcocantu.com/blog/2018-february-1022-tokyo-patch-re-released.html

VALENTINE & PostgresDAC 3.4.3 is out

Image
VALENTINE & PostgresDAC 3.4.3 is out Microolap Technologies is pleased to announce the availability of PostgresDAC 3.4.3. This new minor version introduces support for the latest PostgreSQL 10.2. Take a 30% discount on any of our products and subscriptions! Just use #VALENTINE code on any order page. http://microolap.com/products/connectivity/postgresdac/

A good QA tool for Delphi 64 (and Linux maybe)?

A good QA tool for Delphi 64 (and Linux maybe)? In my opinion embarcadero should buy Sleuth CodeWatch from NexusDB, a great piece of software of Per Larsen, and port it to ARC compilers too. What's in your opinion to include a default QA tool within Delphi?

FastReport VCL 6 is still in beta. New version carries brand new features and much wider opportunities for reporting in your application.

FastReport VCL 6 is still in beta. New version carries brand new features and much wider opportunities for reporting in your application. For example, new report engine: New architecture allows to build complicated interactive reports and complicated objects editors which can be used in both the report designer and preview. With new object editors users can edit some objects of prepared report with the report designer. To showcase how the new functionality will make your reports better, we have prepared several articles that will demonstrate how the new features work. How to edit a report in the preview mode in Fast Report VCL 6 - https://www.fast-report.com/en/blog/193/show/ https://www.fast-report.com/en/blog/193/show/

First building block of TMS RADical WEB: TMS WEB Core.

Image
First building block of TMS RADical WEB: TMS WEB Core. Exclusively for TMS ALL-ACCESS user, a technology preview of TMS WEB Core https://www.tmssoftware.com/site/blog.asp?post=434

TMS RADical Web pillars!

Image
TMS RADical Web pillars!

TMS RADical WEB, RAD web development from the Delphi IDE

Image
TMS RADical WEB, RAD web development from the Delphi IDE https://www.tmssoftware.com/site/blog.asp?post=435

I have a question about the use of branches in GIT. I've been working on a small project to migrate my JEDI VCS version control information to GIT and while writing the application I've tried to embrace some of the GitFlow ideas (branches for master, development, features, bugs, etc).

I have a question about the use of branches in GIT. I've been working on a small project to migrate my JEDI VCS version control information to GIT and while writing the application I've tried to embrace some of the GitFlow ideas (branches for master, development, features, bugs, etc). So far, once I've finished with a sub-branch for a bug or feature I've merged it into the development branch and then deleted the branch from the GIT repo. I wondered on the train this morning as to whether there is any benefit from leaving these branches in the system as flags for when changes were introduced. I know GIT can do tags - would that be a better mechanism? Does anyone have an opinion on this?

Exciting RAD Studio Developments in 2018

https://community.embarcadero.com/blogs/entry/exciting-rad-studio-developments-in-2018#.WoVHX8M9m2A.google_plusone_share

Is it a bug ? TextWidth('Hello') + TextWidth('World') TextWidth('HelloWorld');

Is it a bug ? TextWidth('Hello') + TextWidth('World') <> TextWidth('HelloWorld'); in a FMX application under Windows with an Italic font procedure TForm1.FormPaint(Sender: TObject; Canvas: TCanvas; const ARect: TRectF); var TextLayout: TTextLayout; w1, w2, w3: Single; begin TextLayout := TTextLayoutManager.DefaultTextLayout.Create(Canvas); TextLayout.Font.Family := 'Arial'; TextLayout.Font.Style := [TFontStyle.fsItalic]; TextLayout.Text := 'Hello'; w1 := TextLayout.TextWidth; TextLayout.Text := 'World'; w2 := TextLayout.TextWidth; TextLayout.Text := 'HelloWorld'; w3 := TextLayout.TextWidth; TextLayout.Free; Memo1.Lines.Add('TextWidth(Hello) = ' + FloatToStrF(w1, TFloatFormat.ffFixed, 15, 2)); Memo1.Lines.Add('TextWidth(World) = ' + FloatToStrF(w2, TFloatFormat.ffFixed, 15, 2)); Memo1.Lines.Add('TextWidth(HelloWord) = ' + FloatToStrF(w3, TFloatFormat.ffFixed, 15, 2));

Game Changer

Game Changer https://www.tmssoftware.com/site/tmswebcoreintro.asp https://www.tmssoftware.com/site/tmswebcoreintro.asp

With next release, kbmMW REST servers will be able to be hosted under Microsoft Internet Information Server by compiling the REST server as an ISAPI dll.

With next release, kbmMW REST servers will be able to be hosted under Microsoft Internet Information Server by compiling the REST server as an ISAPI dll. This blog explains how to make such a dll, how to setup IIS under Win10 to be able to run it, and how to debug it from within Delphi. http://c4d.asuscomm.com/wordpress/2018/02/15/rest-easy-with-kbmmw-11-hosting-using-internet-information-server-isapi/
Happy Birthday to Delphi for a great 23 years and many more to come!
Notes on TJSONIterator.Find

Blog post "Delphi 23 and Delphi 10.2.3" at http://blog.marcocantu.com/blog/2018-february-delphi-23.html

Blog post "Delphi 23 and Delphi 10.2.3" at http://blog.marcocantu.com/blog/2018-february-delphi-23.html http://blog.marcocantu.com/blog/2018-february-delphi-23.html

Strange one. Now I have been using TOpenDialog since Delphi 1, now I have an app where when OpenDialog1.Execute is called (or TFileOpen action is used) the dialog doesn't open, in fact it just hangs.

Strange one. Now I have been using TOpenDialog since Delphi 1, now I have an app where when OpenDialog1.Execute is called (or TFileOpen action is used) the dialog doesn't open, in fact it just hangs. Can't recreate it in a sample app and seems to work elsewhere ok. VCL, Seattle, Windows 10 Any ideas? Thanks

Originally shared by Primož Gabrijelčič

Originally shared by Primož Gabrijelčič Communicating with TThread with standard Delphi RTL.

TIL: To run the offline .Net 3.5 Installer on Windows 10, you need to install .Net 3.5 first

TIL: To run the offline .Net 3.5 Installer on Windows 10, you need to install .Net 3.5 first FU MS!

All Android App works well, but i have a strange issue with Open Sans font on Android 5 Lollipop (industrial distro).

Image
All Android App works well, but i have a strange issue with Open Sans font on Android 5 Lollipop (industrial distro). Some labels presents fonts misaligned like in the picture (date time fields are two labels one for date and one for time)

[Fatal error] F2084 Internal error : AV101E53EB-R0000000C-0

[Fatal error] F2084 Internal error : AV101E53EB-R0000000C-0 I'm getting this when trying to do some code completion. Any idea ?

Update of the plans for 2018, including a new release of Tokyo (10.2.3):

Update of the plans for 2018, including a new release of Tokyo (10.2.3): https://community.embarcadero.com/blogs/entry/exciting-rad-studio-developments-in-2018 https://community.embarcadero.com/blogs/entry/exciting-rad-studio-developments-in-2018

I have installed Rad Studio Tokio Enterprise 10.2.2 on a new virtual machine from the iso downloaded from emb.

I have installed Rad Studio Tokio Enterprise 10.2.2 on a new virtual machine from the iso downloaded from emb. But i don't find source files of FMX and VCL inside the path where Rad Studio is installed... In Rad Studio Seattle i got that files in : c:\Program Files (x86)\Embarcadero\Studio\17.0\source\ But in c:\Program Files (x86)\Embarcadero\Studio\19.0\source\ there aren't what i wrong? thanks all
Does anyone know if Jedi will be available for RAD Studio 10.2.2 (Tokyo)?

New release of the fastest and most feature rich memory table on the face of earth for Delphi and C++Builder.

New release of the fastest and most feature rich memory table on the face of earth for Delphi and C++Builder. http://c4d.asuscomm.com/wordpress/2018/02/11/kbmmemtable-v-7-78-00-standard-and-professional-edition-released/

Amongst many other things... kbmMW Linq support in Enterprise Edition!

Amongst many other things... kbmMW Linq support in Enterprise Edition! http://c4d.asuscomm.com/wordpress/2018/02/11/ann-kbmmw-professional-and-enterprise-edition-v-5-05-00-released/

With CrossVcl 0.99m you can also compiles my (work in progress) implemention of TRichView for Windows, under Linux and OSX

With CrossVcl 0.99m you can also compiles my (work in progress) implemention of TRichView for Windows, under Linux and OSX https://github.com/tothpaul/Delphi/tree/master/RichView https://github.com/tothpaul/Delphi/tree/master/RichView

I'm glad to announce first revision of fork of SynEdit for CrossVcl. It requires CrossVcl 0.99m. Works both on macOS and Linux (and of course on Windows).

Image
I'm glad to announce first revision of fork of SynEdit for CrossVcl. It requires CrossVcl 0.99m. Works both on macOS and Linux (and of course on Windows). More info at: https://github.com/eugenekryukov/SynEdit CrossVcl: http://www.crossvcl.com

How to run .apk on genymotion emulator, i need test it on android 7

Image
How to run .apk on genymotion emulator, i need test it on android 7, trying google, some body suggest to uncheck libnativeactivity.so but not working, tyring different uncheck x86/armeabi not working too, still on Delphi Seattle

Sad to read this from Jeroen Wiert Pluimers

Sad to read this from Jeroen Wiert Pluimers https://wiert.me/2018/02/11/do-not-download-the-embarcadero-patch-for-rad-studio-10-2-2/#comment-408479 https://wiert.me/2018/02/11/do-not-download-the-embarcadero-patch-for-rad-studio-10-2-2/#comment-408479

Hello

Hello, do you know if exists a good Delphi library for ILP (integer linear programming) optimization? Thanks

Hello!

Hello! I have recently written a bunch of articles about Generics. You can find them here: https://www.linkedin.com/in/andrearaimondi/detail/recent-activity/posts/

Question:

Question: I have an interface-based timer (see code below). Is it safe to use it like this? var ATimer : ITimer; ATimer := TTimer.Create(100); ATimer.Start(procedure begin // Do something ATimer.Stop; ATimer := nil; // This will destroy the timer object. Bad idea? end;) It works well but I suspect it is not safe. ========================================== ITimer = interface(IInvokable) ['{1C06BCF6-1C6D-473E-993F-2B231B17D4F5}'] function Start(const Action: TProc): ITimer; function Stop: ITimer; end; { ITimer implementation } type TTimer = class(TInterfacedObject, ITimer) private var FTimer: VCL.ExtCtrls.TTimer; FAction: TProc; private procedure RunAction(Sender: TObject); public constructor Create(const Interval: Cardinal); destructor Destroy; override; class function New(const Interval: Cardinal): ITimer; function Start(const Action: TProc): ITimer; function Stop: ITimer; end; { TTime

Delphi Cookbook 2nd Edition is free on Packt free learning site for another 21 hours. https://www.packtpub.com/packt/offers/free-learning

Delphi Cookbook 2nd Edition is free on Packt free learning site for another 21 hours. https://www.packtpub.com/packt/offers/free-learning https://www.packtpub.com/packt/offers/free-learning

I have decided to create a root finding library (equation solver) for Delphi since I wasn't able to find one online.

I have decided to create a root finding library (equation solver) for Delphi since I wasn't able to find one online. https://github.com/albertodev01/TEquation I see that there isn't a lot of maths stuff around for Delphi so I've decided to create this and in the future I'd like to create a system solver with the most common algorithms. This isn't something that you use very often but in case you'll ever need this you can look at here! Actually it's a porting from a C++ project I'm doing right now for the graduation project at university. I am busy with it but once I'll have finished (I hope very soon!) I'll be able to improve the Delphi library and maybe add more root finding algorithms and documentation. https://github.com/albertodev01/TEquation

Continuing on the previous LINQ post, I’ll in this post show how to return an object instance or a list of objects as result from a LINQ operation using kbmMW Linq.

Continuing on the previous LINQ post, I’ll in this post show how to return an object instance or a list of objects as result from a LINQ operation using kbmMW Linq. http://c4d.asuscomm.com/wordpress/2018/02/10/kbmmw-linq-1-2/
Do you use "Align with margins" and if yes, what are the usual margins?

RAD Studio 10.2.2 Tokyo February 2018 Patch available now at

RAD Studio 10.2.2 Tokyo February 2018 Patch available now at https://cc.embarcadero.com/item/30819 . This patch for RAD Studio 10.2.2 (build 2004) resolves some compatibility issues in the RTL and fixes a problem with Android animations. It is designed to be installed only on top of an existing RAD Studio 10.2.2 Tokyo installation. https://cc.embarcadero.com/item/30819
I use FastMM. I have a Pointer type variable that points to the allocated memory. Is it possible to read how much memory is allocated at the address of this Pointer?

hi

Image
hi, i try to use intersectwith function that to know 2 components intersected. the function is work good when component angles equal to zero but when i rotate the components its not working correctly. The picture, intersectionwith function result is true but actually they dont intersected. Help please thx,

I'm curious.

I'm curious. Do you sell a software product of your own making? Do you operate it as a business? I ask because I do both of the above, I've got some challenges and would like to seek some advice.

A blog post serie about some of the smaller, but interesting and useful, features in kbmMW. This time about the TkbmMWPrettyBinary class.

A blog post serie about some of the smaller, but interesting and useful, features in kbmMW. This time about the TkbmMWPrettyBinary class. http://c4d.asuscomm.com/wordpress/2018/02/08/kbmmw-features-1-pretty-binary/

ANN: StyleControls VCL v. 3.90 released!

Image
ANN: StyleControls VCL v. 3.90 released! http://www.almdev.com StyleControls is a stable, powerfull package (more than 100 components), which uses Classic drawing, system Themes, GDI+ and VCL Styles. This package contains the unique solutions to extend standard VCL controls and also has many unique, advanced controls to create modern applications (UWP design). Also with this package you can really improve applying and using of VCL Styles in your application. What's new: • improved: High-DPI support • improved: VCL Styles support • updated: High-DPI demos On the pictures you can see fully custom form (TForm.BorderStyle=bsNone). Form has native system shadow! Form, controls, all images in controls can support any DPI (125%-300%). In the title you can see TscGPGlyphButton controls with vector images. This button has 100+ build-in vector images. Demo works fine with and without VCL Styles! Link to High-DPI demos: http://www.almdev.com/prods/stylecontrols/files/schidpidemo.zip

Single or nested try...finally blocks?

Single or nested try...finally blocks? None will prevent the memory leak if your destructors are broken. http://dalijap.blogspot.com/2018/02/exceptional-safety.html

In the last weeks/months, we worked a lot with FPC, especially targeting Linux. In this link, some details about the latest commits, and some reasons why we can't afford to support the Delphi Linux compiler - sadly.

In the last weeks/months, we worked a lot with FPC, especially targeting Linux. In this link, some details about the latest commits, and some reasons why we can't afford to support the Delphi Linux compiler - sadly. Delphi is still our main IDE, due to its better debugging experience under Windows, but we target to have premium support of FPC, on all platforms, especially Linux. Now our Open Source mORMot framework offers a strong and efficient solution to write SOA / MVC / ORM applications using FPC and Lazarus, with a wide platform support. We still like and support Delphi, but mostly as IDE. The framework will for sure continue to work with Delphi, but we wanted to be open and not coupled to a single compiler. http://blog.synopse.info/post/2018/02/07/mORMot-ORM-SOA-MVC-with-FPC

New series of blog articles around the Pascal/Delphi language, brought by Marcos Douglas B. Santos for tmssoftware.com :

New series of blog articles around the Pascal/Delphi language, brought by Marcos Douglas B. Santos for tmssoftware.com : Check the first article about the Exit() statement https://www.tmssoftware.com/site/blog.asp?post=432 https://www.tmssoftware.com/site/blog.asp?post=432

CrossVcl 0.99l just released. Start building macOS and Linux VCL apps with Embarcadero Delphi and CrossVcl. Main and Popup menus fully implemented, with actions updating (new Menus demo). Special price for life-time personal license before 1.0 release.

Image
CrossVcl 0.99l just released. Start building macOS and Linux VCL apps with Embarcadero Delphi and CrossVcl. Main and Popup menus fully implemented, with actions updating (new Menus demo). Special price for life-time personal license before 1.0 release. What's new: http://crossvcl.com/history.html More Info: http://www.crossvcl.com

I like the new dark IDE theme, except for one thing - the colours of the active editor tab.

I like the new dark IDE theme, except for one thing - the colours of the active editor tab. It is white on dark gray, which is barely distinguishable from the white on black non-selected tabs. Browsing around, I haven't yet lucked upon a setting to change this. Is there such a setting?

I like the new dark IDE theme, except for one thing - the colours of the active editor tab. It is white on dark gray, which is barely distinguishable from the white on black non-selected tabs. Browsing around, I haven't yet lucked upon a setting to change this. Is there such a setting?

I like the new dark IDE theme, except for one thing - the colours of the active editor tab. It is white on dark gray, which is barely distinguishable from the white on black non-selected tabs. Browsing around, I haven't yet lucked upon a setting to change this. Is there such a setting?

Hi

Hi, I’m looking for a Delphi programmer who can help us on part time, paid per hour for modifying and maintaining an existing Delphi 2006/07 code. We also use DevExpress. Within some months from now, we want to start moving the application to a new platform, and to further develop the application. Then we plan to start building the development team. We are located in Norway, and are seeking a local developer for the moment.

How to log to a database using kbmMW's logging framework and kbmMW ORM.

How to log to a database using kbmMW's logging framework and kbmMW ORM. http://c4d.asuscomm.com/wordpress/2018/02/05/rest-easy-with-kbmmw-10-logging-to-a-database/
Are there any tools available to convert Uses unit names from older (D7 era) single names to the newer ones needed for more recent names needed since FMX was introduced (Tokyo, specifically)?

http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.RegularExpressions.TRegExOption

http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.RegularExpressions.TRegExOption Where is description of roNotEmpty option? What does this option do? http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.RegularExpressions.TRegExOption

As part of a project development I have bought Steinberg Wavelab and Cubase. Lurking on forums I was surprised to find out that the last cracked version of Cubase dated 2008.

As part of a project development I have bought Steinberg Wavelab and Cubase. Lurking on forums I was surprised to find out that the last cracked version of Cubase dated 2008. I wonder how sound company manages to keep crackers at bay, and why Embarcadero cannot.

Tokyo upd2: i can't to run my main app on Android compiled with DEBUG mode, Android Studio log show an "out of memory "/ "app too big..." message and kill my task on start

Tokyo upd2: i can't to run my main app on Android compiled with DEBUG mode, Android Studio log show an "out of memory "/ "app too big..." message and kill my task on start Tokyo upd2 with release work all fine. Berlin Debug work fine. Any hint ?

Hi guys, im using this image as an example - https://dribbble.com/shots/4156433-Mail-client-app/attachments/950266

Hi guys, im using this image as an example - https://dribbble.com/shots/4156433-Mail-client-app/attachments/950266 I Want to modify the treeview style so when I select an item it will that blue vertical rectangle next to it where it says inbox. Does anybody know how to do this ? https://dribbble.com/shots/4156433-Mail-client-app/attachments/950266
Originally shared by Ondrej Kelle

If you own Delphi, C++ Builder or RAD Studio 10.2.2 Tokyo Enterprise or Architect, did you receive a serial number for the RAD Server Single Site/Single Server license included in these editions since Tokyo Update 2?

If you own Delphi, C++ Builder or RAD Studio 10.2.2 Tokyo Enterprise or Architect, did you receive a serial number for the RAD Server Single Site/Single Server license included in these editions since Tokyo Update 2? The serial numbers should have been sent by email on December 14th, 2017. http://docwiki.embarcadero.com/RADStudio/Tokyo/en/10.2_Tokyo_-_Release_2#RAD_Server_Single_Site_Deployment_License

FmxLinux 1.19 just released. Start building UI Linux apps with Embarcadero Delphi and FmxLinux. Now with full support of video capturing.

Image
FmxLinux 1.19 just released. Start building UI Linux apps with Embarcadero Delphi and FmxLinux. Now with full support of video capturing. What's new: http://fmxlinux.com/history.html More Info: http://www.fmxlinux.com

New podcast about Delphi. This week we talk about JSON

New podcast about Delphi. This week we talk about JSON https://nosolodelphi.com/14-json-en-delphi-tokyo/
This February, two new Delphi books are coming out!

Hello. I try to release objects associated with TCombobox like this

Hello. I try to release objects associated with TCombobox like this procedure FreeObjectsInCombobox(ACombobox: TComboBox); var i: Integer; obj: TObject; begin for I := 0 to (ACombobox.Items.Count - 1) do begin obj := ACombobox.Items.Objects[i]; if Assigned(obj) then begin FreeAndNil(Obj); ACombobox.Items.Objects[i] := nil; end; end; end; There are objects of different types in Combobox, but all of them inherited from TObject But if object is already released condition "Assigned(obj)" still passing fine and there is access violation on "FreeAndNil(obj)" Can anybody give me advice how to properly release objects or check if it is already released?

New Delphi Book to be released soon.

New Delphi Book to be released soon. Delphi High Performance by Primož Gabrijelčič https://www.packtpub.com/application-development/delphi-high-performance

DUnitX on Berlin Update 2.

DUnitX on Berlin Update 2. Can't find required package ExpertCreators. Seen there was an issue 2 years ago, but I am stuck. Anybody has an answer on how to solve this?. As far as I understand it, it should be in Lib, but can't find it.

FireDAC question: How to check that a server is running on a remote server without know a database name?

Image
FireDAC question: How to check that a server is running on a remote server without know a database name? My problem comes when I ask the user the data of the server, where my application is going to create the databases to run. With MSSQL I have a "solution". I connect to the database "master" that I think always exists. But with Firebird? I thinking about trying to create a database on the server, but I believe this is so intrusive. True?
Is Mac app developed by Delphi no longer able to submit to App Store because of lack 64-bit support??

I need to build a quick demo of something, preferably integrated into an existing app that's currently running in D7.

I need to build a quick demo of something, preferably integrated into an existing app that's currently running in D7. We want to show a panel right-aligned on the main form with stuff in it, about an inch wide. Then we want the ability to undock it and float it over the form (Stay-on-top = True). Undocking will cut it in half vertically, though. It can be moved around and even re-docked. Sort of like how the object inspector can be docked and undocked. Some buttons at the bottom will be for: * Re-dock * Full list -- opens another form with the full details of the items shown in the panel * Stay on top -- enable/disable I'm curious what is the simplest way to do this? Can this docking panel be a TPanel? Or should it be a TForm? (It's NOT a menu! It's closer to the Object Inspector.) Finally, is there anything better in Tokyo vs. D7?

I'm creating a SOAP Server Application. Some methods return a response XML like:

I'm creating a SOAP Server Application. Some methods return a response XML like: 123 abc I'd like to change " " to " ". I've declared this lines below at initialization section of interface unit, but it doesn't work: InvRegistry.RegisterInvokeOptions(TypeInfo(myWebService), [ioDefault, ioDocument, ioHasReturnParamNames, ioHasNamespace]); InvRegistry.RegisterMethodInfo(TypeInfo(myWebService), 'myMethod', '', '[ReturnName="myMethodResult"]', IS_OPTN);

Anyone compiled and was able to run an android application with 10.2.2 on MC32N0 Scanners?

Anyone compiled and was able to run an android application with 10.2.2 on MC32N0 Scanners? I get econtext3dexception on starting the app.

Just got an email stating "For developers using versions prior to XE7, please contact sales to take advantage of our...

Just got an email stating "For developers using versions prior to XE7, please contact sales to take advantage of our amnesty offer to allow everyone to use the latest version and gain the benefits of Update Subscription." As if they're suggesting anyone using an older version of Delphi is somehow committing a crime, and form the goodness of their hearts, EMBA are pardoning us. Sheessh.

Just got an email stating "For developers using versions prior to XE7, please contact sales to take advantage of our amnesty offer to allow everyone to use the latest version and gain the benefits of Update Subscription."

Just got an email stating "For developers using versions prior to XE7, please contact sales to take advantage of our amnesty offer to allow everyone to use the latest version and gain the benefits of Update Subscription." As if they're suggesting anyone using an older version of Delphi is somehow committing a crime, and form the goodness of their hearts, EMBA are pardoning us. Sheessh.