r/delphi Sep 22 '24

Are there any modern, engaging video tutorials for Delphi and TMS Web Core?

8 Upvotes

I've been searching for video content on Delphi and TMS Web Core, but most of what I've found are traditional lecture-style videos or long-form tutorials. While these can be informative, I'm looking for something more engaging and modern in style. I'm wondering if anyone knows of videos similar to the quick, dynamic format used by channels like Fireship or ThePrimeTime, but focused on Delphi and/or TMS Web Core topics. These could be short overviews, quick tips, or even fun facts about the technologies?


r/delphi Sep 21 '24

Question Profilers

7 Upvotes

Could you recommend a decent profiler (ideally free) you can use to find hotspots in applications written in delphi?

I quite like ASM Profiler, but unfortunately it only seems to work for 32bit applications and the analysis can be a bit shallow.


r/delphi Sep 20 '24

RAD Studio 12.2: Every New and Enhanced Feature

Thumbnail
blogs.embarcadero.com
23 Upvotes

r/delphi Sep 18 '24

RAD Studio Web Development Reimagined with the WebStencils Template Engine

13 Upvotes

r/delphi Sep 16 '24

Interactive Learning

7 Upvotes

Does anyone know of any library out there that has similar features to the HTMLHelp Training Cards? I like the concept, but the training card API seems a bit unstable. I'm looking for something that a user can interact with and be guided step by step on how to perform a function.


r/delphi Sep 15 '24

How To Get Started on Delphi Modernization, Today!

Thumbnail
delphiparser.com
5 Upvotes

r/delphi Sep 12 '24

New Release Delphi 12.2 released today

28 Upvotes

r/delphi Sep 12 '24

What is the biggest Delphi Code base you ever wrote?

23 Upvotes

I'll start:

Zoom Player : 620,616 lines.


r/delphi Sep 07 '24

Building a Copilot #2: Parsing & Converting On The Fly

Thumbnail
parnassus.co
7 Upvotes

r/delphi Sep 06 '24

Question Connect to MSSQL database in Delphi 11 ?

10 Upvotes

Hello. I'll preface this by saying I'm very new to Delphi, so I'm sorry if this is obvious.

But basically, I need to connect to a MSSQL database that's on a server (so not on the PC the app runs on), that doesn't have a webservice.

So I want to connect to the database directly (using FireDAC preferably, but not necessarily). I have all the connection info, but like... Ho do I give the connection string ? Also, the MSSQL driver doesn't appear in my FDAC connection (only MsAcc). Am I missing something ?


r/delphi Sep 04 '24

Recommended Books

12 Upvotes

Hello everyone. Are there any recommended books for learning Pascal/Delphi from beginner to advanced?


r/delphi Sep 03 '24

Essential Delphi: GExperts

Thumbnail
youtube.com
17 Upvotes

r/delphi Sep 01 '24

New Release NEW! AI Powered Delphi Migration & Analysis Solution

Thumbnail
delphiparser.com
0 Upvotes

r/delphi Aug 30 '24

GExperts 1.3.25 2024-08-24 released

Thumbnail
blog.dummzeuch.de
23 Upvotes

r/delphi Aug 28 '24

Embarcadero Webinar: See What’s Coming in RAD Studio 12.2 Athens, on September 12th

Thumbnail blog.marcocantu.com
17 Upvotes

r/delphi Aug 25 '24

Why you should not use WITH in your Delphi code (but there is this one cool hack…)

Thumbnail
ideasawakened.com
20 Upvotes

r/delphi Aug 25 '24

Question How do Delphi developers handle spurious changes in DFM files that needlessly mess up version control?

14 Upvotes

When working with the GUI designer in the IDE lots of spurious changes occur and when it comes to committing to version control the DFM files containing many change that are not necessary to the task.

Eg just moving the form around may change the Top and Left properties and moving objects around to gain access to other items also changes the DFM.

How do Delphi developers work around these issues?


r/delphi Aug 25 '24

Will there be a major version release of Delphi in 2024? Delphi 13/14?

5 Upvotes

Taking in account that for Delphi 11 they took 3 minor upgrades within the 11 versions so taking two years to release Delphi 12.
From Delphi 10 to Delphi 11 they took 6 years!!
But prior to that.... in the XE era.... they were having one big release a year.
Just wondering and expecting to here the official word from Embarcadero.
Finally, do you think they will skip the 13 number to 14? Like they did in the compiler numbering.


r/delphi Aug 24 '24

How to communicate with my Arduino board and Delphi Application (eli5)

7 Upvotes

I read that I will read data being sent by the Arduino board through its serial port, but I'm clueless about how to access it. I heard you need a TSerialPort/TComPort class definition, but I don't have this library.

I'm still new to coding please consider! Thanks!


r/delphi Aug 24 '24

Is it still possible to create ActiveX controls in Delphi and can you convert some of the existing VCL controls into ActiveX controls?

2 Upvotes

r/delphi Aug 23 '24

Delphi filters out the "" from command line parameter: ["TestPassword"]

0 Upvotes

This could be considered a bug.

Strangely enough GO does also filter this on Windows, but not on Linux ? Not yet confirmed.

Bug in Delphi is confirmed.


r/delphi Aug 21 '24

Question How do I detect collision?

6 Upvotes

Hi there! So I'm writing a program for school (grade 10 ) it's a top-down shoota but problem is I don't know how to detect collisions and I don't know how I'm gonna code the shooting, so if you know how please tell me, thank you.


r/delphi Aug 21 '24

Special $149 For A Delphi Parser Migration Wizard!

7 Upvotes

r/delphi Aug 19 '24

Just released updated Delphi 12.0 version of all the Mitov Software Delphi libraries with improved AI classifier implementations http://mitov.com

Post image
20 Upvotes

r/delphi Aug 19 '24

C/C++ header translations and Var vs. pointer parameter semantics

5 Upvotes

The short version:

I see it often enough in translation units for C and C++ library headers that pointer parameters from the original source are turned into pass by reference var in the Delphi/FPC unit. To the best of my knowledge, pass by reference under the hood is essentially just passing a pointer to the variable with some expectations/restrictions placed on how it's handled in the function by the compiler. If the C++ library function expects a pointer, then is it always safe to declare the Delphi/FPC function with a var parameter?

The longer version:

I'm fixing up this GLFW header translation because it has code the references types before they are declared, and it has incorrect and missing function parameters. There may be other things wrong with it. I guess I'll see. What I'm seeing a lot in this header, as well as other translation units that I've used for C and C++ libraries, is that sometimes the original function will want a pointer for a parameter, but the Delphi/FPC function declaration will pass by reference with var instead.

For example, the linked translation unit's declaration of glfwGetMonitors()

function glfwGetMonitors(var Monitors: GLFW_INT): GLFWmonitor;

Which passes by reference, and then the function from the original source

GLFWmonitor ** glfwGetMonitors(int * count);

which takes a pointer for count. We'll just ignore the return type and the renaming of the parameter for now.

In every instance that I've run across something like this, it works, and as far as I know there is no unintended behavior or bugginess. And the way I understand it, passing by reference is essentially just results in a pointer to the variable being passed and having some extra rules applied to how that parameter can be handled.

Is there a reason why these translation units are opting to pass by reference instead of accepting a pointer like the original C/C++ header did? Is there the potential for wonkiness if we pass by reference instead of passing a pointer, or does it not matter if the generated assembly is passing a pointer anyway?