Very bad assumption. Very, very bad assumption. Probably the single
assumption that's led to these endless threads.
The only way to know for sure is to check your references in the VBA
project that's using the DLL. See what file they're actually pointing to.
The fact that your debugging adventure didn't go as anticipated leaves me
at five-nines confidence that you're not using the DLL you think you are.
Well, for starters, *YOU* should! These aren't great mysteries.
Yeah.... well.... that's why I came to the newsgroup. To get things solved
that are mysteries to me. As I said early on, I'm not a VB programmer and
have never worked with dlls.
Since I didn't even know that my dll was in the reference list, complete
with file location, this looks like something to explore.
If you were a little more into manners, I'd probably say thanks.
Since we're just exchanging info, and not out on a date, perhaps I could
continue the conversation with a couple of other questions?
1 - I got a copy of a colleague's references and when I compared the
references I found that my entry for tracker.dll (the one I'm creating) had
disappeared altogether. I had had it before, but I can't get it back.
I did a MAKE, which created a new *.dll file, but didn't result in an
entrance in the references list.
I refreshed all of the vb source - still wasn't there.
Tried to add it by hand via References/Browse (which I'm sure I had not
done before), but got "Name conflicts with existing project, module or
library."
Suggested next steps?
Note - Somewhere, I think in this thread, but maybe in a web article,
someone had said "the location of the file is not important - it's what's in
the registry that counts." Hence my confidence in registering the dll.
Just in case you're losing sleep over how someone could be so stupid as not
to check the location listed at the bottom of the references window (had
never noticed it before.)
2 - Since completely refreshing the VB code doesn't get everything back to
its original state, where else are things saved, apart from the registry
entry for the dll that results when I register it?