Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use my own dll
Message
De
05/10/2005 08:56:21
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01056212
Message ID:
01056219
Vues:
31
Is that in foxpro code? Or just from the run menu? How would you do it for a client machine that is not local? Is it part of an install process?

>use
>
regsvr32 "c:\myapp\mydll.dll"
>
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform