Let's try again. :)
What do you get by running following code? BTW, what's VFP version?
oObject = CREATEOBJECT("Form")
nProperties = AMEMBERS(aProperties, oObject)
? nProperties
DISPLAY MEMORY LIKE aProperties
Did you try to close and restart VFP?
>nProperties has 3. And I get 'Name', 'BaseClass' and 'Class'
>
>
>
>>What is nProperties value? If it's 0 than function cannot process the object you're passing. What do you by running following code?
>>
>>nProperties = AMEMBERS(aProperties, oObject)
>>? nProperties
>>DISPLAY MEMORY LIKE aProperties
>>
>>
>>
--sb--