Guide Table of Contents
| 1 | Preparing Your Delphi Environment |
| 2 | Installing 3rd Party Components |
| 3 | Setting Up The Source Code |
Preparing the SharpE SVN
Checking Out the SVN
Before you can work with the source code, there are few things left to do, not least of which is download the source code.
- Download and install the latest version of a SVN client. This guide uses TortoiseSVN.
- Create a directory for the SharpE source code. (i.e. My Documents\SharpE_SVN\ )
- Right-click on that directory and select "SVN Checkout..."
- In the field for "URL of repository", enter https://sharpe.svn.sourceforge.net/svnroot/sharpe
- Leave all other options as-is and click OK. The source code should now be downloading.
- Create another directory for the binaries. (i.e. My Documents\SharpE_Binaries )
- Right-click on that directory and select "SVN Checkout..."
- In the field for "URL of repository", enter http://www.sharpe-shell.org/sharpe
- Leave all other options as-is and click OK. The binaries should now be downloading.
Creating the Output Directories
- Create a directory named SharpE at the same level. If you checked the source out to My Documents\SharpE_SVN\ then create a directory as My Documents\SharpE\
Note that this is not a stand-alone SharpE directory, but a mock-up that stores all the output files from Delphi. This allows you to maintain the directory structure when copying files from the output directories to the "real" SharpE folder for testing.
Copying the SharpE Libraries to Windows
32bit Users
- Go to your SharpE_Binaries directory and copy SharpAPI.dll and SharpThemeAPI.dll to your Windows\System32 directory.
64bit Users
- Copy the same files as mentioned above to your Windows\System directory.
All Users
- Rather than doing the above, it can sometimes be convenient to add a path override in the Delphi IDE. This option can be found in Tools -> Options -> Environment Variables. Simply edit the PATH variable at the top to include C:\SharpE and it will add the override automatically. The only down side to this is that you will not be able to build the .dll files within the ide as they'll be in use. They can still be built from SharpCompile? if you wish to use this method.
Installing SharpE Components
- Load the project SharpE_SVN\Common\Packages\SharpE Skin Components\SharpESkinComponents.bdsproj.
- Build it with the same process we used for the 3rd party components.
- Install it with the same process we used for the 3rd party components.
- Load the project SharpE_SVN\Common\Packages\SharpE Components\SharpEComponents.bdsproj.
- Build it with the same process we used for the 3rd party components.
Compile error related to SharpESkinComponents! - Install it with the same process we used for the 3rd party components.
- Add SharpE_SVN\Common\Libraries\SharpThemeApi to the Library and Browsing path in Delphi options. (This is the path to SharpThemeAPI.dcu).
[Previous]
