EldoS | Feel safer!

Software components for data protection, secure storage and transfer

[BUG] Secure BlackBox making TransactNamedPipe fail

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#31694
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.
#31696
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

Reply

Statistics

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