>George
>DeletePrinter(lnhandle) return 0. GetLastError() function return 5 (Access is denied). Any ideas? (Environment NT4 - Admin account)
Denis,
No and unfortunately I've no way to try to figure out the problem. I'm running Win98SE and don't have access to an NT4 or Win2K box. About the only thing I can suggest is that even though it's an Admin account, the necessary privledges aren't available, even that, however, is a SWAG.
George
Ubi caritas et amor, deus ibi est