Because there is no way to control the order in which in-process servers are loaded or unloaded,
do not callCoInitialize, CoInitializeEx,
or CoUninitialize from
the DllMain function.
由于无法控制进程内服务器的加载和卸载顺序,所以不能再DllMain函数中调用CoInitializeEx一类函数。
时间: 2024-10-12 13:56:54