Kevin D.Smith wrote: > This almost worked (at least, it appears to). I got the module to > build and install using VS 2005. It works fine if I run python from > the directory where I built the extension. However, if you go to any > other directory, run python, and try to import the module, I get the > following error: > > ImportError: dynamic module does not define init function (initsasSQL) > > Why would it work from one directory, but not another?
do you perhaps have a different "sassql.dll" file in your Python path? (Python's standard import mechanism looks for PYD, DLL, PY, PYW, and PYC, in that order.) </F> -- http://mail.python.org/mailman/listinfo/python-list