Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Createobject() How do I release it?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Createobject() How do I release it?
Miscellaneous
Thread ID:
00359883
Message ID:
00359883
Views:
36
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?
Next
Reply
Map
View

Click here to load this message in the networking platform