From: Alexey S. <al...@as...> - 2012-11-29 16:00:17
|
29.11.2012 14:27, Abhimanyu Sirohi пишет: > Hi, > > I am building a DLL (PYD) and the glue code for Python is generated > using SWIG 2.0.8. The problem is that the generated DLL is linked to > Python32.dll and cannot be used in older versions like 2.5, 2.6 and > 3.1. > > I get the following message in Python 2.5: > "ImportError: Module use of python32.dll conflicts with this version of Python." > > Is it possible to have just one single DLL (PYD) file that can be used > by multiple versions of Python? No. > Right now the only option is to > generate multiple PYD files each targeting a different version of > Python. Yes. > > Thanks > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > VERIFY Test and improve your parallel project with help from experts > and peers. http://goparallel.sourceforge.net > _______________________________________________ > Swig-user mailing list > Swi...@li... > https://lists.sourceforge.net/lists/listinfo/swig-user -- Best regards, Alexey "DarthGandalf" Sokolov |