|Acrolinx Plug-in for JustSystems XMetaL||All versions|
When you run a check, it is possible that you encounter issues with the Acrolinx plug-in and the Acrolinx flags. For example, it is possible that you cannot click flags or that flags are permanently embedded into the document. Also, it is possible that the plug-in displays an error message that it could not patch a file in the XMetaL directory.
When a user runs a check, the Acrolinx plug-in checks if the relevant MCR macro file has been modified by the Acrolinx plug-in. This modification is necessary for the plug-in to insert flags. If the modification has not been made, the plug-in attempts to make this modification and notify the user. However, the plug-in cannot make this modification when using a CMS to store files.
Resolving the Problem
To resolve this issue, you must manually patch the MCR macro files that the Acrolinx plug-in requires to insert flags into the document. When using a CMS, the relevant MCR files are stored in the CMS and synced to all computers. To patch the MCR files manually, you must run the following command as an administrator for every MCR file individually:
rundll32.exe "<PATH_TO_ACROLINX_XMETAL_PLUGIN_DLL>",PatchMacroFileEntryPoint file="<PATH_TO_MCR_FILE>\\<MCR_FILE_NAME>.mcr"
For example: rundll32.exe "C:\\Program Files (x86)\\Acrolinx\\PlugIns\\XMetaLPlugIn\XMetalPlugin.dll",PatchMacroFileEntryPoint file="C:\\XMetaL_DITA\\concept.mcr"
The following DLL files from the Acrolinx plug-in installation must be available on the computer you run the patch from: XMetalPlugin.dll, AcroPlugInSdk2.dll, and ACSS_Junction.dll. You typically find the DLL files in the following directory: <PLUGIN_INSTALL_DIR>\Acrolinx\PlugIns\XMetaLPlugIn .