DLLs

  • Thread starter Thread starter MattMenard
  • Start date Start date
M

MattMenard

I'm still a bit of a newbie so bear with me. We've developed some
DLL's in VC 2003. We're going to be moving these dlls between numerous
systems and was wondering what the best way to determine if a
particular dll was registered on that system or not. Do I simply go
into regedit and do a global search on that name. Is that the best
way? Thanks for the help.

MattMenard
 
Hi,

When you say DLLs, are these DLLs which export standard functions or classes
or are they DLLs that host COM classes? I ask this because you ask about the
registering of DLLs. Non-COM dlls are not typically registered in the
registry unless you are also supporting the SharedDLL mechanism.
 
I strongly suggest that you build an MSI file that does the installation for
you. It can safe you a lot of time down the road. Even a short script which
re-registers all the controls is better than trying to check manually.

In our hands, we don't usually find any benefit in unregistering older
controls. Just register the new ones over top. (You can't always get away
with this; it depends on how the controls were developed.)

Another ways of deploying controls:

- using group policy, which can push these out centrally to targeted
computers.
- SMS

Brian
 
Back
Top