Tech Support > Microsoft Windows > Drivers > Converting Win2k monolithic printer driver to a Longhorn driver - Installation problems
Converting Win2k monolithic printer driver to a Longhorn driver - Installation problems
Posted by Rudy on October 7th, 2005


Converting Win2k monolithic printer driver to Longhorn driver - INSTALLATION
Problems..

The current monolithic(not using Microsoft Universal Printer Driver Model)
Windows printer driver has been converted to "user-mode" and installs/runs
fine on Win2k, WinXP, and WinServer2003. However, for "Longhorn Beta1" the
following error message is given during an attempt to install the driver:

Error Message:
"The driver that you are trying to install is not compatible with Windows
Server 2003 family. Please contact the manufacturer for an updated
version."

It appears (according to the following windows log files: setupapi.app.log,
setupapi.dev.log) that the installation (via the Add Printer Wizard)
successfully copies the driver files to a system location, but immediately
after that point, the error occurs and the installation is cancelled.

I suspect that when the "loader" attempts to load a driver DLL (toward end
of installation), it cannot resolve a reference in the DLL to some Win API
function (NOT IN Longhorn), and therefore the DLL is not loaded. Normally,
one would get some kind of error message that indicates a particular
function could not be found/resolved; but this may not be the case while
using the "Add Printer Wizard". I placed calls to "MessageBox(-)" at
several "entry-point" functions in the DLLs (like DllMain, DLLInitialize,
WinMain, DrvQueryDriverInfo, etc.) but these are NOT reached during
installation on "Longhorn"; however, they are reached during installation on
the other OS's.

Any Ideas?
Rudy