Re: D5 winspool.dll missing with XP

From: Rob Kennedy (me3_at_privacy.net)
Date: 08/10/04


Date: Tue, 10 Aug 2004 09:43:29 -0500

Julian wrote:
> I have a program compiled using D5 version 5.62

You really should install the update. The current version of Delphi 5 is
6.18.

> It runs perfectly under Win95 and Win98.
>
> When run on XP, a message comes up saying the wispool.dll is missing.
>
> Researching Google has indicated that XP/NT implements winspool by
> requiring calls to winspool.drv, whereas the 95/98 implementations
> required the dll.

My Windows 98 machine has no WinSpool.dll in its Windows or System
directories. It does have a WinSpool.drv, though.

> I have checked winspool.pas in the D5 source, and it is calling
> winspool.drv.

Then have you looked at the rest of the code? WinSpool.pas obviously
isn't looking for any DLLs.

> I have then copied the winspool.pas to a project file on
> the search path, and it is being correctly compiled because a dcu is
> being created.

That shouldn't be necessary unless you're making changes to the source
code, and so far, you haven't indicated any need to edit it; it's correct.

-- 
Rob


Relevant Pages

  • Re: [Full-disclosure] DLL hijacking with Autorun on a USB drive
    ... Removing the feature from Windows core will, surely break a lot of programs. ... that dll shouldn't have been in that network share in the first place. ... As the saying goes, ... Thats the real threat of this, ...
    (Full-Disclosure)
  • Thanks ... Re: Staticly link with MSVCR71.dll ?
    ... I have changed /MD to /MT and it works fine, even though it is a dll. ... > build an MFC app for Windows 95 that would run without requiring ...
    (microsoft.public.vc.mfc)
  • Re: System-wide hooking, VB+ASM
    ... > I just don't get why you are saying that an ActiveX DLL is not a Windows ... I think Paul got a little off-track by saying "Windows DLL". ...
    (microsoft.public.vb.winapi)
  • Re: Data Execution Prevention - none of the fixes work!
    ... "To help protect your computer, ... Windows has closed this application". ... Unless there is an errant space there, that is NOT saying run.dll: ... likely saying something akin to Run *.dll and not nameing the specific dll. ...
    (microsoft.public.windowsxp.general)
  • Re: .Net packaging/wrapper application?
    ... it just didn't work well in reality due to DLL ... Windows works is to look in the executable's directory for a needed DLL ... the way apps used to work when they developed Windows. ... Looks to me like Jim is looking for the .NET equivalent of compiling ...
    (microsoft.public.dotnet.framework.aspnet)