Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Delphu Universal Windows applications?



Permlink Replies: 10 - Last Post: Jun 11, 2015 1:37 PM Last Post By: Brian Hamilton ...
Bob McKinnon

Posts: 54
Registered: 2/6/05
Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2015 12:50 PM
A few questions I am confused about.

Will Delphi support Universal Windows 10 application in the future? If yes, will this be through FireMonkey?

Does Delphi support Cordova for Mobile application development?

If not Cordova, is there a way to build Windows phone application using Delphi?

Thanks Bob

Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2015 1:04 PM   in response to: Bob McKinnon in response to: Bob McKinnon
Bob wrote:

Will Delphi support Universal Windows 10 application in the future?
If yes, will this be through FireMonkey?

Universal apps use the WinRT framework, which Delphi does not support (and
cannot support due to Microsoft restrictions).

Does Delphi support Cordova for Mobile application development?

No.

If not Cordova, is there a way to build Windows phone application
using Delphi?

No, and Embarcadero has already gone on record stating that they have no
plans to support Windows Phone development anytime soon if ever.

Other Pascal compilers, like FreePascal and Oxygene, do support WinRT and
Windows Phone development.

--
Remy Lebeau (TeamB)
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2015 6:53 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Universal apps use the WinRT framework, which Delphi does not support (and
cannot support due to Microsoft restrictions).
Other Pascal compilers, like FreePascal and Oxygene, do support WinRT and
Windows Phone development.

why not Delphi then? (i.e why is that restriction not apply?)
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2015 7:37 PM   in response to: Brian Hamilton ... in response to: Brian Hamilton ...
Brian wrote:

why not Delphi then? (i.e why is that restriction not apply?)

There are plenty of blogs on the subject, such as:

Why no native WinRT support in Delphi XE3?
https://www.delphitools.info/2012/08/23/why-no-native-winrt-support-in-delphi-xe3/

Why Delphi Cannot (currently) Support WinRT
http://www.deltics.co.nz/blog/posts/1080

Delphi happenings (Friday, 14 September 2012)
http://blog.blong.com/2012/09/delphi-happenings.html

Third-party compilers locked out of Windows Runtime development
http://www.itwriting.com/blog/6347-third-party-compilers-locked-out-of-windows-runtime-development.html

The root of the problem is that critical APIs that the C++Builder/Delphi
RTL would need access to in order to create WinRT apps (for memory allocation,
exception handling, etc) are forbidden to everyone except for Micrsoft's
own VC++ runtime. Oxygene gets around that restriction because it supports
.NET development and WinRT apps can be developed in .NET languages. FreePascal
gets around it by simply delegating to the VC++ runtime and let it handle
everything. Neither option is viable for C++Builder/Delphi (of course, this
could be an argument towards Embarcadero reviving the dead Delphi.NET compiler,
I suppose).

Embarcadero has been persuing the issue for several years now, without much
forward movement on Microsoft's part to grant access to third-party native
compilers.

--
Remy Lebeau (TeamB)
Moritz Beutel

Posts: 62
Registered: 1/19/07
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 10, 2015 11:39 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Hello,

Remy Lebeau (TeamB) wrote:
FreePascal gets around it by simply delegating to the VC++ runtime and let it handle everything. Neither option is viable for C++Builder/Delphi

why not? I think this is exactly what Delphi/C++Builder should do.

--
Moritz

"Hey, it compiles! Ship it!"
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 10, 2015 12:02 PM   in response to: Moritz Beutel in response to: Moritz Beutel
Moritz wrote:

why not? I think this is exactly what Delphi/C++Builder should do.

It can't. For one thing, the VC++ runtime does not do everything that Embarcadero's
runtime requires, or does it less efficiently. FPC is less demanding of
that. Second, as stated in earlier discussions, "At the moment Emba’s runtime
cannot call [VC++ forbidden APIs]" that it needs to call to do certain things,
and changing that design is not an option at this stage.

--
Remy Lebeau (TeamB)
Robert Love

Posts: 155
Registered: 5/3/07
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2015 2:46 PM   in response to: Bob McKinnon in response to: Bob McKinnon
Does Delphi support Cordova for Mobile application development?
If not Cordova, is there a way to build Windows phone application using Delphi?

Cordova is an Mobile API for javascript. Hence it won't' be something you will use for a Delphi Application.

Microsoft has announced that you will be able to run Android applications on Windows Phone. Delphi can produce these
already so it's possible that may be route to windows phone.

Side Note: project Centennial is something that microsoft is doing to bring Win32/64 applications to the windows store.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2015 3:47 PM   in response to: Robert Love in response to: Robert Love
Robert wrote:

Microsoft has announced that you will be able to run Android
applications on Windows Phone. Delphi can produce these
already so it's possible that may be route to windows phone.

That is assuming that Windows Phone will be using hardware that Delphi Android
apps can support, though. Remember, Delphi does not compile to Dalvik, so
Delphi apps do not run on all Android-capable hardware.

--
Remy Lebeau (TeamB)
Bob McKinnon

Posts: 54
Registered: 2/6/05
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 10, 2015 7:47 AM   in response to: Robert Love in response to: Robert Love
Robert Love wrote:
Does Delphi support Cordova for Mobile application development?
If not Cordova, is there a way to build Windows phone application using Delphi?

Cordova is an Mobile API for javascript. Hence it won't' be something you will use for a Delphi Application.

Microsoft has announced that you will be able to run Android applications on Windows Phone. Delphi can produce these
already so it's possible that may be route to windows phone.

Side Note: project Centennial is something that microsoft is doing to bring Win32/64 applications to the windows store.

We have been trying Cordova with Visual Studio 2015. Although brand new to this, it seems to make it easy to push out simple APPs for the big three with one JavaScript code base. Was hoping Delphi would support this so we could use one IDE.

That is also too bad Delphi does not support the universal windows app. Perhaps that will change in the future.

Bob

Edited by: Bob McKinnon on Jun 10, 2015 9:29 AM
Matthew Jones

Posts: 337
Registered: 1/25/98
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 11, 2015 8:27 AM   in response to: Bob McKinnon in response to: Bob McKinnon
Bob McKinnon wrote:

We have been trying Cordova with Visual Studio 2015. Although brand
new to this, is seems to make it easy to push out APPs for the big
three with one JavaScript code base. Was hoping Delphi would support
this so we could use one IDE.

If you want Delphi language for generating Javascript, check out
Elevate Software's WebBuilder. I used it to generate an Android and iOS
app, and being able to use Delphi on the back-end, and "delphi" on the
front end was really productive. Version 2 due out RSN with nice
auto-layout and lots more.
Brian Hamilton ...

Posts: 556
Registered: 10/14/04
Re: Delphu Universal Windows applications?
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 11, 2015 1:37 PM   in response to: Matthew Jones in response to: Matthew Jones
or SMS?
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02