Backwards compatible macros

All, is there a way to create a macro that will work on olderversions of Solidworks? I have SW 2009, and clients of mine whowant some custom macros written for them will still be using SW2008 or maybe earlier. Is there a way to get the older referencelibraries? Or would you propose a different approach?SolidworksApi macros