Questions tagged [delphi-10-seattle]

Delphi 10 Seattle is a specific version of Delphi released in August 2015

Delphi 10.0 Seattle supports development of applications covering Windows 32-bit and 64-bit, 32-bit, 32-bit and 64-bit, and 32-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the rest of the supported platforms are built under the Firemonkey framework only.

Always use the tag alongside this tag.

626 questions
6
votes
1 answer

Delphi 10 Seattle Automated Builds

I'm trying to add automated builds of our Delphi 10 Seattle projects to our build server (which currently builds all our .NET and Java projects). Now that Delphi uses MSBUILD it integrates well with TeamCity. I can build things locally on a machine…
Simon Clough
  • 2,323
  • 1
  • 13
  • 14
6
votes
1 answer

How to avoid function result being destroyed by Free inside function?

This code creates an AV: function PAIsMainAppWindow(Wnd: THandle): Boolean; var ParentWnd: THandle; ExStyle: DWORD; begin if IsWindowVisible(Wnd) then begin ParentWnd := THandle(GetWindowLongPtr(Wnd, GWLP_HWNDPARENT)); ExStyle :=…
user1580348
  • 5,721
  • 4
  • 43
  • 105
6
votes
0 answers

Receiving iOS Push Notifications on Delphi 10 Seattle

The main goal here is to generate and receive Push Notifications for iOS using Delphi 10 Seattle. I'm trying to follow this video but so far I've been able only to successfully send push notifications. There's this incredible tutorial that helped…
Machado
  • 14,105
  • 13
  • 56
  • 97
6
votes
2 answers

Firemonkey: TWebBrowser not shown when using it in form with BorderStyle None

I am developing a Firemonkey application in Delphi XE8 and found the following situation: I need to show a small webpage in a small form with only a TWebBrowser control with Align:=Client and Form BorderStyle = None but for some reason in Windows…
Miguel Febres
  • 2,153
  • 2
  • 21
  • 31
5
votes
2 answers

Variable Type for searching both with id and string

I need to store in memory about 500-1000 entries of 3 fields with quick and effective search by both int and str values. Searching happens in quick bursts of about 300-500 requests. I'm not sure how to efficiently do it. Stored data consists of 3…
Alexander
  • 388
  • 1
  • 12
5
votes
1 answer

What apart from the "Compiling" options can change code gen in 64 bit?

Introduction I encountered a problem with Currency in one of our applications. I was getting different results in Win32 and Win64. I found an article here that shows a similar problem but that one was fixed in XE6. The first thing I tried to do was…
Graymatter
  • 6,529
  • 2
  • 30
  • 50
5
votes
1 answer

is there a way to obtain the same result than set compiler flags at runtime for PEFlags?

years ago i stumbled in the C0000006 external exception when running a large (100+MB) exe from a shared folder on some particular LANs. So I started using the compiler flags described in this question. After years of succesful "execution of exe" on…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
5
votes
0 answers

Why can't I use TArray as a class constant?

When I try and use an array constant inside a class then I get the following error: [dcc32 Error] TestConstants.dpr(14): E2086 Type 'TArray' is not yet completely defined The same code compiles fine when I use it as a global constant or when I…
Graymatter
  • 6,529
  • 2
  • 30
  • 50
5
votes
2 answers

MessageDlg does not make sound

I have the code below : IF MessageDlg('Delete?',mtConfirmation,[mbYes,mbNo],0) = MrYes THEN Begin ///Do Something; End Else Begin ///Do Something; End; When the Style is Windows the MessageDlg function play the sound , but if I change the Style to…
Ilyes
  • 14,640
  • 4
  • 29
  • 55
5
votes
2 answers

How to analyze the filesize of an exe built with Delphi?

I would like to have a report that explains clearly why an exe built with Delphi has a specific size. For example something like this: filename: Project1.dpr - total size 100MB Details: - unit1.dcu - 20MB - unit2.dcu - 60MB -…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
5
votes
2 answers

Is it any way to add .map file as resource of the project when compiling?

I'd like to add the map file as resource, then extract the file every time that execute the system, to ensure that the map file is always right, and make the life of support easier. In Delphi 7 I can compile the project, with the map file as…
5
votes
1 answer

Why form.show is called before form.create in firemonkey?

Everyone know tell me why Form.show is called before that Form.create if property Form.visible = true. I tested in Delphi XE7 and Delphi 10 Seattle (Fmx form compiled for windows) Ex: procedure TForm1.FormCreate(Sender: TObject); var …
5
votes
1 answer

How to parse to TDateTime a date time returned from a JSON String in Delphi XE 10

I receive the following JSON from a request: { "cdPlayer": 3, "nmPlayer": "Player Name", "dtCreate": "2016-08-24T22:53:31.687", "dtChange": null, "idStatus": true } I would like to load convert dtCreate and dtChange to TDateTime. How to…
Pascal
  • 2,944
  • 7
  • 49
  • 78
5
votes
1 answer

Dynamically show/hide properties in the IDE Object Inspector?

I came across an interesting feature while using Delhpi 10 Seattle. In Firedac, specifically a TFDConnection component, the Params property has some voodoo magic which can dynamically show and hide the properties in the IDE on the fly, depending on…
Jerry Dodge
  • 26,858
  • 31
  • 155
  • 327
5
votes
1 answer

Delphi - TStringList Save/Load to stream encoding

I'm working with TStringList with TMemeorySteam a lot in my project. msTmp := TMemoryStream.Create; try lTemp.SaveToStream(msTmp, TEncoding.Unicode); finally msTmp.Free; end; ..... lTemp := TStringList.Create; try …
RepeatUntil
  • 2,272
  • 4
  • 32
  • 57
1 2
3
41 42