Uncategorized

Posted by on in Blogs
C++ Libraries in GetIt: MurmurHash 3 An ongoing project we have is to ensure more popular, well-known C++ libraries are updated to work with C++Builder, and available to you from within GetIt, our package manager. You may have seen a post earlier this year about real-world (non-demo) apps that you can use with C++Builder and CMake, for example, and this is related. This week, I'd like to highlight MurmurHash 3. MurmurHash is a very well known hash function (read its Wikipedia page). It can produce either 32-bit or 128-b...
FireDACの秘密:最後に挿入された自動生成IDとEnterprise Connectors この記事は Eli M. による Secrets Of FireDac: Last Inserted Auto Generated Id And Enterprise Connectors の抄訳です。  自動インクリメントフィールドがあるテーブルにデータを挿入するとき、一般的にはSQLクエリを使用して新しく作成されたレコードの最後に挿入されたIDを取得します。TFDQueryを使用してINSERTクエリを実行し、続いて、SELECTクエリを実行すれば、新しく挿入された自動インクリメントIDを取得できます。 異なるデータベースには、これを実現するために異なるSQLクエリがあります。 たとえば、MySQLには、LAST_INSERT_ID(例:SELECT LAST_INSERT_ID))という名前で実行できるSELECTクエリ関数があります。 このSELECT文を直接実行するか、FireDAC内蔵の機能を使用することができます。 FireDACには、GetLastAutoGenValueというTFDConnectionコンポーネントから呼び出すことのでき...
The Delphi Compiler and UTF-8 Encoded Source Code Files With no BOM Last week a (large) customer sent me an email indicating he was experiencing issues when compiling the same project on different machines. Turned out the difference was in the source code files format and the root cause was a unit saved as UTF-8 but without a BOM. The reason? One of the developers is using Visual Studio Code... and the solution is a chancing that or using compiler flag. But before I get to the solution, let me show you the problem with a very simple test case. Delphi and S...

Posted by on in Blogs
How To Design a Great UI - Part 2 Welcome back! Last time, we discussed a typical UX design flow, and how to tackle this if you do not have access to a UX designer. We also looked at some key usability principles, and saw an example ‘bad’ user interface that we will improve step by step through this series. Finally, we examined that bad UI and some of the questions and confusion a user might have when interacting with it. If you haven't read the first post, please do - it covers some essential topics before what's covered t...

Posted by on in Blogs
Save this Page: All the Patches Since the Last Release How can you be sure you’ve applied the latest updates for your RAD Studio, Delphi, or C++Builder version? After installing the IDE, there may be updates that were released since the last product installer.   Patches for Version 10.2.3 You can find all of the patches since 10.2.3’s release listed here (Bookmark this page!): http://docwiki.embarcadero.com/PlatformStatus/en/Main_Page#RAD_Studio_10.2.3_Tokyo   If you installed 10.2.3 after July 18th, 2018, you already have all of t...