EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Cannot create named stream on file that does not exist

Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.
Posted: 08/19/2013 10:27:42
by Andrew Harding (Standard support level)
Joined: 12/07/2012
Posts: 1

With CreateFile(), you can create a named stream on a file that does not previously exist (it creates the file with a default stream of size zero).

CBFS seems to prevents this behavior by first invoking the OnGetFileInfo callback for the filename. Since the file does not exist, the OnGetFileInfo callback of course returns *FileExists = FALSE. CBFS does not follow this call up with a OnCreateFile for the filename, nor for the named stream.

It seems like CBFS should call OnCreateFile for the filename if OnGetFileInfo returns FileExists == FALSE, followed by a call to OnCreateFile for the named stream.
Posted: 08/19/2013 10:39:27
by Eugene Mayevski (EldoS Corp.)

I've moved your question to HelpDesk and we will investigate it within several days.

Sincerely yours
Eugene Mayevski



Topic viewed 754 times

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


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!