[pso] driver loader tool
Andrei Dumitrache
pso@cursuri.cs.pub.ro
Mon, 21 Mar 2005 11:30:07 +0200
Already done that. E clean. Din cate m-am uitat pe codul driver.c mesajul de
eroare vine de la StartService care culmea nu are listat mesajul "Could not
find the specified path" in mesajele de eroare descrise in MSDN Lib.
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/startservice.asp
)
Return code Description
ERROR_ACCESS_DENIED The handle does not have the SERVICE_START access right.
ERROR_INVALID_HANDLE The handle is invalid.
ERROR_PATH_NOT_FOUND The service binary file could not be found.
ERROR_SERVICE_ALREADY_RUNNING An instance of the service is already running.
ERROR_SERVICE_DATABASE_LOCKED The database is locked.
ERROR_SERVICE_DEPENDENCY_DELETED The service depends on a service that does
not exist or has been marked for deletion.
ERROR_SERVICE_DEPENDENCY_FAIL The service depends on another service that
has failed to start.
ERROR_SERVICE_DISABLED The service has been disabled.
ERROR_SERVICE_LOGON_FAILED The service did not start due to a logon failure.
This error occurs if the service is configured to run under an account that
does not have the "Log on as a service" right.
ERROR_SERVICE_MARKED_FOR_DELETE The service has been marked for deletion.
ERROR_SERVICE_NO_THREAD A thread could not be created for the service.
ERROR_SERVICE_REQUEST_TIMEOUT The process for the service was started, but
it did not call StartServiceCtrlDispatcher, or the thread that called
StartServiceCtrlDispatcher may be blocked in a control handler function.
Plus ca functia porneste serviciul acela necesar pentru instalarea
driverului dupa ce a fost pornit OS-ul. N-are nici o legatura (cred) cu
codul meu pentru modulul driver. Sau poate avea ?
Putin ajutor ar fi binevenit aici, pentru ca nu cred ca e ceva in neregula
nici cu serviciul respectiv, altfel banuiesc ca s-ar fi umplut lista de
discutii de mesaje pe tema asta pana acum.
Multumesc,
Andrei
>From: Octavian Purdila <tavi@cs.pub.ro>
>Reply-To: pso@cursuri.cs.pub.ro
>To: pso@cursuri.cs.pub.ro
>Subject: Re: [pso] driver loader tool
>Date: Mon, 21 Mar 2005 10:08:31 -0500
>
>On Monday 21 March 2005 01:41 am, Andrei Dumitrache wrote:
> > brusc si dintr-o data driver.exe (utilitarul de incarcat modulele) a
> > inceput sa dea eroarea "can't start service: The system could not
> > find the specified path". Si sunt sigur ca nu e ceea ce pare. Chiar
> > sunt in directorul in care am .sys-ul ;-)
>
>E posibil sa nu fi sters device-urile la un unload precedent si din
>cauza asta sa refuze incarcarea driverului. Verifica cu objviewer sau
>ceva similar.
>
>tavi
>_______________________________________________
>pso mailing list
>pso@cursuri.cs.pub.ro
>http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/