-
Notifications
You must be signed in to change notification settings - Fork 3
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
Refine howto of mapirtf installation #18
Comments
I did something similar. I just used the path of the system32 folder, but it didn't result in a crash. So what are our differences. I am on Win10 64-bit and Outlook 2019 64-bit. What is on you side? |
I checked again and I can confirm to get runtime error 48. But googling for the error states "Error in loading DLL (Error 48) (maybe a false/missed translation) which is of course another error than yours. |
I have |
Ok, I guessed/hoped that you are on 32-bit Outlook. I know it from an Excel AddIn that when the signatures of the functions don't match that 32-bit versions crash and 64-bit versions not. So I strongly believe that this is the same problem here. Since all parameters are strings and the return value the function is an integer I don't think we can solve this. Do you have any hopes/ideas? |
Regarding the crash, I got following hint:
|
That are good news. I didn't know that this is possible. But now knowing I found Which program in Visual Studio lets me look into DLLs to see its API? on StackOverflow. There are also listed other tools than Visual Studio that should be able to show the signatures, especially in user4898056's answer. Please let me know which tool worked for you. |
Thank you for the links! I hope, I can investigate on beginning of November! |
Following Boolean enables QuoteColorizer:
quotefixmacro/QuoteFixMacro.bas
Line 43 in 052a377
That, in turn, requires
mapirtf.dll
.This file is from 1997-08-28 and can be retrieved from http://download.microsoft.com/download/mapi/utility/11/w9xnt4/en-us/mapirtf.exe. (Linked from KB 172038).
That
.exe
can be extracted with 7zip.About 2008, it worked to copy
mapirtf.dll
toC:\Windows\System32
.Now, I get the following error:
That translates to "Runtime error 53" "File not found: mapirtf.dll".
Via https://stackoverflow.com/q/53316591/873282 - "Call C++ DLL from VBA". Very similar issue (Run-time error '53'). I came to following solution:
mapirtf.dll
toc:\temp\mapirtf.dll
Public Declare PtrSafe Function ReadRTF _
-->Lib "c:\temp\mapirtf.dll" _
Unfortunately, Outlook 2019 completely crashes when executing
ReadRTF
-->quotefixmacro/QuoteFixMacro.bas
Line 1516 in 052a377
The text was updated successfully, but these errors were encountered: