2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Don't check dll-s if "SetDefaultDllDirectories" is available.

This commit is contained in:
John Preston
2021-07-01 00:15:56 +03:00
parent 5b2db4112f
commit 148af59615
6 changed files with 27 additions and 149 deletions

View File

@@ -75,14 +75,6 @@ bool finished = true;
QMargins simpleMargins, margins;
HICON bigIcon = 0, smallIcon = 0, overlayIcon = 0;
class _PsInitializer {
public:
_PsInitializer() {
Dlls::start();
}
};
_PsInitializer _psInitializer;
BOOL CALLBACK _ActivateProcess(HWND hWnd, LPARAM lParam) {
uint64 &processId(*(uint64*)lParam);
@@ -104,7 +96,7 @@ BOOL CALLBACK _ActivateProcess(HWND hWnd, LPARAM lParam) {
return TRUE;
}
}
} // namespace
void psActivateProcess(uint64 pid) {
if (pid) {
@@ -244,7 +236,6 @@ void start() {
} // namespace ThirdParty
void start() {
Dlls::init();
}
void finish() {