Sergey,
Thanks.
Still "MAPI.Session" returns methods only.
>That's correct result because each RW property is represented by PropertyGet/PropertyPut pair.
>BTW, you can use my
Array Browser File #
9948 to see what's in an array w/o extra coding.
>
>>Just to add to the puzzle. "MSMAPI.MapiSession" does not work for me propely:
>>
>>X=CREATEOBJECT("MSMAPI.MapiSession")
>>?AMEMBERS(aa,m.X,3)
>>FOR ia=1 TO ALEN(aa,1)
>> =STRTOFILE(aa[ia,1]+CHR(13)+CHR(10),"c:\txt.log",.t.)
>>endfor
>>x=null
>>
>>
>>And this is what in the log file:
>>
>>Action
>>Action
>>DownLoadMail
>>DownLoadMail
>>LogonUI
>>LogonUI
>>NewSession
>>NewSession
>>Password
>>Password
>>SessionID
>>SessionID
>>SignOff
>>SignOn
>>UserName
>>UserName
>>
>>
>>>>
>>>>CLEAR
>>>>X=CREATEOBJECT("MAPI.Session")
>>>>? AMEMBERS(ax,m.x,3)
>>>>
>>>
>>>I don't have MAPI.Session on my PC but following code correctly returns 2 Methods and 7 pairs of PropertyGet/PropertyPut.
X=CREATEOBJECT("MSMAPI.MapiSession")
>>>? AMEMBERS(ax,m.x,3)