Questions tagged [delphi-xe2]

Delphi XE2 is a specific version of Delphi. Delphi XE2 was released on September 1, 2011 and is available as a standalone product or as part of RAD Studio XE2.

Delphi XE2 is a specific version of released on September 1, 2011.

Notable new features of Delphi XE2 are:

  • Support for 64 bit applications (on Windows only);
  • Inclusion of a new framework called that allows for cross platform development;
  • Cross platform development for Mac OS X and iOS(*) (in addition to Windows);
  • Live bindings, a new data binding concept for VCL and FireMonkey that supersedes data-awareness of controls.

*iOS projects require an extra development step using Xcode and the Free Pascal compiler on a Mac, but do deliver native iOS code.

Delphi XE2 was preceded by .

Always use the tag alongside this tag.

2598 questions
1
vote
3 answers

Embeded DB for Firemonkey apps

Creating a client application, want the whole DB to be embed in the software or in a single standalone dll (ie sqlite), not something like mysql. Whats built into XE2 which would work 'out of the box' and not need thirdparty tools? Other than…
Wizzard
  • 12,582
  • 22
  • 68
  • 101
1
vote
1 answer

About TidHttp, mshtml, ActiveX, COMObj in Firemonkey (Delphi)

I was reviewing the following interesting article, "Extract Links from HTML page using Delphi", and I tested in Firemonkey and it's very useful, however this code uses objects from Mshtml, ActiveX, and COMObj, so my questions are: do those objects…
1
vote
2 answers

Problem with TAdvMemo component (about wordwrap)

I am using TAdvMemo. My problem is with the WordWrap property. It works very well when I type text in the text area, but when I add a string to it in code, it has no effect. I have set WordWrap property to: wwRightMargin and RightMargin property to…
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
3 answers

Firemonkey and TDownloadUrl

I have an (Delphi XE2) VCL app containing an object TDownloadUrl (VCL.ExtActns) to check several webpages, so I wonder if there is an equivalent object in FireMonkey, 'cause I wanna take advantage of rich features from this new platform. A…
1
vote
0 answers

Disconected session Rad Studio XE2

I have a problem when running a project on XE2 it sends me a "Session disconnected" error, this happens when I try to run the project on 64 bit. Does anyone know how to fix it? Running the project without debugging runs it normally, but running with…
1
vote
1 answer

When typing at the end of the editmask, it will pass the number to the left side until it reaches the last one

Good afternoon, I'm doing a project in delphi that uses editmask. I'm using the phone mask. When clicking on edit to write the phone number, it goes to the last field on the right, so it is necessary to go back with the backspace to the beginning of…
1
vote
5 answers

Third party component for zip file(s)/folder(s)

Someone knows a third party component that allows to visually manage zip file(s) / folder(s)? For example as is in WinZip application (es: add, delete new file in zipfile etc)?
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
1 answer

Namespace and units

i have understood that a namespace is a container of units; but i haven't understood well as work with it. I try to explain better, about what i want tell. For example i have four units: 1) Animals // es: class TAnimals 2) Animals.Dog …
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
3 answers

Delphi xe2 and filectrl unit

i have this problem; i need call filectrl unit in a my unit. Of course, i do: uses filectrl in interface section but it not is detected. I have tried too with system.filectrl but not found too this. I have searched in help (online and local) but…
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
2 answers

When will a constant be created in Delphi XE2?

I am using Delphi XE2 and I have to write a function which needs some constant arrays. If I declare these inside the function, when will they be created? Each time when the function runs or only once? Example: function Something; const Arr:…
1
vote
1 answer

128 bit operation with delphi

I need to convert a hexadecimal value to a decimal integer. Is there some unit that can do this? On the web I have found something about it but it is not helping me much. I understood that using inline asm it is possible to represent it as a packed…
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
5 answers

Why does calculation using real give different result from one using int?

I have this code for example: (a) writeln ('real => ', exp(3*Ln(3)):0:0); // return 27 (b) writeln ('int => ', int(exp(3*Ln(3))):0:0); // return 26 Is a bug? The function calc 3^3 (exponent using ln and exp function), but conversion from real to…
Marcello Impastato
  • 2,263
  • 5
  • 30
  • 52
1
vote
1 answer

How to parse JSON with XE2 dbxJSON

I am using XE2 and trying to parse a JSON file sent by a robot to a URL. I've looked at several solutions, but most don't apply due to my version of Delphi. I tried to apply the solution I found here: How to parse nested JSON object in Delphi XE2?,…
E Demers
  • 103
  • 1
  • 8
1
vote
2 answers

Delphi Indy 10 IdHTTPProxyServer Modifying Headers

I am trying to develop a CORS proxy server in Delphi XE2 using Indy 10 so that I can get around the issue of embedding sites into an IFrame where sites have added X-Frame-Options to the response headers. Can anyone give me some example code as to…
1
vote
0 answers

Delphi, HighCharts and UniGui setData not working on recreated frames

Hi Everyone and Thanks in advance. I have created a web application using delphi xe2 and unigui. In my application, I display charts using Highcharts for delphi(THTMLCharts) with the use of UniGui. In displaying charts, this is the original…
1 2 3
99
100