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
Poco::ClassLoader will crashed when DLL and EXE not use MD/MDd RunTime-Library #4549
Comments
You are not supposed to use different runtime libraries in your main application and your plugins. |
If I use |
That's an unfortunate side effect of using MT with DLLs. Nothing we can do about it. |
What about hiding the implementation of |
That can't be done. |
I wanna use |
Describe the bug
Poco::Manifest
class hasSTL
member, It will crash if DLL and EXE use different Run-Time Library (MT/MD)To Reproduce
Build options: VS2019 + debug_static_mt + x64
( It must be in
debug mode
andnot MD
if you wanna see the crash message box)EXE code
DLL code
Screenshots
Please add relevant environment information:
The text was updated successfully, but these errors were encountered: