Open markwilliams1234 opened 4 years ago
which demo?
Outlook or OutlookSource ?
Didn’t realise (until now) there were two.
I am having a problem with the Outlook demo, but have also tried the Outlook Source just now and same problem. However, I don’t think Outlook Source is set up to handle drag & drop direct from outlook.
__
From: Sven Harazim notifications@github.com Sent: 04 November 2020 13:46 To: landrix/The-Drag-and-Drop-Component-Suite-for-Delphi The-Drag-and-Drop-Component-Suite-for-Delphi@noreply.github.com Cc: markwilliams1234 markwillimas@gmail.com; Author author@noreply.github.com Subject: Re: [landrix/The-Drag-and-Drop-Component-Suite-for-Delphi] Outlook demo not working (#45)
which demo?
Outlook or OutlookSource ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/landrix/The-Drag-and-Drop-Component-Suite-for-Delphi/issues/45#issuecomment-721740286 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQTYJOHALUWXJJB7YMJKG3SOFLH5ANCNFSM4TKBTQJQ .
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
OK. Thanks.
__
From: Sven Harazim notifications@github.com Sent: 04 November 2020 15:33 To: landrix/The-Drag-and-Drop-Component-Suite-for-Delphi The-Drag-and-Drop-Component-Suite-for-Delphi@noreply.github.com Cc: markwilliams1234 markwillimas@gmail.com; Author author@noreply.github.com Subject: Re: [landrix/The-Drag-and-Drop-Component-Suite-for-Delphi] Outlook demo not working (#45)
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/landrix/The-Drag-and-Drop-Component-Suite-for-Delphi/issues/45#issuecomment-721801945 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQTYJIN6CSNNTFTBEXH4HDSOFXY7ANCNFSM4TKBTQJQ .
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[]()
Hi,
Thanks for posting this fix and apologies for delay in responding. Will give this a try and report back if any issues.
Mark
__
From: Ben-Silicon @.> Sent: 24 May 2021 14:15 To: landrix/The-Drag-and-Drop-Component-Suite-for-Delphi @.> Cc: markwilliams1234 @.>; Author @.> Subject: Re: [landrix/The-Drag-and-Drop-Component-Suite-for-Delphi] Outlook demo not working on win64 (#45)
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 : @.***'); 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 https://github.com/landrix/The-Drag-and-Drop-Component-Suite-for-Delphi/files/6532545/MAPIUtil.pas.txt )
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/landrix/The-Drag-and-Drop-Component-Suite-for-Delphi/issues/45#issuecomment-847034894 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQTYJKGFML2QKFEXXUK7ITTPJGOVANCNFSM4TKBTQJQ .
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.