Skip to content

Fix windows side of dll loading code #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

edo9300
Copy link
Collaborator

@edo9300 edo9300 commented Dec 27, 2023

No description provided.

Properly take a std::string in those functions to ensure that the passed strings are actually properly null terminated.
Check the ``_WIN32`` macro rather than ``_MSC_VER`` to detect if we're targeting Windows, rather than checking if we're compiling using Visual Studio.
Add ``function_cast`` to properly convert the function pointer retrieved from GetProcAddress when building under mingw.
@DyXel DyXel merged commit 32063ad into DyXel:program-defined-metafunctions-no-boost-dll Dec 27, 2023
@edo9300 edo9300 deleted the program-defined-metafunctions-fix-windows-dll-loading branch December 27, 2023 16:20
DyXel pushed a commit that referenced this pull request Feb 20, 2024
…st-dll

refactor(reflect): remove Boost.DLL dependency by doing DLL handling ourselves
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