Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing oNameSpace object causes VFP to stop responding?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Releasing oNameSpace object causes VFP to stop responding?
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01425196
Message ID:
01425196
Views:
110
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
Reply
Map
View

Click here to load this message in the networking platform