When I use mimalloc by static linking, my program runs normally. However, when I use dynamic linking (mimalloc-override.dll + mimalloc-redirect.dll), my program crashes before the main function starts, indicating an error related to ntdll.dll. The stack shows ntdll.dll*4 then mimalloc-redirect.dll*3 then ntdll.dll*1 then mimalloc-redirect.dll*3 then ntdll.dll*3. It only crashes on Win7, but runs OK on Win10. I've tested version 1.7.6 and 2.1.2, and the results are the same.
When I use mimalloc by static linking, my program runs normally. However, when I use dynamic linking (mimalloc-override.dll + mimalloc-redirect.dll), my program crashes before the main function starts, indicating an error related to ntdll.dll. The stack shows ntdll.dll*4 then mimalloc-redirect.dll*3 then ntdll.dll*1 then mimalloc-redirect.dll*3 then ntdll.dll*3. It only crashes on Win7, but runs OK on Win10. I've tested version 1.7.6 and 2.1.2, and the results are the same.