>Whenever I try to declare the win32 function AddPrinterDriver, I get the following error: "Cannot find entry point AddPrinterDriver in the DLL." This also happens for EnumPrinterDrivers.
>
>The exact command line I'm using is as follows:
>DECLARE LONG AddPrinterDriver in win32api
>
>I realize that there are no parameters in this declaration, but when I add them in the same error occurs.
>
>Any ideas?
>Thanks in advance.
Hi James,
The declaration should be:
DECLARE INTEGER AddPrinterDriver in
Windspool.drvhth,
George
Ubi caritas et amor, deus ibi est