Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing oNameSpace object causes VFP to stop responding?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Releasing oNameSpace object causes VFP to stop responding?
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01425196
Message ID:
01425196
Vues:
109
Hi everybody,

In the command window with Outlook running I tried
loOutlook = CREATEOBJECT('Outlook.Application')
loOutlook.GetNamespace('MAPI')
?loNameSpace.Logon()
which returned NULL.

I then closed my Outlook session and typed

release loNameSpace

and for a few minutes VFP was not responding.

UPDATE Could not reproduce this error now.

Is there some problem in what I have tried?

Is also a way to trap situations when you can not do loNameSpace.Logon() without causing VFP or Outlook to stop responding?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Répondre
Fil
Voir

Click here to load this message in the networking platform