Poznamenany / ExtAI_test_with_DLL

Test interface (Delphi) for communication with DLLs (Delphi, C++)
0 stars 0 forks source link

Project crashes on exit #3

Closed Kromster80 closed 5 years ago

Kromster80 commented 5 years ago
  1. Auto Fill
  2. Init
  3. Close the form
  4. Crash: image

Call Stack: ExtAIThread.TExtAIThread.Execute System.Classes.ThreadProc($379B178) System.ThreadWrapper($5441F40) :751633aa kernel32.BaseThreadInitThunk + 0x12 :771d9ef2 ntdll.RtlInitializeExceptionChain + 0x63 :771d9ec5 ntdll.RtlInitializeExceptionChain + 0x36

Poznamenany commented 5 years ago

Simulation must be terminated onClose event not onDestroy => procedure TPPLWin.FormClose(Sender: TObject; var aAction: TCloseAction); was used instead of TPPLWin.FormDestroy