• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 138
  • Last Modified:

using the dll , in the same directory instead nt4 directory

I put in the directories programm all what I need (dll, ocx and tbl). I need to use those in that directory not those ones in nt dorectory. I don't whant to install it on every PC. Is it possible to let user those dll place in the directory, like maybe using dep file where the name of all dll need it.
0
robertbeauregard
Asked:
robertbeauregard
1 Solution
 
jjbyersCommented:
You can place a DLL in any directory you wish. When they are registered Windows will find them.

If these DLL's are already registered on these machines then when you install these new DLL's and register them it will replace the pointer in the registry to the copy in your directory.

You'll end up with duplicate files.
0
 
caraf_gCommented:
It doesn't matter whether you place these DLLs in your own directory or copy them over existing ones  in your Windows' System directory - when you register the new ones you will no longer be able to use the old ones anyway.

You may as well copy them into the Windows' System directory where they belong.

You are better off always including all the files that your program depends upon in a setup, and to install them where they should go - in the Windows System directory if needs be. If the target PC has a newer version of files they won't be overwritten anyway so you should be OK.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now