Skip to content

Commit

Permalink
Fix crashing issue when launching 32-bit version on x64. Also opt in …
Browse files Browse the repository at this point in the history
…to being shown for OneDrive placeholders.
  • Loading branch information
chrdavis committed Jul 22, 2020
1 parent 8ecfb67 commit 2fa2200
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
8 changes: 8 additions & 0 deletions SmartRenameInstaller32/SmartRenameInstaller32.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@
"ValueTypes" = "3:1"
"Value" = "8:SmartRename Shell Extension"
}
"{ADCFDA98-8FDD-45E4-90BC-E3D20B029870}:_FAC15E3804EE46E7960800961C7A05AD"
{
"Name" = "8:ContextMenuOptIn"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"ValueTypes" = "3:1"
"Value" = "8:"
}
}
}
}
Expand Down
18 changes: 17 additions & 1 deletion SmartRenameInstaller64/SmartRenameInstaller64.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:SmartRename"
"ProductCode" = "8:{688CD75D-0CEE-4E10-8552-7AE64CA687C7}"
"PackageCode" = "8:{6106C80F-2706-41D4-9B89-89FC6ACAD163}"
"PackageCode" = "8:{39C1D063-F5C7-4BE3-9A63-D3BAB11713A4}"
"UpgradeCode" = "8:{71B5C174-58D2-4287-A3E8-28845BA75862}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
Expand Down Expand Up @@ -312,6 +312,14 @@
"ValueTypes" = "3:1"
"Value" = "8:SmartRename Shell Extension"
}
"{ADCFDA98-8FDD-45E4-90BC-E3D20B029870}:_78BCC699642B4437B7A950FAD5B26909"
{
"Name" = "8:ContextMenuOptIn"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"ValueTypes" = "3:1"
"Value" = "8:"
}
}
}
}
Expand Down Expand Up @@ -379,6 +387,14 @@
}
"Values"
{
"{ADCFDA98-8FDD-45E4-90BC-E3D20B029870}:_743D0B50C9E34D489D0D91B2B537525F"
{
"Name" = "8:ContextMenuOptIn"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"ValueTypes" = "3:1"
"Value" = "8:"
}
"{ADCFDA98-8FDD-45E4-90BC-E3D20B029870}:_E71AC04B540E402697286F04CE1B2590"
{
"Name" = "8:"
Expand Down
8 changes: 4 additions & 4 deletions SmartRenameLib/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ typedef struct {
MRUCMPPROC lpfnCompare;
} MRUINFO;

typedef HANDLE (*CreateMRUListFn)(MRUINFO* pmi);
typedef int (*AddMRUStringFn)(HANDLE hMRU, LPCWSTR data);
typedef int (*EnumMRUListFn)(HANDLE hMRU, int nItem, void* lpData, UINT uLen);
typedef int (*FreeMRUListFn)(HANDLE hMRU);
typedef HANDLE (WINAPI *CreateMRUListFn)(MRUINFO* pmi);
typedef int (WINAPI *AddMRUStringFn)(HANDLE hMRU, LPCWSTR data);
typedef int (WINAPI *EnumMRUListFn)(HANDLE hMRU, int nItem, void* lpData, UINT uLen);
typedef int (WINAPI *FreeMRUListFn)(HANDLE hMRU);

class CRenameMRU :
public IEnumString,
Expand Down

0 comments on commit 2fa2200

Please sign in to comment.