0x80070261 - ERROR_BAD_DLL_ENTRYPOINT
{Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly. The stack pointer has been left in an inconsistent state. The entrypoint should be declared as WINAPI or STDCALL. Select YES to fail the DLL load. Select NO to continue execution. Selecting NO may cause the application to operate incorrectly.
Symptoms
- {Invalid DLL Entrypoint} The dynamic link library %hs is not written correctly. The stack pointer has been left in an inconsistent state. The entrypoint should be declared as WINAPI or STDCALL. Select YES to fail the DLL load. Select NO to continue execution. Selecting NO may cause the application to operate incorrectly.
- System error 609 (ERROR_BAD_DLL_ENTRYPOINT)
Troubleshooting steps
- Note the exact error 609 (ERROR_BAD_DLL_ENTRYPOINT) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_BAD_DLL_ENTRYPOINT (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com