Re: ImportError in python 2.5 in C API DLL

2008-10-17 Thread Henrik
On Oct 17, 1:05 am, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Would really appreciate any assistance. > > You should change your project to create a .pyd file instead of a .dll > file. > > Regards, > Martin Ha-ha! Just rename the DLL to .pyd H -- http://mail.python.org/mailman/listinfo/py

Re: ImportError in python 2.5 in C API DLL

2008-10-16 Thread Martin v. Löwis
> Would really appreciate any assistance. You should change your project to create a .pyd file instead of a .dll file. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: ImportError in python 2.5 in C API DLL

2008-10-16 Thread Matimus
On Oct 16, 10:58 am, Henrik <[EMAIL PROTECTED]> wrote: > Hi, > > We are upgrading from Python 2.3 to verion 2.5 and when we recompile > we get ImportError. > > To test we took the spam example from the web documentation and > compiled it with Py23 and it imports without a problem. Changing the > li

ImportError in python 2.5 in C API DLL

2008-10-16 Thread Henrik
Hi, We are upgrading from Python 2.3 to verion 2.5 and when we recompile we get ImportError. To test we took the spam example from the web documentation and compiled it with Py23 and it imports without a problem. Changing the libs in visual studio 2008 to point to Py25 and we get: >>> import spa