P
PaulHollingshead via AccessMonster.com
I'm an experienced coder and have worked with many DLLs in the past but this
one has me beat.
I'm creating a software link between our dental system (Access97 & 2000 - yep
we cater for people with very old hardware) and a french digital xray system
(Kodak).
They have provided a number of function calls (only providing C++ sample
calling code) that operate on a single Historique.DLL. They also provided a
stand alone EXE that demonstrates the function calls. I also managed to get
an old demo CD of there software and installed it on my Access 97 Windows
2000 virtual machine I use for development. Note: There software insisted on
Win2000 SP3 being installed (and there installer also put XML 4 on it).
When I try a VBA call to one of these functions I get "error 53 file not
found". The DLL does exist but the error message explicitly says the file
(with whole path/filename in error message) doesn't exist. I tracted this
down via MSDN article 178489 as a problem with a dependancy.
The EXE sample app they provided also reported the Historique DLL couldn't be
found.
Using dependancy walker (watching there sample EXE app) I located some
"missing" DLLs that this main Historique DLL uses. I then found they existed
in the same directory as the Historique DLL. REGSVR32 has no affect on any of
these DLLs - it can't find any start points. The DLLs are barely mentioned in
the registry at all. Putting copies of the DLLs into the windows system32
folder also doesn't fix the problem.
Putting the sample EXE into the same directory as the Historique DLL actually
fixes it. That sample app now works. Putting our development mdb in the same
place has no affect.
Any ideas?
Paul
one has me beat.
I'm creating a software link between our dental system (Access97 & 2000 - yep
we cater for people with very old hardware) and a french digital xray system
(Kodak).
They have provided a number of function calls (only providing C++ sample
calling code) that operate on a single Historique.DLL. They also provided a
stand alone EXE that demonstrates the function calls. I also managed to get
an old demo CD of there software and installed it on my Access 97 Windows
2000 virtual machine I use for development. Note: There software insisted on
Win2000 SP3 being installed (and there installer also put XML 4 on it).
When I try a VBA call to one of these functions I get "error 53 file not
found". The DLL does exist but the error message explicitly says the file
(with whole path/filename in error message) doesn't exist. I tracted this
down via MSDN article 178489 as a problem with a dependancy.
The EXE sample app they provided also reported the Historique DLL couldn't be
found.
Using dependancy walker (watching there sample EXE app) I located some
"missing" DLLs that this main Historique DLL uses. I then found they existed
in the same directory as the Historique DLL. REGSVR32 has no affect on any of
these DLLs - it can't find any start points. The DLLs are barely mentioned in
the registry at all. Putting copies of the DLLs into the windows system32
folder also doesn't fix the problem.
Putting the sample EXE into the same directory as the Historique DLL actually
fixes it. That sample app now works. Putting our development mdb in the same
place has no affect.
Any ideas?
Paul