EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Can I set tags on directories as well as files?

Posted: 10/15/2014 16:23:05
by John Lagerquist (Standard support level)
Joined: 10/14/2014
Posts: 4

the subject says it all...
Posted: 10/16/2014 01:26:21
by Alexander Plas (Team)


Yes, the tags may be set for files, directories and symlinks as well.
Posted: 10/17/2014 16:46:13
by John Lagerquist (Standard support level)
Joined: 10/14/2014
Posts: 4

I am not having much success, can you tell me what I am doing wrong? ( I do set the reg key, just not shown below )

fs = new SolFSStorage;

fs->SetFileTagAsAnsiString(L"sig", 0, 1, "test");

I get an invalid parameter exception.
Posted: 10/18/2014 02:17:58
by Eugene Mayevski (Team)

I can't say for sure, but I see that you've specified the filename (directory name in your case) wrong. All filenames in SolFS must be absolute, i.e. start with a path separator: "\sig" is correct, while "sig" is not.

Sincerely yours
Eugene Mayevski
Posted: 10/20/2014 01:53:31
by Alexander Plas (Team)

Please refer to documentation https://www.eldos.com/documentation/so...tring.html

Invalid parameter in your code is TagID which must be in range of 0x8000..0xCFFF



Topic viewed 7997 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

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

Got it!