CodeRage XII Modernizing your VCL application

Thank you for watching my session on Modernizing your VCL application at CodeRage XII.

If you want to watch the video again, you can use this YouTube link:
https://youtu.be/qKy1QEuj4Es

Slides, source code and database for this webinar is available for download here:
https://dannywind.nl/get/DannyWind_ModernizingYourVCLApplication.zip

The zip file is password protected to add some level of security to it.
The password is coderagexii

Additional Tips:

The Windows-10 styles can be modified or appended with your own styling using Tools | Bitmap Style Designer.

When using a TTask to get things done in the background, avoid sharing resources with the main thread. Either disable access from the main thread to these resources or create copies for the TTask. After that feedback the results to the main thread using TThread.Queue or TThread.Synchronize.

When using TTask, use a task-based approach just like you would in the real world when you let a colleague do a task. Just delegate an entire task with the required resources (memory, file handles, connections, datasets) to a TTask and allow the task to feedback its results at the end of the task. Avoid using locking as this can easily lead to deadlocks, waitlocks and other blocking effects.

When using Change Views keep in mind that the first time a subscription is activated on the Change View it will return all records, as it does not yet know which records you have already received for the specified subscription identifier.

Change View subscription identifiers should be unique but repeatable for each running application instance. Create an identifier, such as [MachineName+UserName] and use it to activate the subscription. If the application is stopped and then run again, it can activate the subscription using the same identifier, so you will get the changes back again.

Delphi 10 Seattle Trainingen in November

Nieuwsgierig geworden naar Delphi 10 Seattle en je wilt ermee beginnen? Ga dan naar de Delphi 10 Seattle VCL Essentials training op 4, 5 en 6 november. Details en inschrijving via: http://www.barnsten.com/nl/events/details?events_id=169

Ben je al ervaren in Delphi, maar wil je verder met FireMonkey en Android App ontwikkeling, dan is de FIreMonkey/Android Power training iets voor jou, op 19 en 20 november. Details en inschrijving via: http://www.barnsten.com/nl/events/details?events_id=168

 

Happy Birthday Delphi

Today Delphi turns 19. Last year has been pretty exciting for her, with XE4 iOS and XE5 with Android support. This year she’ll make some nice visits home in Windows VCL, with many good things to come.
Talking about VCL, don’t miss the Delphi Boot Camp which is all about VCL, here in the Netherlands:
http://www.barnsten.com/nl/events/details?events_id=90
Happy Birthday Delphi!

we made Tarte Tatin

we made Tarte Tatin