mfcmapi icon indicating copy to clipboard operation
mfcmapi copied to clipboard

add list of installed add-ins to Help... dialog

Open dchang0 opened this issue 3 years ago • 2 comments

Hi--

I'm testing the sample CreateOutlookItemsAddIn.dll, but from what I can tell, it is not actually working, even though it built correctly and the .dll is in the same folder as MFCMAPI.exe and they are both 32-bit.

To help diagnose such issues, it would be super-helpful to have a list of detected and installed add-ins in the Help... dialog.

I deduce that CreateOutlookItemsAddIn.dll is not working because none of the menu items it is supposed to add are in any of the menus or context menus.

Thanks!

dchang0 avatar Apr 14 '22 07:04 dchang0

Follow up on the underlying issue that led to this ticket. CreateOutlookItemsAddIn.dll is definitely not loading because MFCMAPI.exe is unable to read the registry to get the InclusionList and ExclusionList. As a result, the logic bypasses loading CreateOutlookItemsAddIn.dll entirely, without saying why in the debug log.

It's line 313 in addin.cpp that "fails" because it can't read the registry for the ExclusionList

if (!ExclusionList.IsOnList(FindFileData.cFileName))

dchang0 avatar Apr 17 '22 19:04 dchang0

I would suggest using mrmapi -v to test add-in loading

stephenegriffin avatar Jul 19 '22 02:07 stephenegriffin