Delphi XE2 (Pulsar) News

Berita dan pengumuman

Delphi XE2 (Pulsar) News

Postby D.E » 15 Jul 2011, 10:33

Image

What new?

UnitScope Names

This beta release introduces UnitScope names to RAD Studio.
With support for multiple platforms (Win32, Win64, OS X) in Pulsar,
UnitScope names provide organizational and usability benefits for using the libraries and frameworks in RAD Studio.
UnitScope names disallow ambiguity, and they provide a context for the RAD Studio units, helping to categorize,articulate and better delineate the boundaries between what units go with what part of the overall frameworks, or are specific to a platform.

UnitScope names consist generally of words separated by a period ('.').

For Example:
System.Win.Registry.pas and Vcl.Forms.pas.

All cross-platform units such as Classes, SysUtils, Contnrs, RTTI,
etc., in the base RTL package are now prefixed with System.

OS/Platform specific units have a prefix indicating the platform (Winapi.Windows, Macapi.CoreFoundation, Posix.Base, etc.).

...

These following UnitScope names can be used, but should only appear at the top level:
o Winapi
o Macapi
o Posix

Read more...
:idea: Dude, if you don't understand the basics and just want to get someone else write the code for you, it means you really shouldn't study computer science. Find different field!
User avatar
D.E
Senior Member
 
Posts: 638
Joined: 04 May 2010, 18:12

RE: Delphi XE2 (Pulsar) News

Postby D.E » 15 Jul 2011, 10:54

Image

IDE

The Object Gallery is filtered properly to enforce what files/modules can be added to a project.
For example, you should not be able to add a FireMonkey form to a VCL application and you should not be able to add a VCL form to a FireMonkey application.

To support application development for multiple platforms, the main project icon, version information and manifest information are now stored in the project file, and the information can be different for each build configuration and platform.

Previously this information was stored in the project.res file.
Pulsar will automatically upgrade existing projects and add the needed information to the project file.
If you have other information stored in the .res file, Pulsar will separate the known resources from the unknown resources.

The unknown resources are added to a project.otares file which is added to the project.

When build your project, if you receive this error:
[BRCC32 Error] Project1.vrc(58): resource file Project1_Icon.ico is not in 3.00 format

Then your icon resource has been imported incorrectly.
We are aware of this problem, and we are working on a fix.
In the mean time you can correct the problem by going to Project Options > Application > Appearance and select Load Icon.
Enter "%BDS%\bin" and select the CBuilder or Delphi icon.
In the following dialog, select "Leave icon in the current directory". This will allow your project to build.
:idea: Dude, if you don't understand the basics and just want to get someone else write the code for you, it means you really shouldn't study computer science. Find different field!
User avatar
D.E
Senior Member
 
Posts: 638
Joined: 04 May 2010, 18:12

RE: Delphi XE2 (Pulsar) News

Postby leledumbo » 16 Jul 2011, 10:26

UnitScope bukan udah ada dari Delphi 7 yak?
leledumbo
Senior Member
 
Posts: 262
Joined: 24 May 2010, 15:58

RE: Delphi XE2 (Pulsar) News

Postby bee » 16 Jul 2011, 20:30

@leledumbo: Nggak ada itu di Delphi 7. Baru diperkenalkan sejak Delphi 2006 kalo gak salah. CMIIW. *udah rada lupa* :D
bee
Member
 
Posts: 175
Joined: 12 May 2010, 14:15


Who is online

Users browsing this forum: No registered users and 1 guest

cron