Where do you guys store 3rd party (and your own) components?
Adding an Android SDK. A software development kit (SDK) provides a set of files that are used to build applications for a target platform. When you develop applications for Android, the Android SDK and Android NDK are required on your development system, and they both need to.
Do you keep separate copies per Delphi version?
For years I've been using
c:program filesborlanddelphi7lib
, even for Delphi 2006, 2007, 2009 and 2010, like this:
However, nowadays I don't even use Delphi7 anymore (what can it do that 2010 can't?), so this path doesn't make much sense anymore. I'm about to install windows7 on my home machine, so I'm thinking on something like this:
c:srcDelphiLib
Any better ideas?
Wouter van NifterickWouter van Nifterick
19k4 gold badges66 silver badges116 bronze badges
7 Answers
I've a directory where I do all my checkouts. Components (versioned) are just another checkout (**).
The delphi projects are all setup with relative paths. The component paths are hardcoded in delphi under options->environment.
mysvndir can be on different drives (or directory level) depending on the workstation. (most notably, on my laptop it is on D:). The ability to compile alternative checkouts (e.g. to check an older revision) is another strong motivation to keep everything relative.
This works reasonably well(*) for normal Delphi projects, but I'm now considering using hardcoded paths (or substitutes) for some projects. Mostly due to starting to use the ITE.
(*) Delphi (all versions) seems to change the working directory sometimes on opening files, which in turn messes up relative paths (they are relative to the working dir, not the .dpr(oj) apparantly). If I notice this, I open a file (using file->Open) in the working dir, and all is fine again. I also make a habit of closing projects before opening new ones.
(**) I have a base set of designtime components that I use for all apps and don't use packages. I don't have designtime components specific to apps.
Marco van de VoortMarco van de Voort
22.5k5 gold badges44 silver badges81 bronze badges
All my Delphi stuff is in subdirectories under C:Delphi
Loren PechtelLoren Pechtel
7,5553 gold badges24 silver badges44 bronze badges
My libraries are project specific and are stored in subdirectories under libs of the sources:
These libraries don't get added to the Delphi library path but rather to the projecet's search path, so I am sure I am using the correct library version for each project. (This is of course only for maintaining older versions of a project, current projects get updated to the latest library versions).
The libraries are stored in subversion and are linked to the projects as svn:externals.
Unfortunately Delphi does not support loading packages per project so I am stuck with either loading and unloading packages as needed or - what I do most of the time - just use the same designtime packages in the ide and rely on them to change only marginally between versions so it doesn't matter as long as I use the right sources when building the project.
dummzeuchdummzeuch
7,6052 gold badges37 silver badges130 bronze badges
Storing libraries in program files will cause many issues when using Vista and later. With those OSes is far better to use a separate directory outside those containing executables. But leave Delphi in a protected path, or set proper ACLs if you install it elsewhere. Remember that Windows in not secure because most users make it so.You can also set an environment variable to point to the library path, and then use it with the $() syntax within Delphi library paths. For example if you use C:devlibdelphi, you can set a DLIB variable pointing there, and then use $(DLIB)JCL in the library path.That also allows for switching among libraries simply setting the needed environment variable before launching Delphi.If library packages and directories are properly designed, there is no need to keep different copies for different Delphi versions, they will create subfolders for each version, but many aren't and could need separate copies.
user160694
If I install ready-to-use library - I install it into Delphi folder under Program Files (exact folder isn't important - it can be lib or sources).
This have great advantage for me (other people think about it as disadvantage though): on Vista and Win7 UAC will not allow you to mess with installed library files, in the same way as it do this for Delphi itself. You have your pas-files, you have your dcu, bpl, etc files - fine. Just use them. No need to recompile or change it.
If, however, I install library, that I plan to change - I install it into My Documents/RAD Studio folder, so it's not write-protected and I can mess with it.
AlexAlex
4,5212 gold badges26 silver badges48 bronze badges
I've always used a folder under the root such as d:DelphiComponents with versioning (if needed) organized within each individual sub folder.
For example d:DelphiComponentsMMTools have a Delphi6 and a Delphi7 folder. Since I do have some pretty old libraries in these folders, I avoid using spaces in the folder names.
Padu MerlotiPadu Merloti
2,2023 gold badges27 silver badges40 bronze badges
I think that using sub-folders in root directory (like c:src or c:Delphi) isn't a good idea for security reasons. It looks like a hello from old days, when you don't really use security or proper folders structure.
You want writable folder? You have your My documents. And there is even RAD Studio subfolder. Don't like MyDocs? You have your AppData.
You want protected folder? There is All users or Program files.
AlexAlex
4,5212 gold badges26 silver badges48 bronze badges
Not the answer you're looking for? Browse other questions tagged delphipath or ask your own question.
Related searches
- » smsc relay vcl sdk
- » sdk windows media player sdk
- » arcgis engine sdk arcgis desktop sdk
- » ebay sdk java_ebay sdk for java download
- » sdk 2003 windows installer sdk
- » sdk platform sdk xp-sp2 下载
- » tt-sb-sdk_tt-sb sdk download
- » sdk.send1.net_net send sdk 1.1 download
- » libreoffice sdk libreoffice sdk download
- » sdk 1.7_java sdk se 1.7.0.0 download
vcl sdk
at UpdateStar![Library Androidsdktools Delphi Library Androidsdktools Delphi](/uploads/1/2/4/8/124845725/513543040.png)
-
More
SMSC Relay VCL SDK 2.3
SMSC Relay VCL SDK library is a set of optimized VCL components enabling quick creation of applications implementing the communication with the SMSC through TCP/IP protocol.Changes in version 2.3- Delphi 2005 and Delphi 2006 … more info... -
More
Java SDK SE 1.7.0.30
Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in today's demanding embedded environments. more info... -
More
Intel(R) SDK for OpenCL - CPU Only Runtime Package 3.0.1.15216
-
More
Windows SDK AddOn 10.1
-
More
Dolby Audio X2 Windows API SDK 0.8.8.87
-
More
Microsoft .NET Core SDK - (x64) 2.1.602
-
More
Microsoft Silverlight SDK 5.1.50901.0
Microsoft Silverlight extends and amplifies your existing development skills, empowering you to build new types of applications for the Web regardless of target platform or browser. more info... -
More
Android SDK Tools
-
More
ActMask PDF Virtual Printer SDK 3.82
ActMask PDF Virtual Printer SDK will add EMF / PDF Converter feature for your own application!Print any file to ActMask Virtual Printer (you can request us to custom the printer name) simply, then pdf and a ini file will be created … more info... -
More
Kingsoft PDF to Word SDK 2.0.1
Zhuhai Kingsoft Office Software Co.,Ltd - Shareware -
vcl sdk
search results-
More
Intel(R) OpenCL CPU Runtime 1.4.14.0
Available as a free download, the Intel SDK for OpenCL* Applications provides a full development environment for OpenCL* application on Intel platforms including compatible drivers, code samples, development tools such as offline compiler … more info... -
More
BlueStacks App Player 4.100.0.1053
With the new hybrid convertible form factors, BlueStacks completely eliminates the need to carry two devices. In the end, the consumer will be getting the advantages of both Android and Windows on the same computer.If you've ever wished … more info... -
More
Microsoft Azure Storage Emulator - 5.9.18345.1312
Windows Azure Emulator lets you code, run, test, diagnose, watch, change and configure code in Windows Azure without having any connection to the Internet at all. more info... -
More
PDF-XChange Viewer 2.5.3212.0
PDF-XChange Viewer is a pdf viewer application.Those wishing to view PDF files on their Windows PC's now have a choice when it comes to Viewing PDF files - the PDF-XChange Viewer is smaller, faster and more feature rich than the Adobe … more info... -
More
ActMask PDF Virtual Printer SDK 3.82
ActMask PDF Virtual Printer SDK will add EMF / PDF Converter feature for your own application!Print any file to ActMask Virtual Printer (you can request us to custom the printer name) simply, then pdf and a ini file will be created … more info... -
More
kSign 3.0
kSign will sign any number of files with your code signing certificate and comes with everything you need - no SDK or additional downloads required. Best of all - it's FREE! more info... -
More
JavaFX SDK 2.2.7
JavaFX is the next step in the evolution of Java as a rich client platform. It is designed to provide a lightweight, hardware-accelerated Java UI platform for enterprise business applications. more info... -
More
Minimal ADB and Fastboot 1.4.2
Minimal ADB and Fastboot provides a fast way to access phone's terminal. If you really want to modify, debug, and tweak along with their countless uses in rooting, and other procedures ADB and Fastboot are a must for any Android device … more info... -
More
Cyberfox Web Browser 52.9.1
x64 Bit Web Browser Powered By Mozilla Source Code Compiled With Visual Studios 2012 Used Windows 8 SDK Instead Of Vista SDK Compiled With Help Of Intel C++ Compiler Compatible With Windows 8 OS more info... -
More
SynWrite 6.40.2770
SynWrite is a powerful text and source code editor with many features like syntax highlighting, code folding, tree structure, auto-completion, code templates, string extraction and clipboard history. more info...
-
More
Intel(R) SDK for OpenCL - CPU Only Runtime Package 3.0.1.15216
-
More
Windows SDK AddOn 10.1
-
More
Dolby Audio X2 Windows API SDK 0.8.8.87
-
More
Microsoft .NET Core SDK - (x64) 2.1.602
-
More
Java SDK SE 1.7.0.30
Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers, as well as in today's demanding embedded environments. more info...
Most recent searches
- » curso pe-desing next español
- » all my movies update
- » borlanc 5.1
- » activereports 1.5j
- » telecharger kmpsyco
- » télécharger volumer mp3
- » consim 2015 download
- » download vcds vag 12
- » asus armoury crate software download
- » dkz studio no se cierre
- » pobierz abg 360
- » linux file systems for windows download
- » pokerstars client it
- » karaoke zainstaluj
- » bacstage for kmc
- » arcade de luxe updaten
- » wingesfar copernico scarica
- » image mixer für windows 10
- » cestron slave problem
- » download download xx x