EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Determine State of Driver

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
#3399
Posted: 07/19/2007 01:06:44
by Stefan Stefan (Basic support level)
Joined: 07/18/2007
Posts: 15

Hello!
Is there a way to determine the state of the driver (whether it is installed and get a version number of the installed driver)?
Regards
Stefan
#3405
Posted: 07/19/2007 01:29:49
by Eugene Mayevski (Team)

Will be implemented in the next build.


Sincerely yours
Eugene Mayevski
#3415
Posted: 07/19/2007 18:27:57
by Stefan Stefan (Basic support level)
Joined: 07/18/2007
Posts: 15

Thanks a lot for your answer!
Regards
Stefan
#3427
Posted: 07/21/2007 07:18:58
by Josh Sanford (Standard support level)
Joined: 12/24/2006
Posts: 17

Hi Stefan,

Until the new build comes out, you can use the windows API function CreateFile to check if the driver is installed.

Code
function DriverLoaded: boolean;
var
  Afile: Thandle;
begin
  AFile := CreateFile('\\.\solfs.sys', 0, FILE_SHARE_READ, nil, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
  result := AFile <> Invalid_Handle_Value;
  if result then
    closeHandle(AFile);
end;


Best Regards,
Josh
#3428
Posted: 07/21/2007 07:33:52
by Eugene Mayevski (Team)

The new beta version is available on the site. Custom builds are not available for download (we can put them online on request).


Sincerely yours
Eugene Mayevski
Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.

Reply

Statistics

Topic viewed 4417 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!