EldoS | Feel safer!

Software components for data protection, secure storage and transfer

[BUG] Secure BlackBox making TransactNamedPipe fail

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 12/18/2014 18:41:24
by Bogdan H. (Standard support level)
Joined: 04/03/2014
Posts: 10

I have a strange situation where including SBUtils causes the TransactNamedPipe call to fail with error ERROR_PIPE_NOT_CONNECTED.

This only happens in a Firemonkey app. The same VCL app works fine.

I am using the latest SBB release on Delphi XE7.

Do you have any idea on what is different in a Firemonkey app that is causing the error?

If I remove the SBUtils unit from the uses clause, everything works fine. The error also appears if I include SBConstants instead of SBUtils. The error doesn't appear if I include just SBTypes without any other SBxx unit.

This is a test app which uses just one Secure BlackBox unit (SBUtils or SBConstants) without other units and without calling any SBB function.

Just mentioning it in the "uses" clause causes the call to TransactNamedPipe to fail in that test application.
Posted: 12/18/2014 23:33:33
by Eugene Mayevski (EldoS Corp.)

Most likely some constant that you use in the calls related to the named pipe are overriden by the value in SBConstants. It's hard to guess, which value, though.

Sincerely yours
Eugene Mayevski



Topic viewed 598 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!