You have an application that is configured to be built for an x64 platform by using the MSVCRT.dll file which was included in Windows Server 2003 SP1 SDK. The application calls the strncpy function. When you run the application, you may receive the following error message:
An unhandled win32 exception occured in 'application_name'
When you check the call stack, you may find an access violation was triggered in the MSVCRT.dll file and that the application stopped responding in the strncpy function. This problem occurs when the following conditions are true:
The source buffer extends to the end of an allocated page.
The next byte after this page does not belong to the running process.
The length to be copied is an even multiple of 8.
The length to be copied includes the final byte of the source buffer.
This access violation occurs with MSVCRT.DLL in system32 folder.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.