Skip to content

Commit

Permalink
Fixed order of shell verb id's.
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmulder committed Nov 16, 2015
1 parent 839107d commit 30b3be9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Contrib/StdUtils/src/InvokeShellVerb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ static bool MyInvokeShellVerb_LoadResStr(const WCHAR *const libFile, const DWORD
hMod = NULL;
}

if(success)
{
MessageBoxW(NULL, buffer, L"LoadResStr", MB_TOPMOST | MB_TASKMODAL);
}
else
{
MessageBoxW(NULL, L"<NOT FOUND>", L"LoadResStr", MB_TOPMOST | MB_TASKMODAL);
}

return success;
}

Expand Down
4 changes: 2 additions & 2 deletions Contrib/StdUtils/src/StdUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,8 +724,8 @@ NSISFUNC(InvokeShellVerb)
{
{ 5386, MAXDWORD },
{ 5387, MAXDWORD },
{ 5381, 51201, MAXDWORD },
{ 5382, 51394, MAXDWORD }
{ 51201, 5381, MAXDWORD },
{ 51394, 5382, MAXDWORD }
};

EXDLL_INIT();
Expand Down
Binary file modified Plugins/Release_ANSI/StdUtils.dll
Binary file not shown.
Binary file modified Plugins/Release_Tiny/StdUtils.dll
Binary file not shown.
Binary file modified Plugins/Release_Unicode/StdUtils.dll
Binary file not shown.

0 comments on commit 30b3be9

Please sign in to comment.