EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Callback mode [delphi2007] - problem with buffer content

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
Posted: 11/15/2012 07:50:30
by steve j. (Basic support level)
Joined: 08/14/2012
Posts: 6


I have problem with buffer content in callback mode.
I create Storage with function TSolFSStorage.CreateOpenCB.
It calls function:
Everithing without any error.
In onWrite I use WriteFile fncs. But when I look on Storage in hex editor I see some "RI...#$SS" etc. I done this in c++ and in hex editor there is valid Solid Storage structure.
The buffer content in onWrite event is "RI.." in delphi
Ic c++ I have "..NW.." etc

Any ideas why this is happening in delphi?

Posted: 11/16/2012 04:11:33
by Alexander Plas (EldoS Corp.)

Explain me please where you see incorrect data, in the buffer passed to OnWrite callback or in the storage file after write?
Posted: 11/18/2012 16:12:12
by steve j. (Basic support level)
Joined: 08/14/2012
Posts: 6

Incorrect data are in the buffer passes to onwrite callback. (I dont use any encryption function)
Posted: 11/19/2012 06:41:16
by Alexander Plas (EldoS Corp.)

Moved to HelpDesk



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