Category "delphi"

Disabling Security in TEdgeBrowser

I've seen examples in C# where people disabled security (so the user doesn't have to click continue on cert errors) in WebView2 by changing the CoreWebView2Envi

Disconnect socket at AcceptExHookProc

i'm trying disconnect a socket at AcceptExHookProc routine. i hooked AcceptEx at .dll and injected at .exe app who i want disconnect socket if ip connected at s

Dialogs.res, Controls.res not found

Both files were not found during the compile process on one dedicated system with Delphi 10.4 and Windows 11. The complete project has been compiled w/o problem

Connect database table to StringGrid with LiveBindings via code

I want to use LiveBindings to connect a database table to a StringGrid, but I don't want to use the LiveBindings Designer, I want to do it manually via code. Th

publishing to Application play store from Delphi community edition 10.4

I am a retired disabled programmer who is battling to publish a simple but fun game to the application store. I am using the Delphi community edition version 10

iOS launch screen for light and dark modes

I follow the instruction in RSP-12931: Native resolution not supported on iPAD Pro to create an iOS LaunchScreen for my Delphi app. Now, with iOS 13, the proble

How to set TGridLayout Height based off amount of items in grid

How does one set the height of A TGridLayout to be set based off the amount of items in the grid ? I have a grid with products in it which the user can purchase

Generate random password in Delphi

I have a following function to generate random passwords: function GeneratePassword(ALength: Integer; Mode: TPasswordMode): string; const cLower = 'abcdefgh

How to clear a customer display using TComPort with Delphi 10.2?

I am using TComPort v6.0 from Winsoft to connect to my COM5 device which is a customer display from Oxhoo.(Prolific PL2303 USB-to-Serial Com Port) I would like

Delphi FastMM4 how read MemoryManager_EventLog.txt?

I have added FastMM4 to my project for detect a memory leak program MyProg; uses {$IFDEF DEBUG} FastMM4, {$ENDIF} ...other uses on form close FastM

Delphi: extract value from string with multiple separators and delimiters

I have a string like this: ;EncoderMin:250;EncoderMax:5755;MinPixel:-240;MaxPixel:980; Given a function that returns a variant type and accepts as parameters

Нow to define a constant managed record with an overridden assignment method

I'm writing a program for mathematical research. Assembly language is used for speed. Data is represented as managed records with operator overloads. Some data

How to save & load TFrame contents?

I use the following code to save & load my Form: public constructor Create(AOwner: TComponent); override; procedure BeforeDestruction; override; var

Cross-form variable with Multiple forms

I'm a Highschool student working with Delphi 2010 and currently working on a projects. I'm having some trouble using a variable assigned a value on one form, on

Delphi, linking database stored on onedrive

I would like to connect my ado connection to a database stored on onedrive so after the development of my application... It can be distributed to multiple users

Delphi 10 Seattle IDE assertion failure when debugging project

I'm working on a project using Delphi 10 Seattle with Update 1. It's a new installation on a Windows 10(64bit) box. When I debug the program, I get this strange

Delphi and FireMonkey WebBrowser Callback using file://

I am using 10.2.2 Tokyo Enterprise and FireMonkey's TWebBrowser in an App. I wish to receive a callback response, but I don't receive a URL back when the Should

Save OLE Embedded documents in Outlook email to file

I am using late binding to connect to MS Outlook and to open and extract info from outlook emails using the MailItemobject. I am trying to save attachments to f

How to remove the top bar from a resizable form on Windows 10?

I am trying to remove title-bar of a form while keeping the border to have a resizable form. I set the BorderStyle to bsNone and override the CreateParams proce

Building windows store application in Delphi 11 failing

I'm trying to build an Ad Hoc Windows Store application in Delphi 11 (MSIX), but I'm getting an error when I try to build the MSIX file. [PAClient Error] Error