Posts

https://www.packtpub.com/packt/offers/free-learning

https://www.packtpub.com/packt/offers/free-learning Delphi Cookbook – Second Edition is today's Packt Free eBook for the next 22 hours or so (as of this posting)... I purchased this when it came out – so take the opportunity to grab it (or if you have the first edition, then grab the newer release)… https://www.packtpub.com/packt/offers/free-learning

We've recently learned a lot about memory leaks in TClientDataSet.

We've recently learned a lot about memory leaks in TClientDataSet. As these appear to have been around for a long time, I wonder whether we are simply among the last to discover them? They seem to make use of the TClientDataSet for any but transient operations a very poor choice. And the memory issues seem not to be true leaks, but rather ever increasing memory allocations until the CDS is destroyed.

We've recently learned a lot about memory leaks in TClientDataSet. As these appear to have been around for a long time, I wonder whether we are simply among the last to discover them? They seem to make use of the TClientDataSet for any but transient operations a very poor choice. And the memory issues seem not to be true leaks, but rather ever increasing memory allocations until the CDS is destroyed.

We've recently learned a lot about memory leaks in TClientDataSet. As these appear to have been around for a long time, I wonder whether we are simply among the last to discover them? They seem to make use of the TClientDataSet for any but transient operations a very poor choice. And the memory issues seem not to be true leaks, but rather ever increasing memory allocations until the CDS is destroyed.

Does anybody know of any libs that will take a generic list of objects (eg.

Does anybody know of any libs that will take a generic list of objects (eg.,. TList) and convert it to a TDataSet so it can connect directly to something like a cxGrid that would require an in-memory dataset otherwise? (I'm aware of one, but I'm curious if there are others.)
Does anybody know of any libs that will take a generic list of objects (eg.,. TList) and convert it to a TDataSet so it can connect directly to something like a cxGrid that would require an in-memory dataset otherwise? (I'm aware of one, but I'm curious if there are others.)

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) Delphi Help Expert updated for Delphi 10.2 I have updated my Delphi Help Expert (formerly called Delphi 7 Help for BDS) to support Delphi 10.2. I also moved the project to OSDN and updated all links https://blog.dummzeuch.de/2018/05/31/delphi-help-expert-updated-for-delphi-10-2/

Fast Reports & Steema present a Reporting & Charting Workshop Day in Barcelona.

Fast Reports & Steema present a Reporting & Charting Workshop Day in Barcelona. More info https://www.eventbrite.com/e/delphi-reporting-and-charting-day-barcelona-tickets-46010297037 https://www.eventbrite.com/e/delphi-reporting-and-charting-day-barcelona-tickets-46010297037

Hello

Hello, superobject do not compile anymore under Tokyo because of a change in TypInfo unit...and I don't understand the goal of that change. in Berlin, TTypeData has a GUID:TGUID member for tkInterface in Tokyo, the member has been replaced by IntfGuid : array[0..15] of Byte; with a inlined GUID function that make a copy of that record as a TGUID There's probably a good reason for that, isn't it ?

Has anybody done some programming with the Allied Vision Technologies (AVT) VIMBA API for cameras?

Has anybody done some programming with the Allied Vision Technologies (AVT) VIMBA API for cameras? I've started to port our software from their legacy Universal Package to VIMBA, but since they have dropped their Delphi support, I now have to port the C API, which is not much fun. So far I got a test program running that accesses a GigE camera and stores the pictures as a MJPEG file. That's quite a lot, given that I started from scratch.

Can anyone recommend a reasonably straightforward to use audio library? The basic requirement is to record, play back and visualise a sound recording, with the ability to mark set points in the audio. The ability to save sections of the audio would also be nice, as would the ability to select the recording and playback device. I will primarily be working with WAV, FLAC and OGG files.

Can anyone recommend a reasonably straightforward to use audio library? The basic requirement is to record, play back and visualise a sound recording, with the ability to mark set points in the audio. The ability to save sections of the audio would also be nice, as would the ability to select the recording and playback device. I will primarily be working with WAV, FLAC and OGG files. I have done quite a bit of searching and not had a great deal of success so far. The libraries that I found seem to be either rather dated or quite feature-rich but expensive for the project that I have in mind.

New article by Bob Swart (Embarcadero MVP, famous speaker and writer of several Delphi books)

New article by Bob Swart (Embarcadero MVP, famous speaker and writer of several Delphi books) "How to use Embarcadero RAD server as server backend for TMS WEB Core applications" Including full article and source code! https://www.tmssoftware.com/site/blog.asp?post=462 https://www.tmssoftware.com/site/blog.asp?post=462

TMS Component Pack v8.8.9.0 has been released!

Image
TMS Component Pack v8.8.9.0 has been released! https://www.tmssoftware.com/site/tmspack.asp

Which is the oldest Delphi version you are going to use MMX Code Explorer in (and probably would pester me once I drop it)?

Which is the oldest Delphi version you are going to use MMX Code Explorer in (and probably would pester me once I drop it)? If you are using it only in newer Delphi versions than XE, then simply don't vote at all. Instead feel free to add a comment here. (Why are polls on G+ limited to 5 items?)

Hello! Is there a way to change a resource string in run-time?

Hello! Is there a way to change a resource string in run-time? My case, I need to change the Dialog messages to another language. Example: SMsgDlgYes = 'Oui';

Interfacing with C libraries may become a bit easier, with a C-to-Delphi header translator that is powered by libclang for Delphi.

Interfacing with C libraries may become a bit easier, with a C-to-Delphi header translator that is powered by libclang for Delphi. https://blog.grijjy.com/2018/05/29/chet-a-c-header-translator-powered-by-clang/

Marco Cantù Our subscription will end 11.06.2018 and the last years, each time after we renewed our subscription there where extra offers with 40% off etc. Is something comming?

Marco Cantù Our subscription will end 11.06.2018 and the last years, each time after we renewed our subscription there where extra offers with 40% off etc. Is something comming? Also is it possible to extend / renew our enterprise license directly over embarcadero? It is a lot money for a small company like ours each year ... and we were not able to use the last year payed update to tokyo till this year. Can anyone from embcd sales contact us with an offer?

A big thanks to David Nottage for help in finding out a fast way to add the extra libraries into the SDK Manager when importing a new SDK for iOS. This has saved me a lot of time, so hopefully will be helpful to others too.

A big thanks to David Nottage for help in finding out a fast way to add the extra libraries into the SDK Manager when importing a new SDK for iOS. This has saved me a lot of time, so hopefully will be helpful to others too. In the \bin folder of the RAD Studio installation are a set of files with .defaultsdkpaths extensions. These are the template files used by the SDK Manager to determine which libraries to import by default. It's a simple XML file so just add entries for the extra libraries you need to import following the format in the file. Once you've done this, when you go into the SDK Manager and import a new SDK version it will automatically include the extra files! However, be careful about which file you edit. You will see multiple .defaultsdkpaths files for each platform. It seems that the SDK Manager uses the highest version number one, so if you're importing iOS 11, you need to update the "iPhoneOS 10.0.defaultsdkpaths" file. This works for 10.1 Berli...

Thought I would mention something that I found. I appears that someone spend time integrating a bunch of open source compliers into a web page for the purposes of displaying emitted asm of various languages.

Thought I would mention something that I found. I appears that someone spend time integrating a bunch of open source compliers into a web page for the purposes of displaying emitted asm of various languages. https://godbolt.org

Binary compatibility can be hard to achieve.

Binary compatibility can be hard to achieve. The Mysterious Case Of The Lost Inherited Call https://www.uweraabe.de/Blog/2018/05/28/the-mysterious-case-of-the-lost- inherited-call/ https://www.uweraabe.de/Blog/2018/05/28/the-mysterious-case-of-the-lost-inherited-call/

Hello

Hello, I have a question about StackTrace utilities. Is it possible to catch the stack of an application during an exception, send the raw data by mail to the support and retrieve the execution context from the map file (or anything else) ? for instance I want to track a "Division by 0" exception that occurs sometime but don't want to put all the debug data in the released application.

help SOAP gurus!

help SOAP gurus! I'm trying to consume with D10.2.3 a SOAP web service that has an object defined like this: ... ... The wsdl importer converts the "xsd:anySimpleType" in variant: const_ = class(TRemotable) private Ftype_: columnType; Fvalue: Variant; published property type_: columnType Index (IS_ATTR) read Ftype_ write Ftype_; property value: Variant Index (IS_ATTR) read Fvalue write Fvalue; end; The problem is that when I try to use this remotable the Delphi converter called in TRemotable.ObjectToSOAP transforms the "value" property in a xml node and not in a xml attribute so the function fails: ... mystring ... but I aspect something like that: For now I need to pass only strings to the service so I substitute the variant declaration with string declaration and in this way all works fine. Anyone knows if there is a better solution to keep the variant nature of the data?

SQL framework manual is now available

SQL framework manual is now available https://delphihtmlcomponents.com/SQLLibrary.pdf Framework will be included into HTML Library bundle (source code is already available for existing users) #1 https://youtu.be/v1B2zkm9w5Q #2 https://delphihtmlcomponents.com/sqlcontext.gif #3 https://delphihtmlcomponents.com/sqlplay3.gif https://delphihtmlcomponents.com/SQLLibrary.pdf

#SOLVED (SEE #SOLUTION HASHTAG ON COMMENTS)

#SOLVED (SEE #SOLUTION HASHTAG ON COMMENTS) Hello everyone! Someone could tell me why if my IDE dll expert have any of the PNG Components, i receive the message "Invalid graphic format" if I try to use some of these components at any other project? A better explanation: I've created an IDE expert (dll) to do some cool stuff. On the dialogs of this expert I used some PNGComponents (TPngBitBtn, TPngSpeedButton) to improve my interface with nice buttons with alpha blended PNG. This expert works good and I guess it is correctly installed. With my expert installed, I simply start a new project (new vcl forms application) and drop a TPngBitBtn to start. After that, I try to add the png image on it and, after confirm the image (Picture Editor) the error Invalid graphic format is shown. If I remove from my dll expert the forms with PNG components, reinstall the expert and do the same from the previous paragraph. The error do not occurs. Someone can help Me?

Eric Grange your website https://beginend.net is vulnerable to XSS attacks. You need to escape the strings that you pull from 3rd parties. I tried contacting in private but I gave up trying to find some way to contact him so I'm posting this here.

Image
Eric Grange your website https://beginend.net is vulnerable to XSS attacks. You need to escape the strings that you pull from 3rd parties. I tried contacting in private but I gave up trying to find some way to contact him so I'm posting this here.

Date/Time, timezones and TDateTime on steroids

Date/Time, timezones and TDateTime on steroids http://c4d.asuscomm.com/wordpress/2018/05/25/kbmmw-features-3-datetime/

I just pre-ordered this: https://www.packtpub.com/application-development/delphi-gui-programming-firemonkey?fo_c=2206&fo_k=e2d05ccd17dae3416943392fdfb14fc8&fo_s=criteoeu&utm_source=criteo&utm_medium=cpc&utm_campaign=lowerfunnel

I just pre-ordered this: https://www.packtpub.com/application-development/delphi-gui-programming-firemonkey?fo_c=2206&fo_k=e2d05ccd17dae3416943392fdfb14fc8&fo_s=criteoeu&utm_source=criteo&utm_medium=cpc&utm_campaign=lowerfunnel https://www.packtpub.com/application-development/delphi-gui-programming-firemonkey?fo_c=2206&fo_k=e2d05ccd17dae3416943392fdfb14fc8&fo_s=criteoeu&utm_source=criteo&utm_medium=cpc&utm_campaign=lowerfunnel

I have a little problem with FireDAC and the TStringField and TWideStringField design time generation.

I have a little problem with FireDAC and the TStringField and TWideStringField design time generation. I have a TFDQuery which include a column like this... CASE WHEN EXISTS(SELECT 1 FROM CONFIGURATIONS COM WHERE COM.CD_PARENT = ART.CD_ITEM) THEN 'Y' ELSE 'N' END HAS_CONFIGURATION , The query works well in MS-SQL and in FireBird. The problem is that MS-SQL considers that the TField is TWideStringField , but Firebird considers that is TStringField . Has anyone solved this? I need that in both cases was of the same resulting type, because the application shall work with both databases. I've thought in make SQL TypeCasting of the value, but I can't find a common instruction for both databases. And if it's possible for other ones too.

MMX gets a new setup supporting different admin and non-admin scenarios:

MMX gets a new setup supporting different admin and non-admin scenarios: https://www.mmx-delphi.de/2018/05/25/mmx-gets-a-new-setup/ https://www.mmx-delphi.de/2018/05/25/mmx-gets-a-new-setup/

HI all

HI all needing some help I want to run a program at a user selected time (hour/minute) what I am currently doing is loading that list of times into a listbox then going through that list and checking if that time string matches the current time (and exit that loop if it does) but there must be a better way maybe using stringlist or loading the whole list into a string and using pos ?

The ORM is evolving...

The ORM is evolving... http://c4d.asuscomm.com/wordpress/2018/05/24/rest-easy-with-kbmmw-13-database-5/