mapi32.dll 64bit machine

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

mapi32.dll 64bit machine
 
Mark




Posts: 46
Joined: 2010-08-16
I have been developing an Outlook Add-In and so far all is working well. However...

I have run into an issue with it on one machine (so far), that fails in the published code to convert a MAPI email address to its SMTP equivalent.

The issue is that the mapi32.dll on this machine does not have an entry point for MAPIInitialize@4 - it has an entry point for MAPIInitialize. There is the same issue for the other entry points that are loaded from mapi32.dll.

The machine in question is a 64bit machine, with Windows 7, 64bit and Office 2010 64bit.

I have tried changing the code so it calls MAPIInitialize (instead of MAPIInitialize@4), HrGetOneProp (instead of HrGetOneProp@12), MAPIFreeBuffer (instead of MAPIFreeBuffer@4) and MAPILogonEx (instead of MAPILogonEx@20) but it doesn't work. I assume that some of the required functionality doesn't exist in those standard functions.

I have tried copying my mapi32.dll onto his machine, but that causes all sorts of issues (I assume because my dll is a 32bit version rather than a 64bit version).

Has anyone else had this issue, and if so how did they solve it?

If anyone also has any suggestions of things to try I would be most grateful.

Thanks

Mark
Posted 21 Dec, 2010 10:59:21 Top
Eugene Astafiev


Guest


Hi Mark,

A sample add-in project you mentioned above is built for the x86 Outlook. For more information about x64 based MAPI applications please have a look at the http://msdn.microsoft.com/en-us/library/dd941355.aspx and http://msdn.microsoft.com/en-us/library/cc963763.aspx articles in MSDN.
Posted 21 Dec, 2010 11:19:08 Top