You have an application that is configured to be built for an x64 platform by using the Msvcr90.dll file. The application calls the
strncpy function. When you run the application, you may receive the following error message in the Visual Studio Just-In-Time Debugger window:
An unhandled win32 exception occured in 'application_name'
When you check the call stack, you may find an access violation was triggered in the Msvcr90.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.