I'm guessing that you haven't run LCDinfo under an administrator login yet? First try logging in under an admin account, running LCDinfo, and then rebooting. See if that works, if not... Well... time to look into you problem would be a good thing... but someone will eventually...
WinIO Help File wrote:
Using WinIo from a non-administrative accountWinIo can now be used from non-administrative accounts under Windows NT/2000/XP. In order to support this configuration, the WinIo driver (winio.sys) must be first installed on the system from an administrative account using the
InstallWinIoDriver function, which is provided by the library. Following installation, the driver will load automatically whenever Windows starts. An application will then be able to use the library's functions to access I/O ports and physical memory.
You should take the following steps in order to use WinIo from a non-administrative account:
Place winio.dll, winio.vxd and winio.sys in the directory where your application resides.
Log on as an administrator.
Call InstallWinIoDriver with the first parameter set to the path of the winio.sys file (e.g. c:\myapp\winio.sys).
Reboot the system.
Log on as a regular user.
You should now be able to use WinIo in the same way as when using the library from an administrative account.
When WinIo is no longer required, call RemoveWinIoDriver to remove the WinIo driver from the system. This must be performed from an administrative account.
InstallWinIoDriver in WinIO Help file wrote:
This function installs the WinIo driver.
bool _stdcall InstallWinIoDriver(
PSTR pszWinIoDriverPath,
bool IsDemandLoaded
);
Parameters
pszWinIoDriverPath
[in] Pointer to a null-terminated string that specifies the path to the winio.sys driver.
IsDemandLoaded
[in] This parameter must be set to false.
Return Values
If the function succeeds, the return value is true. Otherwise, the function returns false.
RemarksThe InstallWinIoDriver function installs the WinIo driver and configures it to load automatically when Windows starts. This function fails if called from a non-administrative account.
Henri, does LCDinfo perform this install when it is first loaded? Once it is done, it is installed properly all of the time, or does it get installed each time it is run, and if the account is not an admin account would the second time fail? Loads of questions... As usual.
![Wink ;)](./images/smilies/icon_wink.gif)
I suppose I should take a look at the source to see if I can find it myself... But I don't really have the time.
PS: Anyone have a rough design for a Cheap to build 500 Watt Electronic Load?