EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Using OnSlotEvent in SBB C++ Edition

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 12/28/2014 03:06:33
by Eugene Mayevski (EldoS Corp.)

There's SynchronizeGUI property in TElPKCS11CertStorage class. The property is true by default. Please set it to false as soon as possible in your code (right after creation of the class instance and before opening the storage).

Sincerely yours
Eugene Mayevski
Posted: 12/28/2014 03:30:32
by Adolfo García (Basic support level)
Joined: 12/14/2014
Posts: 14

Thanks! Setting the SynchronizeGUI property to false before opening the instance fixed the problem.
Posted: 12/28/2014 07:45:03
by Eugene Mayevski (EldoS Corp.)

Note that in this case the event handler is called in context of the slot monitoring thread. You need to pass this event to your main thread somehow and return execution to the monitoring code as soon as possible.

Sincerely yours
Eugene Mayevski
Posted: 12/28/2014 15:11:57
by Adolfo García (Basic support level)
Joined: 12/14/2014
Posts: 14

Thanks, wasn't considering that. I protected the critical zone with a system semaphore acting as a mutex.

BTW, the following link of the documentation is broken:



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