How buid _tkinter_d.pyd?

Adrian Eyre a.eyre at optichrome.com
Fri Oct 1 06:33:54 EDT 1999


> I build _tkinter.pyd and _tkinter_d.pyd in VC6, _tkinter_d.pyd 
> doesn't work, because the function  init_tkinter() should be
> name init_tkinter_d(), but I can't link it with library, I need
> your help if you know how to build _tkinter_d.pyd in right way?

Although the library has the _d extension, the init function does
not. It works like this:

If you are using python15.dll, and say "import _tkinter", it looks
for _tkinter.pyd (or .dll), then calls init_tkinter() inside.

If you are using python15_d.dll and say "import _tkinter", it looks
for _tkinter_d.pyd (or .dll), but still calls init_tkinter() inside.

--------------------------------------------
Adrian Eyre <mailto:a.eyre at optichrome.com>
Optichrome Computer Solutions Ltd
Maybury Road, Woking, Surrey, GU21 5HX, UK
Tel: +44 1483 740 233  Fax: +44 1483 760 644
http://www.optichrome.com 
--------------------------------------------





More information about the Python-list mailing list