PSDRV question

Carl Sopchak carl.sopchak at cegis123.com
Wed Jul 10 08:31:33 CDT 2002


On Tuesday, July 09, 2002 07:08 pm, Huw D M Davies wrote:
> On Tue, Jul 09, 2002 at 04:45:56PM -0400, Carl Sopchak wrote:
> > I've been trying to get Quicken 2000 Deluxe running in wine.  After I
> > figured out that it wasn't finding a DLL for the internet connection (and
> > got that fixed), I started testing the second-most important function of
> > Quicken that I need: check printing.
> >
> > All went well until I tried to print a sample check (to verify
> > alignment), at which point Wine crashed into winedbg.  I figured out why:
> >  When reading the ppd file, it sets up an *InputSlot for ManualFeed (even
> > though it's not really an InputSlot, but most Win programs treat it as
> > one...).  The problem was that, in ppd.c, a Name wasn't given to the slot
> > (but a FullName was), so when ps.c tried to output the header for the
> > InputSlot it crashed (since strlen(NULL) causes a crash).
> >
> > I hacked the AddSlot call to name the slot "Manual", and this seems to
> > work OK.  The question that I have is, is this the way that it should
> > REALLY get fixed (does the name matter?), or should something else be
> > done?
> >
> > I'd be happy to correct my hack, if necessary.  In either case, I can
> > post the patch to sourceforge, once I know "the right way" this should be
> > handled.
> >
> > Thanks for the help,
>
> I'd suggest calling PSDRV_AddSlot with both Name and FullName set to
> "Manual Feed"
>
> Huw.

That seems to work as well, so I'll post the patch shortly...

Just out of curiosity, is there a compelling reason for your suggestion?

Carl



More information about the wine-devel mailing list