Delphi 5 Professional Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

How can I add a path to path environment

Delphi 5 installation worked fine in version 10.0.0.0 and Delphi itself seems to run fine, too.
Now I have the problem, in windows I created an own drive for packages and dcu files. I added the path of my own packages (u:\pak) to the path environment in windows, then delphi finds all my stuff.
How can I add this path in crossOver's configuration so Delphi will accept it as an additional path to search for packages?

I think this page might be of help:

http://www.winehq.org/docs/wineusr-guide/environment-variables

LE: Make sure to have selected the bottle you installed Delphi in when you run regedit.

Thanks a lot. Dumb me, everything is in the registry.
But it's not HKEY_CURRENT_USER, but it's HKEY_LOCAL_MACHINE - found in [System\CurrentControlSet\Control\Session Manager\Environment] ... something like "PATH"=str(2):"C:\PROG~FBU\Borland\Delphi5\Projects\Bpl; ... and so on.
As lazy as I am, I directly edited the system.reg file found in the bottles directory below ~/.cxoffice (knowing that this bottle is not running)
Now it works fine and I'll continue compiling.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM0NzIyMzMzLCJjc3JmX3Rva2VuIjoiQkp4eEJFaEI2Rk1zd1hGZCIsImdkcHIiOjB9