Solved

Delphi XE 5 - windows

Posted on 2014-01-28
3
885 Views
Last Modified: 2014-01-28
Hi,

I cannot find info on embarcadero sites, were there any changes in compiler comparing to XE4 ?
I mean windows vcl apps.

Code which perfectly compiled in XE4, shows the error in XE5
[dcc32 Error] clUtils.pas(411): E2003 Undeclared identifier: 'TwoDigitYearCenturyWindow'

My guess it's not the same.
Does anybody know where can I found code migration from XE4 to XE5 tips?
0
Comment
Question by:johnnyex
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39815198
Have you checked the Embarcadero site?

I found this page that shows what is new in XE5 and has links to more information based on the development system you are using

http://www.embarcadero.com/products/rad-studio/whats-new

Delphi specific page
http://www.embarcadero.com/products/delphi/whats-new

mlmcc
0
 

Author Comment

by:johnnyex
ID: 39815219
lol are you serious by providing these links?
Can you tell me where you see there compiler changes and migration details there and code tips?
0
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 39815518
This document show quite in detail what is new in xe4, xe5

Use FormatSettings.TwoDigitYearCenturyWindow instead:
http://docwiki.embarcadero.com/Libraries/XE2/en/System.SysUtils.TwoDigitYearCenturyWindow
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question