[i18n] XE4, XE5, x64 compiler implemented

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

[i18n] XE4, XE5, x64 compiler implemented

Postby arhangelsoft » January 6th, 2014, 11:06 am

Greetings to all!

Today I've updateted i18n localization components package :wink:

What new:
- Delphi XE4 supported
- Delphi XE5 supported
- x64 compiller supported from XE2 to the future

...and sharing with you O:) O:) O:)

Instructions:
Download package.
Open DPK's files:
i18n
i18nDB
i18nDesign

Add 64 platform to target platforms for i18n and i18nDB packages.
i18nDesign must be win32 always, isn't need x64 for design-time.

Open settings of i18n and i18nDB, and set "Unit output directory"(all configurations - all platforms) to ".\Compiled\$(Platform)\$(Config)\"

In delphi settings for win32, win64 platforms, set" browsing path" to "<path to components folder>\Packages\Compiled\$(Platform)\$(Config)\"
Set "library path" to "<path to components folder>\Packages\"

Now need build packages:
1. Swith all packages to win32 platform and release config, and build, after that compile, as following:
1. i18n
2. i18nDB
3. i18nDesign

2. Swith all packages to debug config, and build, after that compile.

3. Swith i18n and i18nDB packages to win64 platform and release config, and build, after that compile, as following:
1. i18n
2. i18nDB
3. i18nDesign

4. Swith all packages to debug config, and build, after that compile.

5. Install i18nDesign package

If you do all as I said, your projects will be compiled for both platforms(Only if you don't have any other components without win64 platform support).

Sorry, can't upload to forum. It's so big.

Download link(7z archive)


x64 compilation & using tested on Delphi XE4.

If you have Dlphi XE2, Delphi XE3, Delphi XE5, please, try to install & use components on it, also don't foget about x64 compilation of packages and using in x64 project.
arhangelsoft
Junior Member
Junior Member
 
Posts: 39
Joined: February 16th, 2012, 9:56 pm
Location: Belarus, Minsk

Re: [i18n] XE4, XE5, x64 compiler implemented

Postby Kambiz » January 12th, 2014, 9:18 pm

Thanks a lot for sharing your work!

Do the changes are only in the package files or the code needs to be adjusted too?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: [i18n] XE4, XE5, x64 compiler implemented

Postby arhangelsoft » January 15th, 2014, 7:13 am

No, in the code I made check ($IFDEF DELPHI_XE2_UP) and insert RTTI info about supporting platforms for component class, if XE2(or XE3 or XE4 or XE5 etc..) defined.
Example for TLocalizer component.
Code: Select all
  {$IFDEF COMPILER_XE2_UP}
    [ComponentPlatformsAttribute(pidWin32 or pidWin64)]
  {$ENDIF}
  TLocalizer = class(TComponent)
 ....
arhangelsoft
Junior Member
Junior Member
 
Posts: 39
Joined: February 16th, 2012, 9:56 pm
Location: Belarus, Minsk

Re: [i18n] XE4, XE5, x64 compiler implemented

Postby Kambiz » January 15th, 2014, 8:02 pm

Thanks for the information!

I'll use your code to release an update, hopefully this weekend.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Re: [i18n] XE4, XE5, x64 compiler implemented

Postby Kambiz » January 25th, 2014, 5:26 pm

I just released an update of the i18n package using your modifications.

Once again, thank you!
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron