Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ISSUE: AMEMBERS return no properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01026773
Message ID:
01026783
Vues:
16
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform