手持式开发、Lazarus 或 Turbo Delphi.Net

发布于 2024-07-26 01:15:21 字数 483 浏览 4 评论 0原文

我开始编写一些手持式程序作为爱好,现在我目前拥有 Blackberry App (Java)、Symbian S60 (PyS60) 和 J2ME 的知识,

我想学习的是 Windows Mobile/Pocket PC 和 iPhone 开发,但因为我不不使用 Mac,所以我转向 Windows Mobile/Pocket PC 开发

这里有一些问题:
1.Lazarus 和 Turbo Delphi.Net 哪个更好?
2. 两者是否都支持某种网络接入(GPRS、Wi-Fi、HSDPA 等)?
3. 远程数据库和独立/嵌入数据库都具有数据库访问权限吗? 像 SQL Server 2005 CE 一样?
4. 我是否需要在 Windows Mobile/Pocket PC 上安装一些驱动程序才能与我已有的服务器上的 SQL Server 2005 Developer 一起使用?

如果可能的话请逐点回答

谢谢

I begin to program some handheld program as hobby, right now i currently have knowledge on Blackberry App (Java), Symbian S60 (PyS60) and J2ME

Something that i wanna learn was Windows Mobile/Pocket PC and iPhone development, but since i don't use Mac so i step to Windows Mobile/Pocket PC development

Here some question:
1. Which is better Lazarus or Turbo Delphi.Net?
2. Do both have some kind support of network access (GPRS, Wi-Fi, HSDPA, etc)?
3. Do both have database access, both remote database and standalone/embed database? like SQL Server 2005 CE?
4. Do i need some driver installed on Windows Mobile/Pocket PC to be able to work with SQL Server 2005 Developer on server i already have?

If possible answer point-by-point

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

探春 2024-08-02 01:15:21
  1. Lazarus 为 WinCE 应用程序内置了表单设计器,Delphi 4.Net 没有,CG 也已停止开发 Turbo Delphi 系列,并且仅支持 .Net CF 1.1。

也许使用 Delphi Prism 会是更好的选择,因为它支持最新的 .net 框架,并且具有新的 MonoTouch< /a> 对于未来 iPhone 的开发来说,它也可能是更好的选择。

第2点& 3,我没有关于它们的信息,您可以访问Lazarus论坛和wiki以获取更多信息,但是对于Delphi 4.Net,它支持.Net框架CF上的所有类。

4.如果我没记错的话,.Net CF有SqlServer Mobile版本和Sql Server的驱动程序,例如它有用于移动的SqlCEConnection和用于常规Sql服务器版本的SqlConnection。

  1. Lazarus has form designer built in for WinCE applications, Delphi 4.Net doesn't has one, also CG has stopped developing the Turbo Delphi line, and it's support .Net CF 1.1 only.

Maybe using Delphi Prism will be better option, because it's support the latest .net framework, and with the new MonoTouch it could be better option for future development with IPhone too.

Point 2 & 3, I don't have information about them, you could visit Lazarus forums and wiki to have more information, but for Delphi 4.Net it has support for all classes on the .Net framework CF.

4.If I remember correctly, the .Net CF has drivers for SqlServer Mobile edition and Sql Server, for example it has SqlCEConnection for mobile and SqlConnection for Regular Sql server edition.

错々过的事 2024-08-02 01:15:21

我从未尝试过 Turbo Delphi .NET,但据我所知 CodeGear 停止了这条线,所以我不会在其中开始新的开发。 我还听说 CF.NET 没有得到官方支持,有点笨拙。 正如我所说,我从未使用过它,希望其他人发表评论。

Lazarus 核心功能可以工作,但更多“外部”部分并不总是在 CE 上进行测试,您必须自己找出答案。

  1. 和普通delphi/win23下大致相同。 据我所知,可以使用 Indy10 访问 TCP/IP,但是要使用网络连接,您需要 api 调用,
  2. 有时会使用 sqlite。 理论上,如果所有数据库驱动程序的客户端库均可用于arm,则所有数据库驱动程序都应该运行。 数据库支持大部分应该是字节序干净的。 但我不知道支持哪些。
    FPC 通常不支持 Sql Server 变体,除非通过 ODBC。 我不知道CE是否有这个。
  3. 通常您需要一些客户端库或通用数据库连接库 ADO/ODBC/JDBC。

浏览 lazarus/fpc wiki 以获取 CE 主题可能是下一步不错的选择。 如果你坚持使用CF.NET,我会迁移到VS,而不是使用TD.NET。

I never tried Turbo Delphi .NET, but afaik CodeGear stopped that line, so I wouldn't start new development in it. I also heard that CF.NET was not officially supported and a bit ackward. As said I never used it, I hope that others will comment.

Lazarus core functionality works, but many more "outer" parts are not always tested on CE, and you will have to find stuff out yourself.

  1. Roughly the same as under normal delphi/win23. Can access TCP/IP with Indy10 afaik, but to work with network connections you need api calls
  2. sqlite is sometimes used. In theory all the db drivers should run if their client libraries are available to arm. The DB support should mostly be endian clean. However I don't know which ones are supported.
    Sql Server variants are generally not supported by FPC, except via ODBC. And I don't know if CE has that.
  3. Usually you need to have some client lib or a generalized DB connectivity lib ADO/ODBC/JDBC.

Browsing the lazarus/fpc wiki for CE topics could be a good next step. If you persist in CF.NET, I would migrate to VS, and not work with TD.NET.

旧人哭 2024-08-02 01:15:21

如果我要为手持设备开发一些东西,我会创建一个网络应用程序。 仅当您需要访问手持设备数据(pim、gps...)时,创建本地运行的应用程序才有意义。

但如果您想创建一些可以在设备上运行的东西,我也会选择 FPC / Lazarus。

If I would develop something for a handheld, I would create a webapplication. Only if you need to access the handheld data (pim, gps, ...) it makes sense to create a local running application.

But if you want to create something to run on the device, I would go for FPC / Lazarus as well.

深海夜未眠 2024-08-02 01:15:21

你的问题已经得到解答,我来回答一下我的看法;

  • 拉撒路:它给你力量
    本机应用程序,但未使用
    广泛。 试试看是否合适
    您在移动设备上的需求。
    也许报告错误并帮助它
    发展。
  • 德尔福棱镜 + .NET
    CF:类似 Object-pascal 的 .NET 语法
    -我不喜欢,但这只是我的意见-。 这是一个示例视频
    开始使用
    。 它缺乏形式
    .NET CF 的设计者,所以如果你坚持的话
    有了它,您将使用 WinForms 设计器。
  • C# + .NET CF。 它确实有很好的
    用于.NET CF 开发的 IDE。 这是
    我如何滚动移动设备
    发展,我对此感到满意。
    即,如果我遇到巨大的 .NET 问题
    用户群最有可能拥有
    解决方案。

Your questions has been answered so I'll reply with my opinions;

  • Lazarus: It gives you power of
    native application, but it's not used
    widely. Give it a try, see if it fits
    your needs on the mobile device.
    Perhaps report bugs and help its
    development.
  • Delphi Prism + .NET
    CF: Object-pascal alike .NET syntax
    -which I do not like but that's just my opinion-. Here's a sample video
    to get started
    . It lacks form
    designer for .NET CF so if you stick
    with it you'll use WinForms designer.
  • C# + .NET CF. It has really good
    IDE for .NET CF development. This is
    how I rolled for mobile device
    development and I'm happy with it.
    ie, if I have a problem the huge .NET
    userbase most likely has the
    solution.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文