Re: ezprint library crashes tcl84.dll when wrapped as starpack?
From: Jeff Godfrey (jeff_godfrey_at_pobox.com)
Date: 12/23/04
- Next message: Gustav Ivanovic: "Again - Mixed language programming Tcl/Tk and Fortran (Windows)"
- Previous message: Miko le pepe: "Sharing msgcat files"
- In reply to: Jeff Godfrey: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Next in thread: ljb: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Reply: ljb: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Reply: Georgios Petasis: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 23 Dec 2004 15:58:34 -0600
"Jeff Godfrey" <jeff_godfrey@pobox.com> wrote in message
news:10sm5df8a9t6ec3@corp.supernews.com...
> ----- Original Message -----
> From: "Georgios Petasis" <petasis@iit.demokritos.gr>
> Newsgroups: comp.lang.tcl
> Sent: Thursday, December 23, 2004 12:53 PM
> Subject: Re: ezprint library crashes tcl84.dll when wrapped as starpack?
>
>
>> Last time I faced a similar error, was due to a direct dependency of
>> an extension with the tcl dll. It was not using stubs.
>> Any extension that is not stubs enabled will crash
>> when loaded in a starkit, as the tcl/tk dll won't be found.
>>
>> George
>
> George,
>
> Thanks for the response.
>
> Though my C is very rusty, the extension ships with the C source code
> (just a single file). What can I look for in the source to verify whether
> it uses stubs or not? Assuming it doesn't, are you saying that it will
> never work within a starpack? If that's true, is there some kind of
> roadmap for converting the code to stubs?
>
> Thanks for any additional info.
>
> Jeff
Well, it seems that George's hunch was correct. The lib was crashing
because it was not "stubs enabled". After much Googling, I was able to
figure out what to change in the source (the easy part), and how to rebuild
the dll (the hard part). Anyway, I now have a stubs enabled version of
ezprint that appears to no longer crash unexpectedly.
Thanks,
Jeff
- Next message: Gustav Ivanovic: "Again - Mixed language programming Tcl/Tk and Fortran (Windows)"
- Previous message: Miko le pepe: "Sharing msgcat files"
- In reply to: Jeff Godfrey: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Next in thread: ljb: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Reply: ljb: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Reply: Georgios Petasis: "Re: ezprint library crashes tcl84.dll when wrapped as starpack?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|