Hallo VEE Users,
Some days ago i installed the PeekPoke.dll. It worked well.
Today always an error came up: couldn`nt open driver!
The system is WinNT 4 and I am logged in as Administrator. What went
wrong?
Bernd
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Some days ago i installed the PeekPoke.dll. It worked well.
Today always an error came up: couldn`nt open driver!
The system is WinNT 4 and I am logged in as Administrator. What went
wrong?
Bernd
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Just a guess: It's start type is manual? Open Services (Control Panel,
Administrative Tools, Services) and find peak poke in the list. Double Click
it and make sure it's start type is Automatic.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
True - and unfortunately there's no practical way around that. Changing the
start type requires writing to HKLMSYSTEMCurrentControlSetServices and
that's the problem.
There are two theoretical work arounds. First, you can use RegEdt32 to set
permission on this key (or just the peakpoke subkey) to allow
non-administrator accounts write access.
MS explicitly discourages this option because it may allow remote control of
your machine.
Second, you can install a proxy service who's purpose is to perform
administrative tasks on behalf of user-mode processes that would otherwise
be denied access.
This option is more secure because there's no such general purpose service
(that I know of anyway) so you have to explicitly write it an install it
under an account with Administrative privileges. And then you have to know
it's name and explicitly invoke it.
Of course that's not real practical. Writing even a minimal driver is no
easy task and using the native mode API is usually far more intricate than
using any Win32 API.
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".