EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Using OnSlotEvent in SBB C++ Edition

#31780
Posted: 12/28/2014 03:06:33
by Eugene Mayevski (Team)

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
#31781
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.
#31782
Posted: 12/28/2014 07:45:03
by Eugene Mayevski (Team)

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
#31783
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.

EDIT:
BTW, the following link of the documentation is broken:
https://www.eldos.com/documentation/sbb/documentation/ref_cl_pkcssloteventevent.html

Reply

Statistics

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