Questions tagged [delphi-xe7]

Delphi XE7 is a specific version of Delphi released in September 2014.

Delphi XE7 is a specific version of Delphi released in September 2014. It supports development of applications covering Win32, Win64, OSX, iOS, and Android. Windows applications (32bit and 64bit) may be built using either the VCL framework or the Firemonkey (FMX) framework, whereas the rest of the supported platforms are built under the Firemonkey framework.

Always use the tag alongside this tag.

909 questions
6
votes
2 answers

Rounding error with TDateTime on iOS

When calculating a 32bit ID from a timestamp (TDateTime), I get a strange error. In certain situations, the value is different on different processors. The fTimeStamp field is read from a Double field in a SQLite database. The code below calculates…
Hans
  • 2,220
  • 13
  • 33
6
votes
1 answer

Delphi XE7 smart pointers

I am new to Delphi with a C++ background and trying to figure out how smart pointers can be implemented. I came across the following post, which I am trying to use as my own starting point: Delphi - smart pointers and generics TList However I can't…
BigONotation
  • 4,406
  • 5
  • 43
  • 72
6
votes
1 answer

How do I set each TWebBrowser to use an independent proxy?

I have found all kind of examples about how to make TWebBrowser use a proxy (like 202.8.128.5:8080). However all those examples are changing the proxy globally for all running instances of TWebBrowser. I have two instances. How do I set a different…
Beno
  • 163
  • 8
6
votes
1 answer

Base64-decode a string using NetEncoding in Delphi XE7?

In Delphi XE7 Update 1, when trying to execute this code in a VCL program: uses System.NetEncoding; ... tempstring := TNetEncoding.Base64.Decode(tempstring); I get this error message: So how can I base64-decode a string using NetEncoding?
user1580348
  • 5,721
  • 4
  • 43
  • 105
6
votes
1 answer

How do I map custom HTTP method prefixes on a Delphi DataSnap REST server

RESTful services created with Delphi's DataSnap provide a default mapping of prefixes for exposed REST methods from the DataSnap server based on the HTTP method type. These are as follows: HTTP Method type Prefix Example GET …
Cary Jensen
  • 3,751
  • 3
  • 32
  • 55
6
votes
1 answer

How to set 'Version info' in Delphi XE7? [Delphi design issue]

I just upgraded one of my projects from Delphi XE to XE7. The version info for 'All platforms/All configurations' global target (should I call it 'base'?) was copied correctly from the old project. Company name: xxx File version: 3.2.1 …
Gabriel
  • 20,797
  • 27
  • 159
  • 293
6
votes
1 answer

What is 'Limited Debug Information'? (Full “Debugging Information" generates huge EXE files)

I installed Delphi XE7 recently. When I first compiled an old app my jaw dropped when I have seen that the size of the EXE increased with 10MB! Playing in the 'Project options' I discovered that setting the 'Debug information' to 'Limited Debug…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
6
votes
1 answer

Excel 2010 automation constants not working in Delphi XE7

I am trying to convert a program from Delphi 2010 to Delphi XE7 (32 bit/windows VCL). Code that used to work in D2010 that automated Excel via late binding OLE now gives the exception "Unable to set the Window state property of the application…
CHEAPS
  • 179
  • 3
  • 13
6
votes
1 answer

Best way to synchronize two threads with each other in Delphi

I am currently trying to find the best (*) way to have two threads running alternatively and make them wait on each other. (*) best combination of being quick while having low CPU cost I found three ways so far which I put together in some demo…
Stefan Glienke
  • 20,860
  • 2
  • 48
  • 102
6
votes
4 answers

JVCL installation Delphi XE7

I have recently installed Delphi XE7 and have been adding my 3rd Party components sets. I also have Delphi 7, XE4 & XE6 on my dev machine. When running JVCL 3.48 install I am getting the option to install or update 7, XE 4 & XE 6 but not XE 7. What…
Eishman
  • 125
  • 2
  • 3
  • 9
6
votes
4 answers

Barcode reading Delphi xe7, event after intent not triggering

In my app, developed with XE7 for Android/iOS, I have a form for scanning barcodes. Upon a found barcode, my app validates whether it is an acceptable barcode or not. Following tutorials here:…
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
5
votes
1 answer

How to set the application font at design time?

I've read that the most centralized way to have font-consistency through a project is to have all controls with the ParentFont property active and set the Application.DefaultFont at runtime. I would like to apply a different font, say 'Segoe UI', in…
Fabrizio
  • 7,603
  • 6
  • 44
  • 104
5
votes
0 answers

Is the VCL dramatically slower with Japanese texts?

I'm using RAD Studio XE7 (C++ Builder). For one of my projects, the main form contains several components, like panels, buttons, labels, edit boxes, ..., and several of them have the "auto-size" property activated. Until now I always displayed…
Jean-Milost Reymond
  • 1,833
  • 1
  • 15
  • 36
5
votes
1 answer

Start application without administrator rights

Once you've started an application with Administrator permission, programs executed using ShellExecute in that application will inherit the Administrator permission. But that isn't what I want: it just has to start regularly without the extra…
renevondecafe
  • 129
  • 1
  • 7
5
votes
1 answer

Wrong icon used as default icon after loading icons from a RES file

I am trying to create a custom component that shows an icon when the mouse is moved over it. I am loading the icons like this: UNIT Test; constructor TTestPath.Create(aOwner: TComponent); VAR myIcon: TIcon; begin inherited Create(aOwner); …
Gabriel
  • 20,797
  • 27
  • 159
  • 293