Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ISSUE: AMEMBERS return no properties
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01026773
Message ID:
01026783
Views:
15
Just to add to the puzzle. "MSMAPI.MapiSession" does not work for me propely:
X=CREATEOBJECT("MSMAPI.MapiSession")
?AMEMBERS(aa,m.X,3)  && returns 16 ?!
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) && 16 Methods, none Properties
>>
>
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform