Skip to content

Fix windows side of dll loading code#1

Merged
DyXel merged 2 commits intoDyXel:program-defined-metafunctions-no-boost-dllfrom
edo9300:program-defined-metafunctions-fix-windows-dll-loading
Dec 27, 2023
Merged

Fix windows side of dll loading code#1
DyXel merged 2 commits intoDyXel:program-defined-metafunctions-no-boost-dllfrom
edo9300:program-defined-metafunctions-fix-windows-dll-loading

Conversation

@edo9300
Copy link
Copy Markdown
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