Skip to content

Conversation

@ader1990
Copy link
Member

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);

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]>
@ader1990 ader1990 force-pushed the add_support_for_github_actions_build branch from 23f8684 to 71f0d98 Compare December 29, 2025 14:40
@ader1990 ader1990 force-pushed the add_support_for_github_actions_build branch from 71f0d98 to 88b1938 Compare December 29, 2025 14:45
@petrutlucian94
Copy link
Member

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

I don’t agree with using precompiled DLLs just because it no longer builds on recent Visual Studio versions. We should fix the project instead.

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