Visual Studio Code – Why MSVC compiler ignore my code and call stdclib function
I use Visual Studio 2022 with v143 platform toolset Have that code (dll): #include <Windows.h> unsigned char* buff; BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { int len = 1000; while (len--) *buff++ = 0; } MSVC…