Questions tagged [delphi-10.2-tokyo]

Delphi 10.2 Tokyo is a specific version of Delphi released in March 2017.

Delphi 10.2 Tokyo supports development of applications covering 32-bit and 64-bit, 32-bit, server 64-bit, 32-bit and 64-bit, and 32-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the Mac and mobile platforms are built under the Firemonkey framework only.

Always use the tag alongside this tag.

References

558 questions
1
vote
2 answers

Downloading files using Indy TIdHTTP

I currently have a program that downloads a file from my VPS and extracts it. I want to make it download straight from the original website, but it doesn't want to work. I want to make it download this…
Newb101
  • 127
  • 3
  • 12
1
vote
1 answer

Delphi 10.2 Tokyo BluetoothLE not detecting any devices

I recently upgraded Delphi from Berlin to Tokyo, in Delphi 10.1 Berlin I can drop a BluetoothLE component connect a OnEndDiscoverDevices and once once I call .DiscoverDevices(ATimeout: Integer) after my timeout I get the devices in…
1
vote
0 answers

Delphi 10.2 FTP SSL

Here's my program ftp := TIdFTp.Create(); IdSSLIOHandlerSocketOpenSSL1 := TIdSSLIOHandlerSocketOpenSSL.Create(ftp); with IdSSLIOHandlerSocketOpenSSL1 do begin host := fhost; MaxLineAction := maException; port := 2111; ReadTimeout :=…
maruda
  • 11
  • 4
1
vote
0 answers

Delphi 10.2 unable to create process: Access denied

Installed Delphi 10.2 (Tokyo) and compiled my very first hello word application. Getting weird error "unable to create process: Access denied" while debugging or running application. Application gets compiled successfully, but the IDE is not able to…
jimsweb
  • 1,082
  • 2
  • 17
  • 37
1
vote
0 answers

Finding bug in FMX TabControl style

I am trying to track down a problem with the Jet style on Tab Control whereby when the tab is selected it goes white and the Icon disappears. The problem is only in the 10.2 Tokyo under iOS. How are events like "down" or "selected" handled in an FMX…
Martin
  • 815
  • 8
  • 21
1
vote
3 answers

how do i stop my app from running on Virtualbox?

I have tried this unit to detect if my application is running in Oracle VirtualBox, but it is not detecting VirtualBox. I have tested it with Windows 7 installed in VirtualBox. Is there any efficient way to prevent my VCL application from running in…
Vlark.Lopin
  • 762
  • 10
  • 21
1
vote
1 answer

Another Delphi Invalid Pointer Operation

This VCL Form program generates the Invalid Pointer Operation notice: Uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, …
Ashlar
  • 636
  • 1
  • 10
  • 25
1
vote
1 answer

Delphi 10.2 Tokyo transparant form not showing in Firemonkey multi device project

I'm updating my apps(Android, iOS) from Delphi 10 Seattle to Delphi 10.2 Tokyo. I have a few forms that use the transparency. I use this to create small popup like screens which still show part of previous form in the background underneath the…
Remi
  • 1,289
  • 1
  • 18
  • 52
1
vote
2 answers

Delphi - Checklist for PAServer Connection (Mac OSX)

I have spent the better part of a day trying to connect to PAServer on MAC OSX from my Windows PC with no luck. I am not sure what I am missing. I am using Delphi 10.2 Tokyo on Windows. Trying to connect to PAServer 19.0 on a Mac Mini running macOS…
Rohit
  • 909
  • 1
  • 9
  • 20
1
vote
0 answers

Dependency on libcgunwind.1.0.dylib

Is there a way to link the libcgunwind.1.0.dylib into the app that is compiled for MAC and not have a dependency? I want to be able to create a single console app that is not dependent on any dynamically loaded library. For windows application, we…
Sam
  • 2,473
  • 3
  • 18
  • 29
1
vote
1 answer

Delphi - Checking for Dropbox on OSX

I am writing a multi-platform application using Delphi 10.2 Tokyo Firemonkey. One of the things I need to check is if Dropbox exists on the computer. For this I need to check for the presence of an info.json file and then process that json file to…
Rohit
  • 909
  • 1
  • 9
  • 20
1
vote
1 answer

Delphi, Android, SSL - IdSMTP ConnectTimeout - after preset timeout does not terminate connection to the server

When I set ConnectTimeout at IdSMTP (for example, 30 sec) and the SMTP server is unavailable, it takes off from the SMTP server approximately 105 sec. This is the Indy component in version 10 - *250.bpl, OpenSSL v1.0.2. With IdFTP ConnectTimeout…
pudnivec74
  • 845
  • 1
  • 8
  • 22
0
votes
1 answer

Enabling High DPI makes TImage smaller at runtime than at design-time

I have a Form with width 700 and height 500. I put a TImage on it, with Align=alClient and Stretch=True set at design-time. At run-time, the Image pixels gets blurred. If I set the TImage.Stretch property to False, then at run-time the Image size is…
0
votes
1 answer

Delphi project compilation error: Packages 'A' and 'B' both contain unit 'C'

I have a Delphi project group consisting of three projects: Sales, Inventory, and Orders. In the Sales project, there is a unit called Customers.pas. The Inventory project has a unit called Products.pas that imports Customers from the Sales project.…
0
votes
1 answer

Copy TByteDynArray (array of byte) to string

How can I copy contents of a TByteDynArray variable to a string variable or even better, to a TMemoryStream? Remy, thanks for your answer. Well, I can't get it to work. I'm doing this: obtReferenciaPagamentoResponse.pdf is a TByteDynArray (array of…