HrGetOneProp returns -2147024809 on SMTP email addresses.

Add-in Express™ Support Service
That's what is more important than anything else

HrGetOneProp returns -2147024809 on SMTP email addresses.
 
Nick Malden Malden




Posts: 23
Joined: 2007-09-25
Windows 10 with all updates.
Office 2019 MSO 16.0.10730.20102 (32bit)
Delphi XE5 Update 2
I have downloaded your adxOLGetSMTPAddress project as I am finding that the SMTP address code is not working with this latest version of office.
The line failing is:

if HrGetOneProp(AddrEntry, PR_EMS_AB_PROXY_ADDRESSES, propAddress) = S_OK then begin

it is returning -2147024809.

I've looked at similar questions on the forum but have not found any answers.

Can you help please?
Posted 06 Sep, 2019 08:11:02 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Nick,

Please check my responses at https://www.add-in-express.com/forum/read.php?FID=1&TID=15618. The code above doesn't work with 64bit Outlook as this requires using the 64bit version of Extended MAPI calls.


Andrei Smolin
Add-in Express Team Leader
Posted 06 Sep, 2019 09:35:46 Top