Questions tagged [delphi-xe8]

Delphi XE8 is a specific version of Delphi released in April 2015.

Delphi XE8 is a specific version of Delphi released in April 2015.
It supports development of applications covering , , , (both 32 and 64-bit), and . 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.

Always use the tag alongside this tag.

494 questions
5
votes
1 answer

Drawing unicode text on listbox canvas is too slow

I am trying to display news from a RSS in a listbox using the following format as shown in the image below. The application on the screenshot has been developed in firemonkey by styling the listbox. I need to display the same in my VCL…
Rabi Jayasawal
  • 441
  • 1
  • 9
  • 18
5
votes
1 answer

Delphi REST mac memory leak

I am currently looking for a way around an apparent memory leak in the Mac implementation of the REST client. The code to generate the memory leak is the following (running XE8, update 1): program mac_REST_leak_test; {$APPTYPE CONSOLE} {$R…
jllangston
  • 127
  • 1
  • 5
5
votes
1 answer

TreeView's ScrollBar Not Accept VCL theme when mirroring

TTreeView's ScrollBar does not accept VCL themes when mirroring the Treeview by this code: procedure SetWinControlBiDi(Control: TWinControl); const WS_EX_NOINHERITLAYOUT = $00100000; WS_EX_LAYOUTRTL = $00400000; var ExStyle: Longint; begin …
smartiz
  • 151
  • 7
5
votes
1 answer

x64 debugging fail when Getit is disabled

I always try to disable unused packages to save some IDE memory. So in XE8u1 I try to disable GetIt (I never use it) by renaming "$(BDS)\Bin\GetIt220.bpl" in registry to "_GetIt". After that GetIt desappears from tools as expected, but strange issue…
BofA
  • 823
  • 7
  • 16
5
votes
5 answers

Delphi XE8 and Fatal Error F2039

With XE8 update 1, Win 7 64 bit and a single component added to an otherwise empty folder I get: error: [dcc32 Fatal Error] F2039 could not create output file .\Win32\Debug\MountTest. The test will compile and run fine the first time but XE8 has to…
Seti Net
  • 693
  • 1
  • 7
  • 24
5
votes
1 answer

invalid imagelist index - Delphi XE8

While working with Delphi XE8 multi-device app (android), this error keeps popping up: 'Invalid ImageList Index'. Details: [507A7424]{vcl220.bpl } Vcl.ImgList.TCustomImageList.Delete (Line 664, "Vcl.ImgList.pas" + 2) +…
hsh_Ar
  • 93
  • 7
5
votes
3 answers

Why do literals of the form [...] have meaning that appears to depend upon context?

Consider the following program: {$APPTYPE CONSOLE} type TMyEnum = (enum1, enum2, enum3); var Arr: TArray; Enum: TMyEnum; begin Arr := [enum3, enum1]; // <-- this is an array for Enum in Arr do Writeln(ord(Enum)); …
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
5
votes
1 answer

What pointer-related things don't work in Delphi XE8's mobile compilers?

Embarcadero's docwiki page LLVM-based Delphi Compilers lists several language changes in Delphi XE8. One of the bullets says: Use of pointers is not supported by LLVM-based Delphi compilers. What exactly does this mean in practice? Which…
Side S. Fresh
  • 3,015
  • 2
  • 16
  • 18
5
votes
3 answers

Delphi XE8. FMX. Why is different release order of CLASS VAR on Android platform?

Tested with Delphi XE7 Update 1 and Delphi XE8 Create order on Windows OS (7 SP1 x64), MACOSX (10.10.3) and Android (5.0.2): "class constructor TGlobalClass.Create;" -> "constructor TfmMain.Create;" -> "procedure TfmMain.FormCreate(Sender:…
Zam
  • 2,880
  • 1
  • 18
  • 33
5
votes
1 answer

How to translate alignof to Delphi?

How can I translate alignof operator to Delphi? I need it to translate #define INET_IS_ALIGNED(Pointer, Type) \ (((ULONG_PTR)Pointer & (__builtin_alignof(Type)-1)) == 0)
user4855729
  • 147
  • 5
5
votes
0 answers

Using Print TO PDF file in TChromium (Chromium Embedded)?

In Delphi XE7/XE8 with TChromium (DCEF3), I need to programmatically print (i.e. save) the current web page to a PDF document file (optionally without user interaction) to a predefined local path. Currently I can do this only indirectly by using a…
user1580348
  • 5,721
  • 4
  • 43
  • 105
4
votes
1 answer

running multiple commands in cmd with Delphi

I am trying to use cmd from Delphi to apply some commands. I use following code ShellExecute(Application.handle, 'runas', 'cmd.exe', PChar('/c command to do '), nil, SW_show); I want to run more than one command in the same execution, for…
Vlark.Lopin
  • 762
  • 10
  • 21
4
votes
1 answer

How to properly access a VARCHAR(MAX) parameter value of a FireDAC dataset when getting "data too large for variable" error?

Our application updates and accesses data using SQL Server 2014. I have a table of which the last column ('Contents') is created as VARCHAR(MAX). We are using Delphi XE8, and are using a FireDAC TFDQuery component to update this column.…
Alex
  • 543
  • 1
  • 9
  • 21
4
votes
2 answers

How to get app resume state on iOS and Android?

Is there something that can be checked from code point of view when an App is resumed on iOS and Android? e.g. when an app gets minimized and restored (app is still running in background of device).
6String_Coder
  • 517
  • 10
  • 30
4
votes
0 answers

XE8 iOS Simulator wont open App

I'm currently working on an iOS App in Rad Studio XE8. I try to run it on an Mac mini via PAServer, which made me some trouble. NowIi get a connection to the Mac Mini and I am able to deploy my app. The simulator starts and shows the FireMonkey…
1 2
3
32 33