OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Axel Heider (axel.heider_at_TOWITOKO.DE)
Date: Tue Jul 16 2002 - 09:34:01 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,

    I am monitoring the status of a smart card reader with
    SCardGetStatusChange to detect card insertion/removal.
    If I call another SCard function in the main thread while
    SCardGetStatusChange is executing in the "monitoring"
    thread, the function called in the main thread fails or
    returns corrupted data. Is it possible that the Microsoft
    PC/SC libraries are not thread-safe?
    What can I do to avoid this problem?

    --
    Mit freundlichen Grüßen / Best regards
    

    Axel Heider

    Towitoko AG http://www.towitoko.de Haidgraben 2 Tel: +49-89-66683-0 85521 Ottobrunn Fax: +49-89-66683-222 GERMANY axel.heidertowitoko.de