WineHQ

Delphi

Integrated Development Environment­ for developing Windows applications.

Application Details:

Version: 5
License:
URL: http://www.embarcadero.com/pro...
Votes: 0
Latest Rating: Silver
Latest Wine Version Tested: 0.9.39.

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

The Program it self works.
Compilation works.
Installation works.
Installation creates icons/shortcuts correctly.
Delphi debugging works.

What does not

F12 keyboard key does not change correctly between "code (pas file)" and "design mode (form)".
HELP doesn't work.

Workarounds

What was not tested

Database Desktop.
Database access.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

You need to map all your cdrom drives first (at winecfg). If you didn't map it you are going to get an error trying to install it (at installation progress)... something related to "runimage"

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowMandriva 2006Jul 25 20050.9.39.Yes Yes Silveran anonymous user 
ShowDebian GNU/Linux Unstable "Sid"May 07 20070.9.31.Yes Yes Goldan anonymous user 
ShowFedora Core 6Apr 10 20070.9.29.Yes Yes Goldan anonymous user 
CurrentUbuntu 6.06 "Dapper" i386 (+ variants like Kubuntu)Oct 03 20060.9.22.Yes Yes Silveran anonymous user 
ShowUbuntu 6.06 "Dapper" i386 (+ variants like Kubuntu)May 10 20060.9.12.Yes Yes Bronzean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
7146 Could not rotate bitmap fonts ! NEW View

Show all bugs

HowTo / Notes

Delphi 5 with Wine

Outdated instructions from 2001

[description originally by tegel at a site named dubaron.com]

Originally Tested with: RedHat 7, win98se image, wine20010418-1, Delphi5 Professional UK.

How to use delphi 5 with­ wine, and create native win32 programs on your unix box:
wine is perfectly able to run delphi 5, except for the borland debugger.

1. Make sure you have (a mirror of) a complete windows(9x) installation to use with wine.

2. If delphi 5 is not yet installed, install it by running the setup from the cd

. Everything on the setup should work fine (entering key code and so on), except for the last part. this is "normal", you probably won't get notified that setup was finished.
If delphi 5 was installed already, you might want to re-run the install within wine, but maybe it\'s not necessary.

3. Now check if stuff starts, by going to the "c:\\program files\\borland\\delphi5\\bin\" directory: >cd "~/wine/w98/program files/borland/delphi5/bin\" and starting
delphi: >wine delphi32.exe it can take a while, but you should see the splash screen and delphi5 should start up :))

Most likely (my case) delphi can\'t find any of it\'s registry settings. You\'ll easily notice, since the component pallete is missing... If you take a closer lookto all menu's, you'll probably see that a lot of information, path's and so on, is missing.

What we need to do is configure delphi by itself: Steps (not necessarely in this order):

-disable integrated debugging (very important, elsewise delphi will crash when running a compiled app):

Main menu => tools => Debugger options => Integrated debugging =>; Uncheck.

-now make sure delphi finds it's libraries:

main menu =>; tools =>; environment options => tabsheet 'library' => with library path add your "c:\\program files\\borland\\delphi5\\lib\" directory and the "c:\\windows\\system\" directory (c:\\winnt\\system32 with nt).

-install the design time components:

main menu => Component => Install Packages => Add now go to your "program files\\borland\\delphi5\\bin\" directory and pick the file "dclbde50.bpl" As soon as you do this you'll see the usual components appear :))

-make sure delphi has write access on the filesystem.

If you have done all these steps, do from within delphi: main menu - file - new application, and press F9 (run).
If all went fine, this newly created app should run! If not, make sure delphi gots write access! or force output directorys at your environment settings to point at a directory with write access.

Before you go build software:

- when saving a project, especially the first time, enter the .dpr extension explicitely within the savedialog box: projectname.dpr. If you omit this .dpr, delphi will not correctly reload the project.

This is only necessary with project files, not with .pas files!

-read the above sentence again to avoid wasting your time thinking why you can see your code but can't see your forms after reloading a project.

- if your app hangs, you'll have a tough time finding the right wine process, in which case you might have to close all wine apps (and programming is debugging). so double-check your code for endless loops and so before running, since you'll have to work without debugger.

-found some problems with 'ole containers' and other stuff, so don't expect all your existing programs to run immediately.


Note on the debugger: If somebody knows how to get the debugger up :)) i tried to regsvr32 the borland debugger dll, with no luck (placed in "program files\\common files\\borland shared\\debugger\\bordbk50.dll") with "wine regsvr32 bordbk50.dll", it then _is_ registered (and replaces drwatson) but it will _not_ run, which in fact sounds quite logical to me ;)

­

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Debugger working solution
by Dave Driesen on Tuesday October 18th 2016, 7:26
To get the debugger working, you need to use borland's shipped TREGSVR.EXE utility to register BORDBK50.DLL post-install.

Soure: (From the embarcadero website)

try manually registering the bordbk50.dll (or borbdk51.dll if you have installed the update pack). Search for this file on your machine to verify that you have it. It is most likely in the folder C:\Program Files\Common Files\Borland Shared\Debugger. Run TREGSVR manually to register the dll. TREGSVR can be found in the Delphi5\bin directory. To register the DLL open a DOS window and change to the directory where bordbk50.dll is located, then type:

tregsvr bordbk50.dll

You may also need to include the full path to the location of tregsvr.
Back