Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outlook demo not working on win64 #45

Open
markwilliams1234 opened this issue Nov 4, 2020 · 6 comments
Open

Outlook demo not working on win64 #45

markwilliams1234 opened this issue Nov 4, 2020 · 6 comments

Comments

@markwilliams1234
Copy link

I am running outlook in 64 bit and I have compiled the outlook demo in 64 bit (Delphi 10.4). When I try and drag an email into the app it is not accepted and the cursor icon never changes from the barred icon.

@landrix
Copy link
Owner

landrix commented Nov 4, 2020

which demo?

Outlook or OutlookSource ?

@markwilliams1234
Copy link
Author

markwilliams1234 commented Nov 4, 2020 via email

@landrix
Copy link
Owner

landrix commented Nov 4, 2020

you are right, mapi don't works currently under win64. i don't have any solution for this. It has nothing directly to do with drag and drop. for me, the application crash at MAPIInitialize

@landrix landrix changed the title Outlook demo not working Outlook demo not working on win64 Nov 4, 2020
@markwilliams1234
Copy link
Author

markwilliams1234 commented Nov 4, 2020 via email

@Ben-Silicon
Copy link

Hi, The problem is in the MAPIUtil.pas unit.
the headers are different if accessing with Win64bits application.
you have to remove the 'Historic Stack correction'
example :
HrGetOneProp:=GetProcAddress(MAPIDLLHandle,'HrGetOneProp@12');
must be replaced by
HrGetOneProp:=GetProcAddress(MAPIDLLHandle,'HrGetOneProp');

see this documentation : https://social.msdn.microsoft.com/Forums/vstudio/en-US/8d283d08-00fa-4e84-a96a-61b226f526e2/outlook-2010-mapi-headers?forum=vsto

See attached correction. [MAPIUtil.pas](url
MAPIUtil.pas.txt
)

@markwilliams1234
Copy link
Author

markwilliams1234 commented Dec 28, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants