Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing back an array
Message
From
05/10/1999 14:16:40
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00272758
Message ID:
00272836
Views:
25
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform