Re: ezprint library crashes tcl84.dll when wrapped as starpack?

From: Jeff Godfrey (jeff_godfrey_at_pobox.com)
Date: 12/23/04


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



Relevant Pages

  • Re: Starting Word instead of OE
    ... Jeff wrote: ... clicking on a mailto link on a webpage opens a new message in ... Under file types, I have an entry ... Should I create a new one with Extension URL:Mailto Protocol? ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Thank you Girl- Takes 2,3,4 and 7-13
    ... OE, Thunderbird ... Thanks, Nil. ... What extension was it? ... Hang in there Jeff. ...
    (rec.music.beatles)
  • RE: Installs the driver - then says it cant find the file?
    ... Search your harddrive for that file, it may have changed the name or extension. ... "Jeff W" wrote: ... > am trying to install device driver for iRiver iFp380 flash player. ... I find this quite confusing. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Screen Scap Emulator Window
    ... Jeff writes: ... Does anyone know of an extension that would help me do that? ... Assuming you're speaking of a terminal emulator, ...
    (comp.lang.tcl)
  • Re: DBI,DBD-Oracle install for AS Perl URGENT!!
    ... George, Jeff has now told you *twice* what you need to do, and you ... I used the PPM to install the DBD-Oracle driver to my pc: ... I also went to your CPAN site to check the drivers for ...
    (perl.dbi.users)