I have some code here that we used to use to call a Python script from our (very large) application. It worked fine when we used VS2008
(compiler v90
), which is what the default version of python27
was compiled with.
In the last year we've upgraded our application to VS2010
, and I was looking to update the Python-calling dll, thinking it would be a morning's work. Unfortunately, after wrestling with the linker and missing dlls for ages, most of my colleagues agree that our application and python27.dll
are using incompatible versions of Windows CRT
.
I thought it would be simple enough to find a version of python27.dll
(or indeed another version would be fine) compiled with VS2010 (v100)
- but I can't.
Is there a way to call a Python script from an application compiled in VS2010
?