IonicWind Software

Aurora Compiler => Coding Help - Aurora 101 => Topic started by: sapero on July 10, 2008, 03:28:27 PM

Title: HardLinks on NTFS drive
Post by: sapero on July 10, 2008, 03:28:27 PM
I'm developing a set of mini appications with one runtime dll. The dll and its project is located in a subfolder.
Because the root folder has about 20 projects and exe's, I needed additional folder for my dll.

Instead copying the dll one folder up anytime it gets updated, I've created a hardlink to my dll in parent folder:
CreateHardLink("runtime.dll", "core\\runtime.dll", NULL);
But there is a problem - after recompiling core\runtime.dll, every exe from root folder sees the previous dll version, so the CreateHardLink api is working like CopyFile.
I need to delete and create the hardlink again.

What's going on?


EDIT: I have copied the dll one folder up, and created the hardlink in subfolder with dll project, so the compiler modifies the dll via hardlink.
I could also compile my dll directly to parent folder.