I used the dlllook program from T. Hui, for determining what dlls to include in the InstallShield program. My program uses DAO, with an Access 8.0 database. I included several dll files refering to Jet. When I install the program on a machine which has Office 97 and Access 8.0 loaded, the program works. If loaded on a machine which doesn't have Office 97 or Access 8.0, then I get the error message, "Can't load MS Jet". The only peculiar thing, is I wasn't sure how to indicate a different directory than Windows/System for the dll files. One of the dll files is in another directory on the working machines (Program Files/VB/DAO350.dll. I checked the registry on the non-working machines and it was registered in the Windows/System directory. How can I correct this?
Can you also guide me on how to indicate the path of the database. In the original C++ code, the path was hard coded, which I took out. I want it to run in the program directory, which is where I put the database on install. But if you run the program from the desktop, it is unable to find the database. In VB is used app.path. Is there something similar in C++? Thanks