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

How to Create/Edit a text file (.rtf) for Mac Osx in fireMonkey Rad studio XE2?

I have created a Fire Monkey HD app in Rad Studio xe2.I have created text file for windows in my application using AssignFile() method.Now I want to create text file for MAC OSx.How can I do it??
Farhan Ali
  • 171
  • 1
  • 9
2
votes
1 answer

How to reproduce this Code Completion bug?

I'm having a bug on Delphi XE2 (Update 4 Hotfix 1), which reproduces many times on the legacy project I work (it evolved from D6 to D7,D2006 and finally XE2), but I didn't know how to trigger it in a smaller project. The latest time, it triggered on…
Fabricio Araujo
  • 3,810
  • 3
  • 28
  • 43
2
votes
1 answer

Speed Improvement of threads Delphi

My question is regarding types/kinds of application improvements. I would like to improve my thread speed(I can not improve thread's complexity). My question is if instead of integer/longint as parameters to functions I will use byte as type will…
user558126
  • 1,303
  • 3
  • 21
  • 42
2
votes
0 answers

Delphi XE2 Shared Respository

We have recently migrated from Delphi 7 to Delphi XE2. For both environments we use a "shared repository" on the network. This worked eloquently in Delphi 7 but we cannot seem to duplicate it in Delphi XE2. I have done so many searches on the…
Ann Gossard
  • 123
  • 8
2
votes
1 answer

How to keep a program responsive while executing Anydac Query?

With sdac I can let the program responsive for user input as : while Query.Executing do begin Application.ProcessMessages; Sleep(1); end; How do I implement the same code with anydac query (there is no similar function)? I'm using delphi xe2…
ae1080
  • 374
  • 2
  • 7
  • 14
2
votes
3 answers

Delphi - Saving TStringStream to SQL

I am using Embarcadero Delphi XE2 I'm creating a fastreport (its not that important) and saving it to TStringStream Next just for tests I output that TStringStream to file, and the PDF saves fine and opens fine. It weights about 40KB (less) What I…
Jacek Pietal
  • 1,980
  • 1
  • 18
  • 27
2
votes
3 answers

mysql syntax to return latest total of multiple lines

That may be the worst title I've ever written! I have a table with entries similar to this: 1 ¦ ABC1 ¦ 21 2 ¦ DEF2 ¦ 43 3 ¦ DEF2 ¦ 44 4 ¦ XYZ9 ¦ 18 5 ¦ ABC1 ¦ 19 I'm trying to phrase a statement in MySQL that would return just: ABC1 ¦ 19 XYZ9 ¦…
Jon K.
  • 247
  • 1
  • 3
  • 13
2
votes
2 answers

Can Delphi insert Excel 2007/2010 table

I have a Delphi XE2 Application that dumps out a large amount of data to Excel. As we user Excel 2010 the users have asked whether it is possible for that data to be formatted as a Table i.e. with the built-in filters and search tools in the header…
Dan Kelly
  • 2,634
  • 5
  • 41
  • 61
2
votes
2 answers

Build with runtime packages on Delphi XE2

I found a similar question but did not find the answer. The question is how easily to add all installed runtime packages to the list in "project options/package/runtime packages" in a Delphi XE2 project? In XE and earlier versions you can do it by…
Molochnik
  • 704
  • 5
  • 23
2
votes
0 answers

Pass strings between application and DLL with Delphi

I need write a DLL and an application with Delphi (XE2 or XE3). I need pass a paramenter with many strings from application to DLL then I need send many strings from DLL to application as result. Besides my DLL must be compatible also with C++…
Martin
  • 1,065
  • 1
  • 17
  • 36
2
votes
1 answer

How to construct a build server if unable to build in one step in Delphi XE2

There is a known bug in the last few versions of Delphi that causes a memory leak when compiling large projects and I don't think it has a work around, if it does I'd like to know. But, if this is just a problem that has no solution, how would one…
Peter Turner
  • 11,199
  • 10
  • 68
  • 109
2
votes
1 answer

Random File Name

i have a folder called MAPS. I would like when a menu item is selected , in this case its Maps->Random. That it will randomly select one of the file names in the folder map. how can i make it random?
Glen Morse
  • 2,437
  • 8
  • 51
  • 102
2
votes
0 answers

How to show transfer progress during a DataSnap transmission?

I have a ISAPI DataSnap server and a client application, which communicate over the web. I have been looking for a way to show data transmission progress when the client application is retrieving data or applying updates, but so far I haven't found…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
2
votes
1 answer

DataSnap Master/Detail Relationship - Post raises exception with message "No corresponding master record found"

A duplicate of this question, but since the answer there wasn't accepted I thought maybe there's a workaround. I have two TSQLTable components on my datasnap server which are in a master/detail relationship, and one TDataSetProvider linked to the…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
2
votes
1 answer

Appended email missing sender, subject, recipients using Indy IMAP and Delphi XE2

Using Delphi 6 I used the following line to append an email to the sent folder using IMAP: if IMAPClient.Connected then begin IMAPClient.AppendMsg(EMAIL_SENT_FOLDER, TheMessage, TheMessage.Headers, [mfSeen]); end; If the email had attachments…
TJ Asher
  • 737
  • 9
  • 27