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
0
votes
0 answers

vclactnband250.bpl is missing on non-delphi machine / runtime packages is false

If I run a project depending on my design time package on another computer I suddenly get: The program can't start because vclactnband250.bpl is missing from your computer. Try reinstalling the program to fix this problem. It used to work fine, I…
frank
  • 1
  • 3
0
votes
2 answers

List of devices connected to DataSnap Server

Does anyone know how to get IDs of devices connected to DataSnap Server? I made an application which uses DataSnap Server and I want to limit the connection and identify the connected devices.
Mahmoud
  • 35
  • 7
0
votes
0 answers

Delphi Callback Server using HTTP Protocol Always timeout after a few minutes

I have problem with setting Callback Server in Delphi Tokyo. I've setup a Datasnap WebBroker Server, then i use FDSCallBackClientManager.RegisterCallback(sCallbackID,FDSCallBack); on my client to connect callback server, it can connect and i can…
0
votes
0 answers

Accessing procedure arguments without their name

Not even sure if this is possible, but thought I would ask the hive mind. In Delphi, I know it is possible to loop through the component array of a form, accessing components 'indirectly' if you do not know their name (for instance, components that…
ConBran
  • 369
  • 2
  • 15
0
votes
0 answers

All IDE Component icons disappear when I open my project

I just upgraded to 10.2.3 (Tokyo) from Seattle on a laptop running Windows 10. I use & need some Scalabium components (by Mike Shkolnik) and have attempted to install the latest version from the downloaded .pas files - which are 10.2.3-compatible.…
Jack N.
  • 61
  • 7
0
votes
3 answers

How to cast a variable of specific type to generic T in Delphi?

Depending on the actual type of T, I want to return a specific value; here a simplified example (a record wrapper around some object): function TMyRec.TryGet(const Default: T): T; begin if TypeInfo(T) = TypeInfo(TMyObject) then Result:=…
maf-soft
  • 2,335
  • 3
  • 26
  • 49
0
votes
1 answer

What is the logic behind the bitwise not operator on constant integer values?

This question may sound silly but I can not understand the idea behind the not operator on constant integers. I get the following results: not $FF => $FF00 not $FFFF => $FFFF0000 not $FFFFFFFF => $00 not $FFFFFFFFFFFFFFFF => $00 The first two…
ventiseis
  • 3,029
  • 11
  • 32
  • 49
0
votes
1 answer

Delphi 10.2.3 E0776 exporting iOS app for Distribution

Two days ago, I was able to create an export of this iOS app and successfully submit it to Apple's TestFlight with Delphi 10.2.3 and Xcode 9.2. Now, when deploying for the Application store, I get these error messages: [PAClient Error] Error: E0776…
Mike at Bookup
  • 1,211
  • 14
  • 32
0
votes
1 answer

Trying to compile iOS device 64-bit in Delphi

I'm using Delphi 10.2 Update 3, with an iOS target of 11.3 and an iPad running iOS 10.3.3. When I try to compile my project for a iOS device, this error occurs: [DCC Error] E2597 ld: warning: directory not found for option…
0
votes
1 answer

Delphi Tokyo 10.2 TDSRestConnection DataSnap Connection on Windows 7

When running a datasnap client application with the componente TDSRestConnection on windows 7 i am encountered the following error: "Error sending data: (12030) The connection to the server was aborted abnormally." In windows 10 it runs normally. In…
0
votes
0 answers

epson code misread as string output

Printing using Epson codes in Delphi Tokyo. Function PrintRawData (built in to Winapi.Winspool library) appears to misread codes like 'ESC C' or 'ESC @' and prints 'C' and '@' instead of the prompts associated with said codes (Select page length &…
Cleo Gia
  • 1
  • 3
0
votes
0 answers

Parsing odata results from Dynamics using Delphi Tokyo 10.2

Here's an example of some data from Dynamics CRM using the Web API: { "@odata.context":"https://myurl.dynamics.com/api/data/v8.0/$metadata#bookableresources(_userid_value)","value":[ { …
SiBrit
  • 1,460
  • 12
  • 39
0
votes
1 answer

Exception caused by TDataSetProvider poUseQuoteChar and lowercase table names does not surface

The default TDataSetProvider.Options.poUseQuoteChar is true. I was (again) bitten by this when my SQL statement used a lower case table name and my TClientDataSet.ApplyUpdates(0) did not do any updates without raising an exception. In…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
0
votes
1 answer

How to determine the size of a buffer for a DLL call when the result comes from the DLL

Using both Delphi 10.2 Tokyo and Delphi XE2. I have a DLL that posts XML data to a site. The DLL is built with Delphi 10 in order to use TLS 1.2, which is not available with Delphi XE2. The call to the DLL comes from a Delphi XE2 EXE, but I don't…
TJ Asher
  • 737
  • 9
  • 27
0
votes
0 answers

Delphi FMX ListView Filtered and FDQuery.First

I have a listview connected to a query where the user marks some records using the AccessoryObject. At the end of the process I make a while in the query checking which records have been marked and retrieve some query information. But when I do a…
Tallys Ferrante
  • 173
  • 1
  • 13