EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Callback mode [delphi2007] - problem with buffer content

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
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 (Team)

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 (Team)

Moved to HelpDesk



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