EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElHashFunction.Create with error "Access Violation"

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 11/02/2015 15:40:46
by Victor Villegas (Standard support level)
Joined: 02/27/2012
Posts: 18

Hi, I have Windows XP SP3 and Delphi 5 and VCL code package version: 9.1.216
the problem is that when I use the "TelHashFunction.Create(SB_ALGORITHM_DGST_SHA1) " function, it falls telling me the error "Access violation", but this does not always happen but it happens very often.
Sometimes I spend two or three times to get it right. This message is sent at runtime with Delphi, but when I run the program it just falls without any message.
Why this error is due?
Posted: 11/03/2015 00:35:55
by Eugene Mayevski (EldoS Corp.)

The common reason for such errors is a memory corruption in your program. It can be completely unrelated to SecureBlackbox. The easiest way to prove or deny this hypothesis is to move your hash creation code into the test case and see if the problem persists. If it goes away, then you should look for possible places of memory corruption in your code.

Sincerely yours
Eugene Mayevski



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