Delphi2005可以用于开发掌上电脑软件了!!!!! ( 积分: 100 )

  • 主题发起人 主题发起人 Hexi
  • 开始时间 开始时间
H

Hexi

Unregistered / Unconfirmed
GUEST, unregistred user!
转载自:http://bdn.borland.com/article/0,1410,33271,00.html
注:.Net Compact Framework是Windows CE下的.Net

Technology preview for Delphi 2005 for .NET Compact Framework is available - by David Intersimone
Rating: Ratings: 15 Rate it

Abstract: The Delphi 2005 for .NET Compact Framework technology preview is available (to registered Delphi 2005 customers) fordo
wnload.
This version of the Technology Preview is delivered as a windows installer (.msi) setup. Run Borland Delphi .NET Compact Framework Tech Preview.msi and agree to the license agreement to complete the installation. You need to have Delphi 2005 installed on your system before installing this setup. This preview will get installed to a directory named "CFPreview" under Delphi 2005 installation directory.
This release of the Delphi for .NET Compact Framework Technology Preview is not meant for use in production applications.
The following steps outline how to build a simple .NET Compact Framework application using the Windows Forms designer for desktop applications:
1) Create a new Delphi for .NET Windows Forms Application.
2) Set the form's Text property to "Delphi for .NET Compact Framework".
3) Drop a Label on the form
4) Set the label's Text property to "Hello World!"
5) Save and compile the project.
6) Switch to the code editor (View | Show Code).
7) Expand the region "Windows Form Designer Generated Code".
8) Comment out the following lines:

Self.SuspendLayout;
Self.Label1.Name := 'Label1';
Self.Label1.TabIndex := 0;
Self.AutoScaleBaseSize := System.Drawing.Size.Create(5, 13);
Self.Name := 'TWinForm';
Self.ResumeLayout(False);
Note: Please see the Microsoft .NET SDKdo
cumentation for information regarding properties and methods supported by the .NET Compact Framework.
9) Select Project | View Source.
10) Find the line "[STAThread]" and delete it.
11) Save the project.
12) Open a commend prompt and change to the folder where the project is saved.
13) Delete the project's cfg file (del Project1.cfg).
14) Run the command:
"C:Program FilesBorlandBds3.0CFPreviewBin"dccil Project1.dpr
-u"C:Program FilesBorlandBds3.0CFPreviewLib"
-luSystem.Windows.Forms.dll
-luSystem.Data.dll

Note: Substitute with the folder where the .NET Compact Framework is installed.
15) Deploy Project1.exe to the Windows CE device and run.
Additional Information
More in-depth information about building .NET Compact Framework applications with Delphi is available on BDN, http://bdn.borland.com/article/0,1410,33066,00.html.
Newsgroup: news://newsgroups.borland.com/borland.public.delphi.dotnetPreview
 
转载自:http://bdn.borland.com/article/0,1410,33271,00.html
注:.Net Compact Framework是Windows CE下的.Net

Technology preview for Delphi 2005 for .NET Compact Framework is available - by David Intersimone
Rating: Ratings: 15 Rate it

Abstract: The Delphi 2005 for .NET Compact Framework technology preview is available (to registered Delphi 2005 customers) fordo
wnload.
This version of the Technology Preview is delivered as a windows installer (.msi) setup. Run Borland Delphi .NET Compact Framework Tech Preview.msi and agree to the license agreement to complete the installation. You need to have Delphi 2005 installed on your system before installing this setup. This preview will get installed to a directory named "CFPreview" under Delphi 2005 installation directory.
This release of the Delphi for .NET Compact Framework Technology Preview is not meant for use in production applications.
The following steps outline how to build a simple .NET Compact Framework application using the Windows Forms designer for desktop applications:
1) Create a new Delphi for .NET Windows Forms Application.
2) Set the form's Text property to "Delphi for .NET Compact Framework".
3) Drop a Label on the form
4) Set the label's Text property to "Hello World!"
5) Save and compile the project.
6) Switch to the code editor (View | Show Code).
7) Expand the region "Windows Form Designer Generated Code".
8) Comment out the following lines:

Self.SuspendLayout;
Self.Label1.Name := 'Label1';
Self.Label1.TabIndex := 0;
Self.AutoScaleBaseSize := System.Drawing.Size.Create(5, 13);
Self.Name := 'TWinForm';
Self.ResumeLayout(False);
Note: Please see the Microsoft .NET SDKdo
cumentation for information regarding properties and methods supported by the .NET Compact Framework.
9) Select Project | View Source.
10) Find the line "[STAThread]" and delete it.
11) Save the project.
12) Open a commend prompt and change to the folder where the project is saved.
13) Delete the project's cfg file (del Project1.cfg).
14) Run the command:
"C:Program FilesBorlandBds3.0CFPreviewBin"dccil Project1.dpr
-u"C:Program FilesBorlandBds3.0CFPreviewLib"
-luSystem.Windows.Forms.dll
-luSystem.Data.dll

Note: Substitute with the folder where the .NET Compact Framework is installed.
15) Deploy Project1.exe to the Windows CE device and run.
Additional Information
More in-depth information about building .NET Compact Framework applications with Delphi is available on BDN, http://bdn.borland.com/article/0,1410,33066,00.html.
Newsgroup: news://newsgroups.borland.com/borland.public.delphi.dotnetPreview
 
基于.net的出来的还不是微软的架构.
用delphi2005和 vs.net开发出来没什么分别!
 
严格来说,只能说可以用Delphi2005基于.net framwork的特性来编写基于Pocket PC 2003及其后续版本的.net程序。事实上,在Pocket PC/Windows Mobile Edition平台上依然存在着原生代码和.net两种程序。目前还没有听说borland 会支持任何嵌入式平台的开发,我想可能和相关公司的技术条款有关。
不可否认的是,用Delphi2005开发基于.NET Compact Framwork的程序并不是一个明智的举动,因为不能联上模拟器来调试。Visual Studio.NET由于和.net CF都是一个妈生的,所以支持的很好,而且设计、开发、调试都很方便。
Borland在编译器领域领先了那么多年,拥有那么多的技术专利,居然没想到去支持嵌入式的开发,真是不明白这些人怎么能把这个公司撑到现在的。-_-!
 
谁能下载?请共享一起学习!
 
谁能提供Borland Delphi .NET Compact Framework Tech Preview.msi下载?非常希望使用Delphi2005开发掌上电脑软件!!!
 
多人接受答案了。
 
后退
顶部