Skip to content

Conversation

@ader1990
Copy link
Member

No description provided.

Visual Studio 2022 or later cannot build the current version of
UtilsActions project, because of the type errors.

Having these UtilsActions.dll binaries is actually beneficial as there
is no more need of the UtilsActions project, at the expense of not being
able to modify those methods if needed.

But the UtilsActions.dll methods are rather fixed in their purpose and
should not change for the foreseeable future.

If, for any reason, there is the need to change those methods, the
project will need to be rewritten. Currently, the rewrite is not needed,
thus this addition.

```
std::wstring GenerateRandomPassword();
void GetUserSid(const std::wstring& username, PSID &pSid);
std::vector<std::wstring> GetUserRights(const std::wstring& username);
void AssignUserRights(const std::wstring& username, const
std::vector<std::wstring> rights);
```

Signed-off-by: Adrian Vladu <[email protected]>
Signed-off-by: Adrian Vladu <[email protected]>
Signed-off-by: Adrian Vladu <[email protected]>
@ader1990 ader1990 force-pushed the add_support_for_github_actions_build_with_utilsactions branch from 210ffc2 to a3a7a0f Compare January 5, 2026 09:43
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you're fixing the utils compilation, why do we need to include the DLLs?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The msms were added to keep backwards compatibility in the sense of codebase, but I need to check if they are still required and for what version of VS and SDK. For example, if we want to only support VS 2022 or VS 2017 and 2019 and 2022, I need to verify more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants