Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions cppcryptfs/cppcryptfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ THE SOFTWARE.
#include "ui/uiutil.h"
#include "../libipc/server.h"
#include "../libipc/client.h"
#include "ui/locutils.h"


#ifdef _DEBUG
Expand Down Expand Up @@ -186,15 +187,15 @@ BOOL CcppcryptfsApp::InitInstance()
ShowWindow(hWnd, SW_SHOWNORMAL);
}
} else {
::MessageBox(NULL, L"cppcryptfs is already running, but window not found!", L"cppcryptfs", MB_OK | MB_ICONERROR);
::MessageBox(NULL, LocUtils::GetStringFromResources(IDS_RUN_WINDOW_NOT_FOUND).c_str(), L"cppcryptfs", MB_OK | MB_ICONERROR);
}

return FALSE;
} else {
wstring mes;
bool dokVerCheck = check_dokany_version(mes);
if (!dokVerCheck && mes.length() < 1) {
mes = L"problem with Dokany version";
mes = LocUtils::GetStringFromResources(IDS_PROBLEM_DOKANY_VERSION);
}
if (mes.length()) {
::MessageBox(NULL, mes.c_str(), L"cppcryptfs", MB_OK | (dokVerCheck ? MB_ICONEXCLAMATION : MB_ICONERROR));
Expand Down
Binary file modified cppcryptfs/cppcryptfs.rc
Binary file not shown.
15 changes: 15 additions & 0 deletions cppcryptfs/cppcryptfs.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
<ItemGroup>
<ClInclude Include="ui\CryptSetting.h" />
<ClInclude Include="ui\CryptSettings.h" />
<ClInclude Include="ui\locutils.h" />
<ClInclude Include="ui\MoreSettingsPropertyPage.h" />
<ClInclude Include="config\cryptconfig.h" />
<ClInclude Include="context\cryptcontext.h" />
Expand Down Expand Up @@ -260,6 +261,10 @@
<ItemGroup>
<ClCompile Include="ui\CryptSetting.cpp" />
<ClCompile Include="ui\CryptSettings.cpp" />
<ClCompile Include="ui\locutils.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="ui\MoreSettingsPropertyPage.cpp" />
<ClCompile Include="cppcryptfs.cpp" />
<ClCompile Include="dokan\cryptdokan.cpp">
Expand Down Expand Up @@ -316,6 +321,16 @@
<Image Include="res\cppcryptfs.ico" />
<Image Include="res\drive.ico" />
</ItemGroup>
<ItemGroup>
<Text Include="res\lic\en\aessiv.txt" />
<Text Include="res\lic\en\cppcryptfs.txt" />
<Text Include="res\lic\en\dokany_lib.txt" />
<Text Include="res\lic\en\dokany_mir.txt" />
<Text Include="res\lic\en\getopt.txt" />
<Text Include="res\lic\en\openssl.txt" />
<Text Include="res\lic\en\rapidjson.txt" />
<Text Include="res\lic\en\secure_edit.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
Loading