Robert Kern escribió: >Gonzalo Monzón wrote: > > > >>I see there are both libraries linked in my pyrex modules... However, >>when one should expect to have problems with this "dll nightmare", if >>you always provide the right msvcr71.dll bundled within your project -I >>mean, using py2exe by example- ? >> >>Of course if you didn't bundle the right crt, it does depend on the >>available crt on target system... then you would be in trouble if user >>doesn't have msvcrt71, or anyway, could be in trouble linking the >>"right" library? >> >> > >If you use std::cout in a C++ extension module that was built with the stock >Python 2.4 distutils and the stock MinGW, you will crash the interpreter. >"Bundling the right CRT" is not the issue. *Building* with the right CRT is. > > > Ok, I left building out of the equation... I misunderstood the issue. Of course, you need to build always using the same crt.
Regards, Gonzalo -- http://mail.python.org/mailman/listinfo/python-list