windows - DLL loading with hardlink -


I am trying to develop a method that helps to load DLL from a common location for different products. is. This file helps in the following directory structure to avoid replication.

INNSTALLDIR / Product1 / bin

INNSTALLDIR / ProductN / bin>

Instead of copying the DLL in the bin directory, I can create a DLL repository / directory - 'DLLrepo' in INSTALLDIR and can load all the products aviable. I am thinking of doing this by creating a hardlink in each DLL in 'DLLrepo' in the bin directory of each product. This will help in addressing platforms starting with WinXP using the 'check' method only at Windows Server 2008 and above address.

If your opinion looks like a proper solution then I have to get your opinion.

When we make a file hardlink, the Explorer or DIR does not account for the valid size of the folder containing the command link. It records the actual data size in the linked file in the total size of the directory. If I'm not mistaken then this is a known problem in the window. Is there a utility that I can use to verify the actual folder size? Is it possible to use 'chkdisk' on the directory path? Another thing that I would like to know is to get the list of links on file data.

When we create a hardlink in a file, then the folder associated with the Explorer or DIR command link Does not account for the legitimate size of It records the actual data size in the linked file in the total size of the directory. If I'm not mistaken then this is a known issue in windows. Is there a utility that I can use to confirm the actual folder size?

I can provide a kind of answer to this part of the question. When you create a file hardlink, there is actually no concept in which the "file" is original, each of the points on the disk indicates that the data is capturing them and modifying the file through these references. It affects the data, which is seen when accessing it through any other hardlink. As it is more of less known "issue" and "how it works"

In this way, there is no way to verify "actual folder size", unless you have folded folders Do not see the size of most common parent folders. At that point, you can start single-count each hard-link to get accurate information about the space used on the disk.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -