DRIVER_OBJECT's DriverName field

DRIVER_OBJECT's DriverName field

Post by tshelto » Wed, 28 Apr 2004 22:24:50


How is the DriverName field of a DRIVER_OBJECT initialized ?

I believe it gets used as the first insertion string of ErrorLog
entries, but mine is blank. Am I responsible for initializing it
during DriverEntry, or am I missing a registry key or something like
that ?

I'm currently working in winnt 4.0.
 
 
 

1. How to get ACPI driver_object/device_object in display miniport?

2. Help! LoadParamsFromIniFile(MyInIFile) does not set the DriverName!

Hello,

D2007 - dbExpress - MSSQL

I am using named connections with a custom ini file and at runtime I set the
TSQLConnection.ConnectionName and then call
LoadParamsFromIniFile(MyIniFile). This should automatically set the driver
name with the params are loaded, however, when tracing through the
SqlExp.pas the DriverName does not even get set from the Params after they
are loaded.

function SetDriverName never gets called so the following never get loaded
either:

FVendorLib := Trim(GetProfileString(FDriverName, VENDORLIB_KEY,
DriverRegistryFile));
FLibraryName := Trim(GetProfileString(FDriverName, DLLLIB_KEY,
DriverRegistryFile));
FGetDriverFunc := Trim(GetProfileString(FDriverName,
GETDRIVERFUNC_KEY, DriverRegistryFile));


From the Help:
If you are using named connections, the DriverName property is automatically
set when you set the ConnectionName property.


TIA,
- Craig

3. ImagePath= \??\C:\... (Start and stop driver driver using net start/stop drivername)

4. Showing table field in unbound field unbound field

5. text field to date field field

6. validating a form, one required field , another field if searched on requires both fields

7. Field Property (OldValue) not available in Field Object defined with Dim As Field?

8. Calculated fields: Display Sum() of field X where FIELD Y is blah

9. Joining fields into one field dependent on value of another field

10. Maybe problem still not solved, field.field.field should be possible to.

11. Adding fields to alert emails - any field or just canned fields?

12. Text Form Field, Check Box Form Field, Drop-Down Form Field

13. Fields within fields that cross-ref to other fields and do not upd

14. Help on Mailmerge field (field length) - field getting truncated

15. Print all fields following 10th field and selected fields - awk/sed/perl