Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / May 2004

Tip: Looking for answers? Try searching our database.

[Redemption OL2K] MAPIUtils.CreateRecipient Uses Exteremly High Volume Of Memory & Returns After Non-Logical Period

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Zino - 24 May 2004 18:09 GMT
Dear All,

I am using the Redemption component in an Outlook add-in project, which is
targeted for usage in Outlook Y2K, XP, and 2003.
Lately, I am facing a strange behavior on several workstations while using
my add-in.
I was able to trap the problem using the following code:

LogMsg "Creating MAPIUtils Object."
Set oUtils = Utils.GetSafeItem("Redemption.MAPIUtils")
LogMsg "MAPIUtils Created. Calling oUtils.CreateRecipient."
Set oSafeRecipient = oUtils.CreateRecipient(strResourceName)
LogMsg "After Creating SafeRecipient."

While executing the "oUtils.CreateRecipient" method, I can see that the
workstation's available memory drops dramatically and the time passed before
it returns exceeds any logical period.
Please note that, the strResourceName consists of a valid SMTP address.
I am currently using Redemption 3.3.

Please advice.

Regards,
Michael Zino
Dmitry Streblechenko \(MVP\) - 24 May 2004 23:38 GMT
Did you try the latest version 3.4?
Note that MAPIUtils object needs to obtain an Extended MAPI session to
resolve the recipient's name. In case of Outlook 2002 and up, you can help
it by adding the following line of code:
oUtils.MAPIOBJECT = OutlookNamespace.MAPIOBJECT
where OutlookNamespace is the Namespace object from OOM.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

> Dear All,
>
[quoted text clipped - 20 lines]
> Regards,
> Michael Zino
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.