with SWIG 1.3.36 I am creating Python wrappers for some C++ classes in mymodule. I use WindowsXP and VisualStudio (2003 and 2008). With Python 2.4 all worked fine.

No I want to port to Python 2.5. I rebuild _mymodule.dll using the headers of Python 2.5 and linking to python25.lib. But when I type the Python command:
>>> import mymodule
I always get the error
ImportError: No module named _mymodule

I also tried Python 2.6, but I get the same error.

What has changed from Python 2.4 to Python 2.5?