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
7
votes
1 answer

How to properly statically link C with Delphi?

How can I properly statically link C with Delphi? Delphi spits out an error saying: [dcc32 Error] Project1.dpr(15): E2065 Unsatisfied forward or external declaration: 'Test' The C compiler is Visual C++ with COFF object file. Delphi: program…
user15124
  • 299
  • 3
  • 8
7
votes
4 answers

Return the root directory of Delphi executable

I have a Delphi application executing and when I call GetCurrentDir the following returns: C:\dev\w32\2015\BCSLBDemo\Win32\Debug When I call ExtractFileDir(GetCurrentDir()) I receive the following: C:\dev\w32\2015\BCSLBDemo\Win32 What I desire…
Arch Brooks
  • 183
  • 1
  • 3
  • 19
7
votes
1 answer

The IDE hangs when "|" is present in the source code. Is it a bug in Delphi XE8?

Whenever I type a "|" (vertical bar) in source editor, the Delphi IDE starts to hang. I tried to add the "|" in my source code via notepad before opening my project with Delphi then it seems that the IDE is hanging while opening the project. Example…
Wennie
  • 171
  • 1
  • 3
  • 13
7
votes
2 answers

Can I prevent XE8 from adding System.ImageList?

A Form in XE8 gets automatically the uses System.ImageList added. Like on the embarcadero site is said: System.ImageList contains the common for both FireMonkey and VCL code implementing the most basic device-independent features of image lists.…
davepaul12
  • 391
  • 4
  • 15
7
votes
1 answer

Asynchronous TADOQuery's OnFetchComplete not synchronized to main thread

When using TADOQuery with [eoAsyncFetchNonBlocking] and attaching to OnFetchComplete event I found that OnFetchComplete is not executing in the main thread (tested in XE4 and XE8). I assume this a bug*, since most of us will do work in the UI on…
7
votes
1 answer

List raw sensor data in Memo

I want to list all available raw sensor data in a Memo for Android. Following code worked over the past years, but it doesn't work with XE8. There is probably an internal compiler bug. Is there anything I can do to make it work again, or is there an…
Daniel Marschall
  • 3,739
  • 2
  • 28
  • 67
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
6
votes
2 answers

Delphi XE8: TEdit TextHint Disappears When Receiving Focus

Basically, I want the TextHint of my TEdits to disappear when the first character is entered and not when they receive focus, like the Edits on this Microsoft page: Sign in to your Microsoft account. Can someone please walk me through on how to…
6
votes
1 answer

How to add 64 bit target platform in Delphi XE8?

The help files say right click on the target platform in the project manager and select "Add platform", but when I do this the "Add Platform" item is greyed out. Is there another way to add the 64 bit platform?
Andy k
  • 1,056
  • 1
  • 11
  • 22
6
votes
0 answers

Cleartype font / text rendering in Firemonkey

Here is a sample VCL application containing just a TEdit control. If you compile a similar Firemonkey (FMX) application you will notice this: (The small L letter is jumping around like crazy) On my research i found this G+ post which results…
ChrisB
  • 2,497
  • 2
  • 24
  • 43
6
votes
1 answer

Recompile modified VCL unit

I have to compile my project with a changed VCL unit. I use Delphi XE8. I copied Vcl.StdCtrls.pas from D:\Program Files (x86)\Embarcadero\Studio\16.0\source\vcl to my project folder where my .dpr file is localed, then I changed my copy of…
hinst
  • 802
  • 1
  • 7
  • 16
6
votes
2 answers

Delphi XE8 unknown memory leaks in simple DataSnap client and server app

I have created a simple DataSnap client/server application with the wizard in Delphi XE8 using the echostring and reversestring sample methods. When I put "ReportMemoryLeaksOnShutdown := True" in the Server dpr and call the echostring and/or…
Arjan Mol
  • 61
  • 4
6
votes
1 answer

TObjectList<> Get item error

I'm trying to create TObjectList class in Delphi XE8, but i get errors when i try to get the value. compiler error message: "[dcc32 Error] : can't access to private symbol {System.Generics.Collections}TList.GetItem" Here is my code: unit…
Fabien Fert
  • 95
  • 2
  • 11
5
votes
1 answer

Image in TSpeedbutton with TImageList

I tried to create a toolbar, using a TToolbar with TActionList, TSpeedbutton and TImageList. I used square images with 32px, but when I chose the image, by ImageIndex, in the TSpeedButton, the image size is less than 32px, I think is 16px. How I can…
5
votes
2 answers

How to concat multiple strings with Move?

How can I concat an array of strings with Move. I tried this but I just cannot figure how to get Move operation working correctly. program Project2; {$POINTERMATH ON} procedure Concat(var S: String; const A: Array of String); var I, J: Integer; …
user15124
  • 299
  • 3
  • 8
1
2
3
32 33