Guide Table of Contents

1Preparing Your Delphi Environment
2Installing 3rd Party Components
3Setting Up The Source Code


Creating the Output Directories

  • Create a directory named SharpE at the same level as you SharpE_SVN directory. If you checked the source out to C:\SVN\SharpE_SVN\ then create a directory as C:\SVN\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 SharpThemeApiEx.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.

NOTE: This next step may not be necessary anymore, need to check with other developers.

  • Add SharpE_SVN\Common\Libraries\SharpThemeApiEx\ to the Library and Browsing path in Delphi options. (This is the path to SharpThemeApiEx.dcu).


Setting up Delphi for MSBuild

If you are on a 64-bit Windows you may have problems compiling SharpE using SharpCompile?. To solve this go to "C:\Program Files\CodeGear?\RAD Studio\5.0\bin" (or similar) and open rsvars.bat in a text editor. Then change Framework64 to say Framework and save the file.


[Previous]