[Starkit] Dll loads under tclkitsh, but not under tclkit

Jeff Hobbs jeffh at activestate.com
Thu Jun 8 01:24:27 CEST 2006


Nikos wrote:
> Tried to wrap up an application yesterday, one that uses the 
> nap library. This is on XP, and the nap.dll loads and seems 
> to work ok under tclkitsh. Trying to load it using tclkit, I 
> get a crash... This is using the latest, 8.4.13 based kits...
> 
> I've no problems loading nap using a standard (AS) wish8.4 or tclsh8.4
> 
> Dependency walker shows that nap relies on 3 functions from Tk8.4

Directly from tk84.dll?  That would be bad.  You should only ever use fully
stubs-built extensions with basekits.  It may work in tclkitsh because Tk will
be an external dll, but tclkit will have Tk static.  Make sure you compile
with the Tk stubs library as well.

Jeff



More information about the Starkit mailing list