September 27th, 2013, 04:00 AM
Running Python from C++ - but not VS2008 (v90)
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 Windows 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 any 2.X 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?
October 1st, 2013, 10:25 AM
With reluctance, I've recompiled Python using VS2010.
I'm surprised that there isn't different versions of the dll for download...