Hi all,
The problem was in the code of the compare loader itself.
for (int i = 0; i < iMenuItems; i++)
{
...
GetMenuItemInfo(hPluginMenu, i, TRUE, &mii);
if (!lstrcmp(buffer, L"Compare"))
{
...
int iSubMenuItems = GetMenuItemCount(mii.hSubMenu);
for (int j = 0; j < iSubMenuItems; j++)
{
...
GetMenuItemInfo(mii.hSubMenu, i, TRUE, &smii);
The second GetMenuItemInfo should use the second forcycle index:
GetMenuItemInfo(mii.hSubMenu, j, TRUE, &smii);
BR