TVicHW32 Common Properties And Methods
|
Previous Top Next |
// initialize (open)the driver
|
HW32.OpenDriver;
|
|
// Check if the driver initialized successfully
|
if HW32.GetActiveHW then
|
begin
|
|
... TVcHW32 session...
|
|
// Free resources used by the driver (close the driver)
|
|
HW32.CloseDriver;
|
end
|
else // An error happened while starting the driver
|
ShowMessage("Cannot open the driver");
|