>Now when I try to register the DLL on the Server REGSVR32 returns an error "DLLregister Server in .DLL failed. Return code was: 0x80004005". Does anyone know what this error means or where I can find REGSVR32 error codes?
Looking it up won't do you much good, because it translates to "Unspecified error". :-) If you have the full VS installed, there's a tool called Error Lookup in Start Menu/VS/VS Tools. It's handy for COM errors as well as Win32 errors.
As for your problem, I'd guess that you don't have the VFP MT DLL runtime (VFP6T.DLL) installed and registered. If something as simple as DLLRegisterServer is failing, that's probably the culprit.