Skip to content
Discussion options

You must be logged in to vote

Looking at the DllMain documentation, there are significant restrictions on what can safely be done inside DllMain:

https://learn.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices

Given that, it’s unclear whether initializing an Ice server from DllMain can work reliably—especially since it may indirectly perform operations (like loading other libraries or starting threads) that are not safe during DLL initialization.

Have you checked the Windows Event Viewer for any related errors?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Fireshtorm1k
Comment options

Answer selected by Fireshtorm1k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants