Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Add Tkge::Utilities::GetCurrentExecutablePath() #25

Merged

Conversation

TymianekPL
Copy link
Collaborator

No description provided.

@TymianekPL TymianekPL linked an issue Feb 17, 2025 that may be closed by this pull request
#endif
#include <libloaderapi.h>
#include <minwindef.h>
#else // defined(_WIN32)
Copy link
Member

Choose a reason for hiding this comment

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

Should probably use #elif defined(__linux__) here. Then the only error will be the static assertion instead of "can't find includes" etc.

@TymianekPL TymianekPL merged commit 4640372 into main Feb 17, 2025
5 checks passed
@TymianekPL TymianekPL deleted the tymii/23-utility-function-to-obtain-the-executable-path branch February 17, 2025 19:48
TymianekPL added a commit that referenced this pull request Feb 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Utility function to obtain the executable path
2 participants