There is a recent project to embed Python scripts into C + +, the embedded implementation is not very complicated, the official manuals and online have many examples of this, so the implementation process is very smooth. However, the C + + runtime error, error code R6034, occurred while deploying to another machine.
The development environment is visual Studio + Python2.7.8. This question is very strange, because only in a machine to appear this error, other machines are very normal, after some toss, finally found on the StackOverflow website, the foreigner gives the solution more reliable:
Http://stackoverflow.com/questions/14552348/runtime-error-r6034-in-embedded-python-application
According to the foreigner's method, using Process Explorer to view the dependencies, sure enough, found two msvcr90.dll, one in the VISUALSVN server directory, one in the system WinSxS directory. Finally, the test found that uninstall VISUALSVN or delete its directory msvcr90.dll, the program can run normally, no longer reported R6034 errors.
R6034 error occurred in C + + call Python2.7.