Tuesday, January 04, 2005

CodeSite 2 can work in Delphi 2005

If you're a user of Raize Software's CodeSite debugging tool, you might have received the same shock I did when going to the Raize site to download an update for Delphi 2005. CodeSite 3 was released a few months ago and there is no official support for using CodeSite 2 in Delphi 2005.

The upgrade price for CodeSite 3 is quite hefty and hard for me to justify right now. CodeSite 3 looks impressive but I only use a fraction of the features of CodeSite 2 and I don't think that's going to change any time soon.

I've was pondering what to do about this when I realised that the source code for the runtime packages was provided with CodeSite 2, it's only the design time packages that source wasn't provided for.

A quick copy and update of the old runtime packages to Delphi 2005 format proved this to be correct. I can now make full use of CodeSite 2 through source code in Delphi 2005. The CodeSite components are not available but I rarely used them and all they do is save you typing a few lines of code anyway.

To get CodeSite 2 running in Delphi 2005.

  1. You need to already own a copy of CodeSite 2. This won't work otherwise.
  2. Save this updated CodeSite 2 package for Delphi 2005 in your CodeSite2\Source folder.
  3. Open it in Delphi 2005 and choose "Delphi for Win32" when asked what the package type is.
  4. Compile the package.
  5. I recommend you create a CodeSite2\Lib9 folder similar to the CodeSite folders for the other compilers. Copy the csintf.dcu, CSP20I90.dcp and CSP20I90.dcu files into it.
  6. I also recommend you copy the CSP20I90.bpl package into C:\WinNT\System32 alongside the other CodeSite 2 runtime packages.
  7. Lastly you'll need to add CodeSite2\Lib9 to your Delphi 2005 Library Path.

After that's done you should be able to use the csintf unit in your Delphi 2005 Win32 projects like you could in Delphi 7. If you need .NET support though you'll need to purchase CodeSite 3. From past experience CodeSite 3 is quite likely a fantastic product, it's just more than I need right now.


At 14 July 2005 19:03, Anonymous Anonymous said...

The .dcp file is never generated for me, do you know why this is?


Post a Comment

<< Home