fixing some bugs

This commit is contained in:
jakani24
2024-05-21 18:51:27 +02:00
parent 8a9f31623a
commit 0fe063bd9b
25 changed files with 166 additions and 205 deletions

View File

@@ -24,7 +24,7 @@
"RelativeDocumentMoniker": "client_frontend.cpp",
"ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\client_frontend\\client_frontend.cpp",
"RelativeToolTip": "client_frontend.cpp",
"ViewState": "AQIAAEsAAAAAAAAAAAAAAGQAAACHAAAA",
"ViewState": "AQIAAKEBAAAAAAAAAAAAALsBAABLAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2024-03-23T13:52:32.121Z",
"EditorCaption": ""

View File

@@ -441,7 +441,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
std::wstring selectedFile = ofn.lpstrFile; // Use std::wstring for wide characters
std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
std::string narrowSelectedFile = converter.to_bytes(selectedFile);
std::thread(scan_file, hWndTextField, narrowSelectedFile, 0).detach();
std::thread(scan_file, hWndTextField, narrowSelectedFile, 1).detach();
}
}

View File

@@ -1,3 +1,2 @@
 client_frontend.cpp
client_frontend.vcxproj -> C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_frontend\x64\Debug\client_frontend.exe
 client_frontend.vcxproj -> C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_frontend\x64\Debug\client_frontend.exe
C:\vcpkg\vcpkg-2023.08.09\scripts\buildsystems\msbuild\vcpkg.targets(228,5): warning : [vcpkg] Failed to gather app local DLL dependencies, program may not run. Set VcpkgApplocalDeps to false in your project file to suppress this warning. PowerShell arguments: -ExecutionPolicy Bypass -noprofile -File "C:\vcpkg\vcpkg-2023.08.09\scripts\buildsystems\msbuild\applocal.ps1" "C:\Users\janis\Documents\Projekte_mit_c\ma\ma\src\client_frontend\x64\Debug\client_frontend.exe" "C:\vcpkg\vcpkg-2023.08.09\installed\x64-windows\debug\bin" "client_frontend\x64\Debug\client_frontend.tlog\client_frontend.write.1u.tlog" "client_frontend\x64\Debug\vcpkg.applocal.log"