importing SWIG extension DLL from VC++

Refrigerator Johnny johnny at johnnysfunhouse.com
Wed Nov 21 16:50:54 EST 2001


>
> This is just a simple test. I have a bigger problem, where importing an
> extension DLL causes an assertion?

Problems solved.
My extension DLL was a release version, and my test application (vc++ with
embedded python, which called the extension DLL) was a debug version.
I installed the debug extensions from the active python site - not real easy
to find.
Created the debug version of the extension DLL - make sure you call it
mydll_d.dll.
from the interpreter python_d.exe (not python.exe), you can then
import mydll
-john






More information about the Python-list mailing list