Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
warning C28637: Calling the function in a global initializer is unsafe
When you use a DLL, it is frequently the case that any static constructors are called from DllMain. There are a number of constraints that apply to call other functions from DllMain. In particular, it is possible to create memory leaks if the DLL is loaded and unloaded dynamically. For more information, see the DllMain Callback Function.