Skip to main content
0 votes
0 answers
117 views

Using Delphi 10.3, FireDAC, 64 bit application, MySQL. Error: Could not convert variant of type (Null) into type (OleStr) Really simple query as a test: FDQuery1.Close; FDQuery1.Sql.Clear; FDQuery1....
AndyD's user avatar
  • 9
Advice
0 votes
5 replies
115 views

My Delphi application uses SQLite for its database. My understanding is that the database connection control TFDConnection has a default row count of 50 records. If true, there should only be 50 ...
Skypilot65's user avatar
Advice
0 votes
1 replies
181 views

The following minimal example does not compile in Delphi 12.1: program Project1; {$APPTYPE CONSOLE} uses System.RTTI; var Value: TValue; begin TValue.Make (0, TypeInfo (TObject), Value); ...
Valerian K.'s user avatar
0 votes
0 answers
151 views

I have installed a new printer (HP Office Jet Pro 9010) and removed all old printers from the list via Windows in the "Printers and Scanners" menu (remove device). After that, when I try to ...
Daniele's user avatar
  • 109
2 votes
0 answers
135 views

How can i intercept the Back navigation button/gesture in the latest Delphi and Android versions? In the past, with Delphi 11 and Android 12 (maybe 13), i used vkHardwareBack in the Form OnKeyUp event,...
Hawkins's user avatar
  • 21
0 votes
0 answers
81 views

I’m trying to implement this iOS delegate method in Delphi: - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
zeus's user avatar
  • 13.3k
1 vote
0 answers
104 views

I'm trying to write a CLAP plugin - a library that is used by another application. The API provides a parent HWND to embed the form of your plugin into the forms of the host application. With VCL ...
natraj's user avatar
  • 75
Best practices
0 votes
3 replies
157 views

The title says it, but here is an example: try // ... raise EFileNotFoundException.Create('File not found!'); except on E: EFileNotFoundException do begin E.Message := Format('"%s":...
T0mmiTheGreat's user avatar
Advice
1 vote
4 replies
132 views

I have a TImage bitmap on a form, and a TPaintBox with the same dimensions. The user draws some polylines on the paintbox canvas. Using paintbox means they can "erase" a line if needed and ...
ChrisH's user avatar
  • 139
0 votes
0 answers
71 views

I get this log continuously (every render frame): E/TransactionCallbackInvoker: [SurfaceView(...)(BLAST)] writeReleaseFence failed. error 32 (Broken pipe) It comes from the system (SurfaceFlinger), ...
zeus's user avatar
  • 13.3k
3 votes
1 answer
177 views

I am implementing a message passing mechanism in a multi-threaded Delphi 2010 VCL application. My background threads need to send various DTO records to the main UI thread. I am using a generic ...
Sashko1121's user avatar
Advice
1 vote
5 replies
161 views

So I'm uploading around 50MB into a longblob in a local mysql server. Using LoadFromStream, setting the param value is near-instantaneous but the execution of the UPDATE statement takes around 2 ...
oui's user avatar
  • 113
0 votes
2 answers
177 views

I am trying to use the Shopify GraphQL Admin API from Delphi. Came up with the following code: procedure TestShopify; var Client: TRESTClient; Request: TRESTRequest; Response: TRESTResponse; ...
Benjamin Keresztes's user avatar
3 votes
1 answer
179 views

When trying the following code it will not compile as I receive this error: Type parameter 'T' is not compatible with type TBase I want this type constraint to support the Save method being typed to ...
Richard Shuck's user avatar
2 votes
2 answers
240 views

I want to be able to write a function such as below, but can't get the typeinfo or type reference for the unconstrained generic type of TMyBase<T>. type TBase<T> = class end; ...
Richard Shuck's user avatar

15 30 50 per page
1
2 3 4 5
3504