E
eselk
What is the lowest level I can use to access the Jet Database Engine?
I know I can use ADO or DAO. Are there any COM objects that
msjet40.dll exposes that I can use directly, or something else of that
nature? I've been doing some speed testing using Access 2000 and was
very impressed. I really like the data format, indexes, etc, that it
uses. I haven't been able to get similar speed when using ADO or DAO,
not the same speed I get when doing things via the Access GUI (like
doing an update query of 100,000 records, it is so much faster from
the Access GUI).
But that isn't the only issue, the main thing I want to be able to do
is use the Jet Database Engine *without* having to add stuff to the
system/common areas of the registry, like class IDs, program IDs,
etc. I'd like to see, mostly just as an experiment if nothing else,
what it would take to be able to just include a few DLLs (like
msjet40.dll) in my application folder, and then access these DLLs
directly in order to read/write MDB files.
My boss would never go for anything that could be broken by a user
installing some other application that updates the "system" copy of
the Jet Database Engine, or having to depend on a certain version of
Jet or MDAC being installed. Everything we do has to be fully
contained in the application folder and can't use any "shared
resources", seriously, pretty much nothing... although I do get away
with using kernel32.dll and user32.dll from the system folder -- thank
god =] You should have been there today when I approached him about
using .NET, you would have thought the world was coming to an end.
p.s.-I was kind of hoping to find a "Native Jet API" on MSDN, like
I've seen for other database libraries/engines... but maybe there is
no "native API" for it? Something like the Win32 API would be great,
but for Jet =] (am I the only one using Win32 API still?)
I know I can use ADO or DAO. Are there any COM objects that
msjet40.dll exposes that I can use directly, or something else of that
nature? I've been doing some speed testing using Access 2000 and was
very impressed. I really like the data format, indexes, etc, that it
uses. I haven't been able to get similar speed when using ADO or DAO,
not the same speed I get when doing things via the Access GUI (like
doing an update query of 100,000 records, it is so much faster from
the Access GUI).
But that isn't the only issue, the main thing I want to be able to do
is use the Jet Database Engine *without* having to add stuff to the
system/common areas of the registry, like class IDs, program IDs,
etc. I'd like to see, mostly just as an experiment if nothing else,
what it would take to be able to just include a few DLLs (like
msjet40.dll) in my application folder, and then access these DLLs
directly in order to read/write MDB files.
My boss would never go for anything that could be broken by a user
installing some other application that updates the "system" copy of
the Jet Database Engine, or having to depend on a certain version of
Jet or MDAC being installed. Everything we do has to be fully
contained in the application folder and can't use any "shared
resources", seriously, pretty much nothing... although I do get away
with using kernel32.dll and user32.dll from the system folder -- thank
god =] You should have been there today when I approached him about
using .NET, you would have thought the world was coming to an end.
p.s.-I was kind of hoping to find a "Native Jet API" on MSDN, like
I've seen for other database libraries/engines... but maybe there is
no "native API" for it? Something like the Win32 API would be great,
but for Jet =] (am I the only one using Win32 API still?)