Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Createobject() How do I release it?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00359883
Message ID:
00359978
Vues:
13
>>I have an application object set up (oApp). oApp has a property called oSession. I create a MAPI
>>session in method "StartMAPI" of oApp like this:
>>
>>In oApp.StartMAPI:
>>
>>this.oSession=createobject("MSMAPI.session")
>>
>>This works great till I need to release it. The compiler doesn't like "release oApp.oSession" as it wants
>>a variable. What am I doing wrong?
>
>Try: oApp.oSession = NULL

Thank you George! That worked quite well.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform