I developed an application to mark in and out using a biometric reader, the problem is that the reader is activated with the formWindowOpened method,
where I call Capture () which is the one with which I identify the Footprint, this method calls itself hoping that an Entry mark is generated, the problem is that I have a Button (Exit), but when I click on it, it does not perform the action that you should, because the system is still running Capture, and I can not Close the application, because it is blocked.
Does anyone have any suggestions on how to fix it? Could it be with Hilos?