Also you can use:
DECLARE INTEGER DllRegisterServer IN YourDllFile.DLL
DllRegisterServer()
CLEAR DLLS DllRegisterServer
>Now a question which must appear elemantary to some of you.
>But after doing FP since it came out of Toledo, I have never create a dll
>
>the following scenario:
>I created a simple program to create a report and email it.
>
>I built a dll in VFP9 and now I want to call it from another VFP8 application
>
>The project is called SPL, the class in it is called SendPriceLlist
>and takes 2 parameters: ID and emailaddress
>
>
>now from a completely different app I want to
>do something like
>x1 = 1234567
>x2= [emailaddress@xxx.com]
>
>o=NEWOBJECT([SPL.SendPriceList],x1,x2)
>
>
>do I have to register the dll first?? and how?
>
>thanks
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.