>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
George
Ubi caritas et amor, deus ibi est