Skip to content

Commit

Permalink
- update appveyor to vs2019
Browse files Browse the repository at this point in the history
- add arm64 build
- fix some compiler warnings
  • Loading branch information
chcg committed Sep 12, 2021
1 parent 4df14cd commit c19548a
Show file tree
Hide file tree
Showing 7 changed files with 183 additions and 77 deletions.
4 changes: 2 additions & 2 deletions JumpListFunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ void CALLBACK ParseJPCmdW (

if ((::OpenMutex(0, false, TEXT("nppInstance")) == NULL) && (::GetLastError() == ERROR_FILE_NOT_FOUND))
{
if (int(::ShellExecute(NULL, TEXT("open"), args[1], NULL, NULL, SW_SHOWNORMAL)) <= 32)
if (INT_PTR(::ShellExecute(NULL, TEXT("open"), args[1], NULL, NULL, SW_SHOWNORMAL)) <= 32)
return;

::Sleep(100);
Expand Down Expand Up @@ -555,7 +555,7 @@ void SendNppRecentCmd(LPTSTR _idStr, LPTSTR _menuStr)
HMENU hNppFileMenu = ::GetSubMenu(hNppMainMenu, NPP_MENUINDEX_FILE);

bool foundItem = false;
UINT itemID;
UINT itemID = 0;

for (int i = 0; i < recentMax; ++i)
{
Expand Down
File renamed without changes.
39 changes: 25 additions & 14 deletions NppPluginTemplate.sln
Original file line number Diff line number Diff line change
@@ -1,26 +1,37 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31624.102
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NppPluginTemplate", "NppPluginTemplate.vcxproj", "{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
ANSI Debug|Win32 = ANSI Debug|Win32
ANSI Release|Win32 = ANSI Release|Win32
Unicode Debug|Win32 = Unicode Debug|Win32
Unicode Realeas|Win32 = Unicode Realeas|Win32
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.ANSI Debug|Win32.ActiveCfg = ANSI Debug|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.ANSI Debug|Win32.Build.0 = ANSI Debug|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.ANSI Release|Win32.ActiveCfg = ANSI Release|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.ANSI Release|Win32.Build.0 = ANSI Release|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Unicode Debug|Win32.ActiveCfg = Unicode Debug|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Unicode Debug|Win32.Build.0 = Unicode Debug|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Unicode Realeas|Win32.ActiveCfg = Unicode Realeas|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Unicode Realeas|Win32.Build.0 = Unicode Realeas|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Debug|ARM64.ActiveCfg = Debug|ARM64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Debug|ARM64.Build.0 = Debug|ARM64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Debug|x64.ActiveCfg = Debug|x64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Debug|x64.Build.0 = Debug|x64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Debug|x86.ActiveCfg = Debug|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Debug|x86.Build.0 = Debug|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Release|ARM64.ActiveCfg = Release|ARM64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Release|ARM64.Build.0 = Release|ARM64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Release|x64.ActiveCfg = Release|x64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Release|x64.Build.0 = Release|x64
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Release|x86.ActiveCfg = Release|Win32
{1590D7CD-7D3A-4AB7-A355-EE02F7FB987D}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D48FCB3D-732D-4F3E-AAF2-224C8EA0BD51}
EndGlobalSection
EndGlobal
Loading

0 comments on commit c19548a

Please sign in to comment.