Reputation: 21
We are working on borland delphi 5 on windows 2003 R2x64 bit Server OS.
Now we are going to upgrade our Windows OS from 2003 to 2012. I would like to know whether borland delphi 5 version is compatible with windows 2012 server OS.
Thanks In advance
Mannual Joseph
Upvotes: 2
Views: 3109
Reputation: 43053
Delphi 5 applications are 32 bit applications, using the Win32 API, which would run on Windows Server 2012.
But in respect to your application:
The upcoming Nano Server edition of Windows 2016 will only provide Win64 APIs, and won't allow 32 bit code execution any more. So you would not be able to run Delphi 5 application in Nano Server - even if Windows 2016 (with its full APIs and GDI) was told to be still Win32 compatible - so Delphi 5 compatible.
Upvotes: 2
Reputation: 27286
For the most part, if your application purely uses things built-in to Delphi, then you shouldn't have any problems at all. Delphi automatically uses the Windows API to be backwards-compatible. Therefore, if you have a very simple application using only the things which Delphi provides to you, then chances are your app should work in any (current) version of Windows.
On the other hand, if your app makes use of any direct Windows API calls, or if it uses other third-party libraries (such as ones requiring additional DLL's), then you may be in for an upgrade.
The Windows controls for a forms application are extremely standard, and adapt to all versions of Windows - and even can even automatically style to whatever version of Windows you're using. However, if you have any third-party custom controls, or anything which access the Windows API directly, then you will need to make sure those calls are compatible.
When using the Windows API, it's safe to assume that most of the calls are backwards compatible. Microsoft is very good at this. Again, if using the standard components/controls available in Delphi, and not directly accessing the Windows API, then you should be safe.
When it comes to 32/64bit applications... Every version of Windows supports an emulator of the prior bit-wise version. So, for example, all 64bit versions of Windows support running 32bit applications. On that same note, all 32bit versions of Windows support running 16bit applications. This support is through an emulator (WOW64) allowing even further support of backwards-compatibility.
In the end, as long as your application is purely using what Delphi makes available to you, and you aren't importing any additional third-party libraries, then you should be safe to go. I would say a 98% guarantee. The other 2% has to do with whether your app is using anything which relies on particular 32bit libraries.
When it comes to third-party libraries, the rule of thumb is to just make sure the library vendor claims they support the version of Delphi you're using. That still doesn't always mean it will work with 64bit though. For example, things which directly use drivers will also have to be sure to support either 32bit or 64bit drivers.
Upvotes: 0
Reputation: 613382
Delphi 5 produces executables that can be run on any 32 bit or 64 bit version of Windows. So yes, Delphi 5 can produce executables that are compatible with Windows 2012 server.
Upvotes: 1