EldoS | Feel safer!

Software components for data protection, secure storage and transfer


Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 12/13/2012 17:22:30
by Bhushan Manekar (Standard support level)
Joined: 07/18/2012
Posts: 10


Is it possible to add tags to directories? When I call the following two lines, the latter raises an exception (-24, errInvalidParameter):

Storage.SetFileTagAsNumber(Dirpath,'FID', 0, 1991);

I am setting the TagID = 0 so I reference the tag via its tag name.

Appreciate any advice,


(Delphi XE3, SolFS 4.5, Win7)
Posted: 12/14/2012 01:44:19
by Alexander Plas (EldoS Corp.)


Yes, it is possible to add tags to directories, you can even add tags to named streams.

The error occurred because you have not added the tag name to the storage, in the other words you haven't declared your tag. You have to call AddTagName method one time per storage before using the tag name. Please refer to the documentation https://www.eldos.com/documentation/so...gname.html . Actually the documentation is a bit incomplete, there is not mentioned that the TagID parameter may have value 0, in this case the system choose the TagID value for given TagName automatically.



Topic viewed 1528 times



Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!