Don't know your setup and if there are missing Sphere files in your project directory? The best thing is to add your project to Sphere and not the other way around, unless you know what you are doing.
Not really sure, but I thought William used Sphere without the demo and created his own project with only the DLL. Maybe if this is true you can look at his code. It was given to another member of this community some time ago. At least I think I have read it somewhere on the forum.