Albert, in a up-to-date Windows (i.e., since Windows 2000, or for
the last 8 years) you can't assume that your users will have
permission to store something in the system folder. Users should be
running not as administrators, but as users, and they don't have
write access to that folder.
yes, the user was asking about the two .dll's included with my example.
The choices are:
Have the user place the two .dll's in the windows
system folder, or system32 folder. In that case, then
my code should just run.
place the two .dll's in the same folder as the mdb (or mde)
file. This is preferred by me, as then it is a zero install
(xcopy). My zip code uses a windows api's to "load" the .dll's
(this is why I they don't need to be register, or placed in
the windows folder).
I suppose the 3rd alternative is to supply a "installer" for my WinZip
sample. This is quite easy to do, and I use inno all the time. So, I could
force the issue..but, then again, I don't really want to place the two dll's
in the persons system folder via a sneaky install..
The way it is now is no install need take place, but the downside is that
the two dll's must be in the same dir as the mdb (or mde) to function. In
fact, my code *should* work if you copy the two dll's into the windows
system folder, but my code incorrectly *still* looks for the two dll's in
the mdb folder...and if not found..it should simply try to run anyway just
in case they are in the system32 folder...