Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing back an array
Message
De
05/10/1999 14:16:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00272758
Message ID:
00272836
Vues:
23
>Great stuff Sylvain! Thanks.

>>>- Create a parameter object in wich you will create an array property. You will then pass this object back to the calling method
>>How?
>
>Create yourself a small class with no methods or properties. In your DLL:
>
>loReturn = NewObject("MyClass", "MyLib")
>loReturn.AddProperty("aDataSet[1, 1]")
>SELECT * FROM inventory WHERE styleno='177' INTO ARRAY loReturn.aDataset
>RETURN loReturn
>

This stuff works only in FoxPro, and doesn't works if you call this DLL from VB.I always got Run-Time error... Also, i can't get access to dynamically added properties in DLL (by .AddProperty) from my VB programm. They are unvisible in VB. Why?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform