Compiler Error

I hope someone can assist.
I just came back from Christmas holidays today and when I tried torun any of my SW macros, I get the following error:

"Object library invalid or contains references to objectdefinitions that could not be found"

I have checked the project references and all appear to be fine, no"MISSING" library references.

I downloaded and installed a fresh install of SW2008SP5.0 and stillthe same error message appears.

This is a major headache as I need the macros the finish off someprojects.

The last thing I want to do is to wipe my HDD and re-install theOS, so I hope someone can assist.

Thanks,
Declan.SolidworksApi macros