Path Routines - available from http://www.frez.co.uk

Should you wish to commission any consultancy work, please do not hesitate to contact us; sales@frez.co.uk

Routines for path manipulation using the shlwapi.dll type library that comes with Internet Explorer.  Comes complete with test harness.

GetRelativePath demonstrates when given a directory path and a file path how to return the relative path from the directory to the file.

GetCompactPath demonstartes how to compact a long path name down into a small space in order to display it effectively in, say, a small text box.

This is 'free' software with the following restrictions:

You may not redistribute this code as a 'sample' or 'demo'. However, you are free to use the source code in your own code, but you may not claim that you created the sample code. It is expressly forbidden to sell or profit from this source code other than by the knowledge gained or the enhanced value added by your own code.

Use of this software is also done so at your own risk. The code is supplied as is without warranty or guarantee of any kind.
