-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
there may be a solution but for now this commit is just for preserving these changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wooooow, thx for the awesome work 🎉 !
Looks impressive and super clean.
const int work_area_width, | ||
const std::wstring &desktop_name) | ||
: full_work_area(work_area_width) | ||
{ | ||
old_desktop = ::GetThreadDesktop(GetCurrentThreadId()); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was the new line intentional?
|
||
// EXPLICIT_ACCESS with second ACE for admin group | ||
explicit_access_admin.grfAccessPermissions = GENERIC_ALL; | ||
explicit_access_admin.grfAccessMode = SET_ACCESS; //DENY_ACCES |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SET_ACCESS
means DENY_ACCESS
or should it be DENY_ACCESS
and with that it isn't working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line was like this from the beginning, it does get changed with #13
const char ADDITIONAL_APPLICATION_PATH_PROPERTY[] = "additional_application_path"; | ||
const char CLOSING_POLICY_PROPERTY[] = "restrict_closing"; | ||
|
||
void TrimMessage(std::wstring &msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are TrimMessage
and BeginsWith
not in the namespace of SharedFunctions
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because they are not used anywhere but in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems to work as before 👍
This is the good (read: usable) stuff from #21 - just some minor refactoring and simplification (don't be alarmed by the amount of changed files, it is just
asio
again because I renamed the network project)@bencikpeter I added your token lib to the
SharedFunctionality
project and had to edit thetokenLib.cpp
file to get it compile clean:char *
Wtsapi32.lib
Not sure why it is not compiling on AppVeyor yet, will have a look tomorrow...