Search the Community
Showing results for tags 'delphi'.
Found 288 results
-
Hi everyone Does anyone know if it's possible to force the time picker of TTimeEdit to be 12 or 24 hours? I mean the actual picker in iOS itself, not the editor box (which you can manipulate using the "Format" property). By default, the picker matches the time format set in the phone settings, but I have a separate time format setting in my app which determines whether we show am/pm or 24 hour format in the app and I'm trying to make the experience consistent for my users. Thanks
-
Hi. I'm trying change icons of my Android app, and i made all as earlier - on the way Project>Option>Application>Icons. I changed all Embarcadero's default icons to my icons. But when i compile my app, i see all the same app icons in my phone. What's wrong i made?
-
ann New version of NextSuite6 (Grid, DBGrid, Inspector...) released 🚀
Bergsoft posted a topic in Delphi Third-Party
Dear visitors, We like to inform you that new version of NextSuite6 is released. Click here to read the release news. We also like to remind you that our 35% is available until the end of the month. Click here for Online Store and Prices . NextSuite includes always growing set of VCL components. Most important components are: NextGrid6 (StringGrid/ListView replacement, written from scratch). NextDBGrid6 (Db variant of the grid) NextInspector6 - An object inspector component. Next Collection 6 - A set of smaller components that are both useful and easy to use. Next Canvas Application - a drawing application that wysiwyg convert your drawings into a valid Delphi TCanvas code. and many more. Few screenshots: Download big demo project from: http://www.bergsoft.net/downloads/vcl/demos/nxsuite6_demo.zip Boki (BergSoft) boki@bergsoft.net | LinkedIn Profile -- BergSoft Home Page: www.bergsoft.net Members Section: users.bergsoft.net Articles and Tutorials: help.bergsoft.net (Developers Network) -- BergSoft Facebook page -- Send us applications made with our components and we will submit them in news article. Link to this page will be also set on home page too. -
Can't complete Delphi 12.3 Community Edition Athens installation
PrimeMinister posted a topic in General Help
I'm getting these errors in the log when running RAD Studio 12.3 for the first time to install packages and run Delphi Community Edition... [2025-08-04 09:20:23] [DEBUG] GetIt: 2025-08-04 09:20:12 - Error on loading data from the server getit12new.embarcadero.com: Internal Server Error [2025-08-04 09:20:23] [DEBUG] GetIt: 2025-08-04 09:20:12 - Error when loading "Platforms": [500] Error on loading data from the server getit12new.embarcadero.com: Internal Server Error [2025-08-04 09:20:23] [DEBUG] GetIt: 2025-08-04 09:18:53 - Error on loading data from the server getit12new.embarcadero.com: Error sending data: (12007) The server name or address could not be resolved [2025-08-04 09:20:23] [DEBUG] GetIt: 2025-08-04 09:18:53 - Error when loading "Platforms": [-102] Error on loading data from the server getit12new.embarcadero.com: Error sending data: (12007) The server name or address could not be resolved I've tried everything to check if it is on my side, fixed my PATHs (the lengths were too long, the installer said), installed and reinstalled... So, are the servers completely down, or is it something on my side? -
Senior Delphi Developer – 26+ Years of Experience - Remote & Freelance
Andry13 posted a topic in Job Opportunities / Coder for Hire
Hello everyone, My name is Andry RALIJAONA, I am a software developer based in Antananarivo, Madagascar, with more than 26 years of experience in software development, mainly with Delphi. Throughout my career I have worked both as a freelancer and as an in-house developer, often in remote setups, for clients in France, Switzerland, Belgium, and Madagascar. My main expertise includes: Desktop application development with Delphi Modernization of legacy code and migration to recent Delphi versions Database design and administration: SQL Server, PostgreSQL, SQLite, MySQL, Interbase, Advantage Database Reporting & BI: Crystal Reports, FastReports, Power BI, Power Query Automation: VBA, data processing tools System & server administration (Windows) What I am looking for I am open to remote collaborations as a Delphi developer, especially in: Developing new desktop or client/server applications Enhancing or maintaining existing software Migrating legacy Delphi systems to newer versions Integrating external services, databases, and reporting solutions If you have a project where my experience could add value, feel free to get in touch. 📧 andry.ralijaona@yahoo.com 📞 +261 34 77 297 27 CV ANDRY - ENG.docx -
Hi, I want to create a service that starts at boot. Register a broadcast receiver that can intercept the ACTION_PACKAGE_ADDED event. I'm using Kastri with Delphi 12.3 and Android 15, but the service doesn't start. I'm attaching my manifest file. Thanks. AndroidManifest.xml
-
i just create rest service with authoticate entry. the default login form look like this : how can i change the login form as i want and control the form shape? lables, headers, positions
- 10 replies
-
shareware Some open sourced tools for Delphi developers
Patrick PREMARTIN posted a topic in I made this
Hi From the contacts I have from time to time following presentations or training courses, it seems that I'm better known for the video game coding part of my hobby than for the other stuff. It's true that I find it more fun (especially to stream on Twitch), but I also have utilities for Delphi developers created to simplify my life that I make available as binaries and source code on my GitHub account. App Stores Screen Captures Generator : to generate all the needed images from your screen captures when you have to publish your softwares on current app stores Copyright Pascal Projects : to add a copyright text in the header of each PAS/DPR files of a folder tree DProj To Windows Setup : to generate the Windows setup from Delphi deployment wizard data. It uses Inno Setup to create the install program and Exe Bulk Signing to sign the exe files. Exe Bulk Signing : a local and network signing program for Windows executables (exe+msix). It has an API you can use to integrate it in your projects like I did with "DProj To Windows Setup". Folder to FMX Image List : to create a FireMonkey TImageList to copy paste in your project or in a data module unit from all images in a folder tree. It fills the multires bitmaps depending on file names. Google Play Developer Banner Generator : to create a picture to use has your Play Store developer banner composed by a random collage of images you add to your project. I use it with icons of my Android apps. HTML Writer : to simply get HTML source code or WYSIWYG HTML content. I use Delphi HTML Components library in this program to have the WYSYWYG HTML editor and a memo for the source code tab item. Pic Mob Generator : my icons generator from basics layers or images, SVG, paths or rectangles. It export JPEG&PNG images, ICO and ICNS files. For the SVG I used RiverSoftAVG SVG Component Library, but next release will use Skia4Delphi. SM Code Generator : I use it in some multi players games, for EXE Bulk Signing API and client projects. The program generates Delphi code you only have to use in your projects to have a client / server solution to exchange formatted messages over IP. The library uses standard TCP sockets from Embarcadero (with no external dependencies). SVG Folder to Delphi Unit : to import SVG files as Pascal strings in your projects. I use it in some games with Skia4Delphi to show icons or sprites. The program generates a unit (compatible with Delphi 12.X and higher) with SVG found in a folder. Some of these programs are available from GetIt. The others will be submitted before the end of the year. The download links are on their GitHub repositories and will be added to their websites (which should be redirected to GitHub in the meantime). If you need changes in these programs or have suggestions, be free to tell here or as issues on their repositories. I'm also looking for ideas of simple tools to develop during live coding streams to show Delphi or web solutions. They are distributed as shareware programs. Contributions and sponsoring are welcome but not obligatory, and there are no program restrictions in the absence of a valid license. All features are available for free. -
TeeBI Composer example, automatic visualization of complex data
david berneda posted a topic in Delphi Third-Party
Visualize complex multi-dimensional data using #TeeBI Composer control. Minimal code, automatic output. https://github.com/Steema/TeeBI/tree/master/demos/delphi/Visualization/Composer -
Delphi Developer Job Offer (Germany) / Delphi entwickler
NR2024 posted a topic in Job Opportunities / Coder for Hire
⚡️Dear Delphi Developers Community, I'd like to share an open job opportunity for developers in Germany. 👀We are actively seeking a highly qualified Delphi Developer with demonstrated expertise in Delphi programming, as well as proficiency in SQL and experience with ERP systems. This is a full-time, permanent position at a company that specializes in the production of automotive software, located in the Hannover region. The option for remote work, accompanied by periodic visits to the office, may be considered based on the candidate's demonstrated professional qualifications. Proficiency in both spoken and written German is required, with a minimum level of B2. 🖥If you’re interested or know someone who might be a good fit for this role, please feel free to reach out to me on LinkedIn (https://lnkd.in/duRBttdZ) or reach out via email (nina.remizova@heinicke-consulting.com). Thank you! -
Hello everyone! Together with the Softacom team, I have been exploring how AI can support Delphi projects. As part of these experiments, we created a video showing how to use OpenAI features to generate text, images, and speech via an Embarcadero Delphi FMX app. If you are curious how these APIs can be integrated into your Delphi workflow, check out our video. I hope you will find it useful! Watch the video: If you prefer reading, we have article versions too: Generate text with GPT: https://www.softacom.com/blog/development/text-generation-capabilities-with-delphi-fmx-application-via-openai-api-gpt-models/ Create images using DALL·E: https://www.softacom.com/blog/development/image-generation-capabilities-with-delphi-fmx-application-via-openai-api-dall·e-models/ Convert text to speech with OpenAI API (TTS-1 and WHISPER-1 models): https://medium.com/@softacom.com/speech-and-text-by-speech-generation-capabilities-with-delphi-fmx-app-via-openai-api-tts-1-and-b19293070588
-
I was wondering. . . Is there any apps (for Windows) that can retrieve all comments from a given Youtube video ? And how quickly can it be received ? And, has anyone used it or uses it currently ? I've been wanting to download or extract Youtube comments for a number of purposes. What I'm looking for is how *fast* can comment's be retrieved, not how to do it myself. I've written a few code snippets to pull it once I have a video in view and it can be very tedious, especially when there are replies and when the comments are in the thousands. And sometimes I can't read them on screen because there are too many and/or I run out of memory or something. I'm wondering how people are doing it without issues and how fast they can pull thousands.
-
FireDAC Bug: FLOAT Field Bound as Decimal(22,20) When Using MapRules for BCD → Double (Affects Update WHERE Clause)
Ron Schuster posted a topic in Databases
Delphi Version: 12.2 Athens Database: SQL Server Driver: FireDAC MSSQL Query Type: Live TFDQuery, UpdateOptions.UpdateMode := upWhereAll Context: Migrating from BDE with many legacy TFloatField components Problem Summary When FireDAC’s FormatOptions.MapRules are configured to map BCD and FMTBCD fields to Double, FireDAC mishandles actual FLOAT database fields during auto-generated UPDATE statements. Specifically, it generates a WHERE clause where the FLOAT field is incorrectly bound as decimal(22,20) — causing loss of precision and failed row matching. Reproduction Conditions SQL Server table contains: pop_density FLOAT NULL Delphi TFDQuery includes: A persistent TFloatField bound to this column. UpdateOptions.UpdateMode := upWhereAll FormatOptions.MapRules contains: MapRules.Add(dtBCD, dtDouble); MapRules.Add(dtFmtBCD, dtDouble); (This is necessary to preserve compatibility with hundreds of legacy TFloatField components from a BDE application.) The float value in the database is something like 1.23456789123E-10. FireDAC generates the following: exec sp_executesql N' UPDATE dbo.unit SET ... WHERE ... AND pop_density = @P5', N'@P5 decimal(22,20)', 123456789123 The float value is bound as a decimal, stripping both the decimal point and exponent — resulting in no match. Observations This does not occur in a small test app unless MapRules are set. OldValue of the field is correct and contains the scientific notation. Field class is TFloatField. Problem only arises when MapRules include rules to map to dtDouble. Workarounds Use UpdateOptions.UpdateMode := upWhereChanged to avoid the float field being used in the WHERE clause. This breaks the "another user changed the row" functionality. Avoid setting MapRules globally. Would require upgrading every persistent TFloatField. Manually override update SQL via TFDUpdateSQL. High effort. Legacy applications contain a large number of live queries using persistent TFields. Why This Matters This is a blocking issue for anyone migrating a BDE-based application where all numeric fields were defined as TFloatField (common BDE behavior). Using FireDAC’s MapRules to redirect BCD types to Double is a clean workaround — but this side effect breaks updates on real FLOAT columns. Problem has also been observed on database fields defined as NUMERIC. Conclusion FireDAC's parameter binding logic incorrectly applies decimal formatting to native SQL Server FLOAT fields and sometimes NUMERIC fields when MapRules redirect BCD/FMTBCD to Double — even if the persistent field is explicitly a TFloatField. Would appreciate any insights or confirmation from others facing this during BDE → FireDAC migration. EDIT: The issue only seems to occur when the value in the float field uses a negative exponent greater than 6. For example, the problem occurs when the float = 1E-07, but not 1E-06. I have attached a small test program that demonstrates the problem, with a SQL file to build the test table and add a couple of data rows. If I modify any value in the row containing 1E-07 in the pop_density column, I get the error: [FireDAC][DApt]-400. Update command updated [0] instead of [1] record. test.zip -
How to Force the Generation of a New Notification Token on iOS Without Reinstalling the App?
moises@coderbox.com.br posted a topic in FMX
Hello, Masters. I appreciate your help in advance. All of my production apps have stopped receiving notifications on iOS. They only start working again when the user uninstalls and reinstalls the app, which generates a new token that works correctly, both in Firebase Messaging tests and in notifications sent from my server. It seems that the previously generated tokens are no longer valid. Is there a way to force the app to generate a new token without requiring it to be uninstalled? Additionally, what is the best approach to handle users who already have the app installed in production, considering there are several hundred of them? -
Retrieving outlook contact emails
Connie McBride posted a topic in Algorithms, Data Structures and Class Design
I'm trying to figure out how to retrieve the contacts from outlook from a specific list. for example, I have been able to get the address lists: and now I want to select one of those items (offline global address list, for instance) and get all the contacts/emails from that specific list. I am having no luck working that part out. any help? -
I have this statement in my code, but it doesn't always post to the dataset. no sql statement is generated - but only sometimes. 1) the reg_value is always changed in this procedure. 2) the procedure is called in hundreds of places. 3) the procedure works in most cases, not in others. 4) I recently updated from delphi 12.1 to delphi 12.2, and it used to work all the time. I am trying to figure out what changed that would cause it to NOT post the record. the code: aStream.Position := 0; tBlobField(dmCommon.tblGridIniREG_VALUE).LoadFromStream(aStream); freeAndNil(aStream); dmCommon.tblGridIni.Post;---> no SQL statement is generated. nothing is seen through the tracers (sql profiler or firedac trace) this same code works in Delphi 12.1, no issue. the structure: all fields are filled in with values. the issue happens when trying to update. adding new records is fine. doing an Can't include sample data, because it seems unprintable characters are part of it I am saving the grid settings from a devexpress grid by writing to a memory stream and loading it to the varchar(max) field. The problem isn't inherently devexpress, the same version of devexpress works in delphi 12.1. tracing deep into the code, it is returning that there is no change to the reg_value field, so it isn't creating the update statement. Any ideas which flag needs to be unset (or set)? cached updates is not in use.
-
I develop a smartphone app for Android and iOS. In that, I use a stylebook and added Android, iOS and Windows styles to the master form (Windows only for development). Recently I found out, that the styles for other OS are also included in Android .apk and .aab packages! Here are the sizes of my Android packages. I deleted one style after the other, and the package got considerably smaller each time : .apk (Android development): Android, iOS and Windows styles: 15.2 MB Android and OS styles: 14.2 MB only Android style: 13.2 MB .aab (Android store): Android, iOS and Windows styles: 25.0 MB Android and OS styles: 14.2 MB: 23.1 MB only Android style: 21.3 MB I haven't tested yet if iOS .ipa is handled the same way. I would have expected, that styles of other OS would simply be ignored. Now I learned, that I can reduce the size of the store package by 15% simply by deleting other styles prior to compilation😯 This seems to be a major bug, isn't it?
-
ANDROID - How to create a folder in a USB stick and write some files in that folder
steve.b posted a topic in Cross-platform
In my Android app, the user should have the possibility to save app configuration in a USB stick (and then restore that configuration if necessary). I managed to open the app Files and select the root of the USB stick connected to the device. I get the corresponding URI: "content://com.android.externalstorage.documents/tree/A8AC-5853%3A". Now I have to create a subfolder and write in it two (xml) files but I don't know how to do. I have found some Java code and some information in the Android Developers site but I'm not able to translate those information into some working delphi code. Someone can give me some help? -
Firedac in embarcadero rad studio 12.3 in trial version get issues specific delphi 12.3.Tfdstoreproc and tfdquery don't work well with connection oracle. Run without error but tfdquery show old data after execution tfdstoreproc
-
So, I've been kept from doing things by this little, trivial problem. I've been trying to sign an msix package for days now, and am getting nowhere. I can sign Win32 and Win64 executables just fine, Delphi will create unsigned msix packages just as good. But I just can't for the life of me sign an msix. I always get the same error message, it does not matter, if this package contains my application or just a simple dummy, or if it is win32 or win64: "C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /v /a /fd SHA256 C:\Win\SignTest\Win64\Release\SignTest\bin\SignTest.msix The following certificate was selected: Issued to: My Company Issued by: Certum Extended Validation Code Signing 2021 CA Expires: Sat Jan 08 12:11:18 2028 SHA1 hash: E7C16794EA23F573DE3EA32B5B564717CE84CC75 Done Adding Additional Store SignTool Error: This file format cannot be signed because it is not recognized. SignTool Error: An error occurred while attempting to sign: C:\Win\SignTest\Win64\Release\SignTest\bin\SignTest.msix Number of files successfully Signed: 0 Number of warnings: 0 Number of errors: 1 I even built the msix externally with the makeappx tool from the SDK, that works just fine (as it should, Delphi uses it as well), but in the end...same error as above as soon as I want to sign the package. The AppManifest.xml is in good shape, syntactically and content-wise. The only assets are two png Icons that can be read just fine. The executable itself can be signed with no trouble at all. What am I missing?
-
If anyone knows, could you tell me how to assign 2 paths to this directive? I declared this path here at the beginning, but it only receives 1 [setup] DefaultDirName=C:\mygame\TEST [code] function InitializeSetup(): Boolean; begin if (FileExists(ExpandConstant('C:\mygame\TEST\install.exe'))) then begin Result := true; end else if (FileExists(ExpandConstant('D:\mygame\TEST\install.exe'))) then begin Result := true; end else begin Result := false; end end;
-
I new using TClientDataSet and would like some help. My application fetch heavy stream data from an external web-socket like API (from multiple channels), proccess it asap in worker threads and then show to the user when requested... nowdays I do it manually with lists, arrays and iterate to populate the components (manually). I want to improve and standartize the data in the application memory, the approach I thought is to go with TClientDataSet. The problem is that the application works with a heavy multithread system (which works pretty well, its not the problem), and I know that the TClientDataSet is not thread-safe, and could have alot of problems to deal with, so I would like to ask who already faced this problem before, if I on the right way. My approach: • The worker threads (which will receive the data to proccess) will write in a own TClientDataSet, only the worker thread may write data in its dataset; • Operations (insert/update/delete) in worker thread TClientDataSet wouldn't be synchronized; • Operations and cloning will be protected by a sync object (TCriticalSection like); • The UI that must shown data may clone the worker thread TClientDataSet to have a read-only copy, which can be linked in VCL controls (like TDBGrid) and also iterated, filtered, etc. Anyone that experienced this scenario (or similar) can say if I on the right way to avoid thread synchronization and deadlock problems dealing with TClientDataSet in a multi-thread system?
- 5 replies
-
- delphi
- tclientdataset
-
(and 1 more)
Tagged with:
-
edit form with extended / different query then i ist form (logic)
WalkingAway posted a topic in Databases
I want to have list of documents in one form (simple query) and edit form for particular document in other form (extended query). In simplier case - when the same query is used - I have no problems at all, everything is clear. Goal is to have simple / light query for list (let say, common fields - id, name) and more extended version for edit form (almost every field included) potentially with master / detail and CachedUpdates. Editing case itself I can imaging (how to implement), but what about adding? Especially if user cancel adding. I mean how to link both queries as it was the same (actually both queries for the same document) - if editor is closed (and product was created), how to update list (not update, but refresh one row). Thank you in advance! -
Hello, I want to disable all the controls that are on the specific panel (buttons, edits, etc.) while i read data from server. For that reason i use: TPanel.Enabled := False And reenable it after reading is finished. If i click on any disabled button while panel is disabled, its event is fired after the panel is reanabled. Is it normal behavior, or am i doing something wrong? My code looks like that: procedure TfrmPanel.FormShow(Sender: TObject); begin fTCPClient := TIdTCPClient.Create; fTCPClient.Host := IP; fTCPClient.Port := Port; try fTCPClient.Connect; except on E: Exception do //Handle exception end; end; procedure TfrmPanel.btnWriteASCII_ShrtClick(Sender: TObject); var myStr: string; i: Integer; begin pnl3.Enabled := False; myStr := ''; try if fTCPClient.Connected then begin fTCPClient.IOHandler.WriteLn('set OutputType=ASCII_SHORT'); if fTCPClient.IOHandler.InputBufferIsEmpty then begin for i := 0 to 1 do myStr := myStr + fTCPClient.IOHandler.WaitFor(Char($0A), True, False, IndyTextEncoding_ASCII, 5000); end; end; finally begin mmo1.Lines.Add(myStr); pnl3.Enabled := True; end; end; end;
- 24 replies
-
- rad studio 11
- delphi
-
(and 1 more)
Tagged with:
-
I have an app that uses SqLite on Android and iOS in encrypted mode. I'm migrating the app from Delphi 10.4 to Delphi 12.2. I get a link error I've never seen before : [DCC Error] E2597 C:\Users\Public\Documents\Embarcadero\Studio\23.0\CatalogRepository\AndroidNDK-21-23.0.53982.0329\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: C:\\Program Files (x86)\\Embarcadero\\Studio\\23.0\\lib\\Android\\Release/libsqlite_fde.a(sqlite3_fde.o): multiple definition of 'sqlite3_aggregate_context' The file libsqlite_fde.a exists in all delphi directories "lib/android/debug" and "lib/android64/debug". I attach all error strings. If anyone has an idea on how to fix it I would be very happy. Thanks. logs.txt