Yes, it will work and yes, it needs to be registered.
My article on Component Services starts with basics, but very quickly gets to advanced topics.
http://www.craigberntson.com/articles/complus.pdfAlso see:
http://fox.wikis.com/wc.dll?Wiki~COMBizExample~VFP>Has anyone created and used a VFP DLL in a VFP application?
>
>I'm considering doing this in order to reduce the VFP exe size. I figure that the stuff in the DLL will be code that has been around for years and does not change. I'm hoping that the VFP exe can call the functions in the DLL.
>
>Will this work or am I dreaming?
>Does the DLL need registering?
>
>I can't find anything in the VFP help that show how to use a VFP DLL from VFP.
>
>TIA
>Mike
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer