Poznamenany / ExtAI_test_with_DLL

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

Project crashes while running #2

Closed Kromster80 closed 5 years ago

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

Stack Trace: :75161389 kernel32.GetConsoleMode + 0x61 :5d81cc35 ; C:\Windows\SysWOW64\DWRITE.DLL :5d81bfa0 ; C:\Windows\SysWOW64\DWRITE.DLL :5d81b4fe ; C:\Windows\SysWOW64\DWRITE.DLL :5d81a951 ; C:\Windows\SysWOW64\DWRITE.DLL :5d82d739 ; C:\Windows\SysWOW64\DWRITE.DLL FMX.Canvas.D2D.TTextLayoutD2D.DoRenderLayout FMX.TextLayout.TTextLayout.NeedUpdate FMX.TextLayout.TTextLayout.SetText(???) FMX.Objects.TText.SetText(???) FMX.StdCtrls.TPresentedTextControl.UpdateTextObject($80FC8F0,'Start') FMX.StdCtrls.TPresentedTextControl.DoChanged FMX.StdCtrls.TPresentedTextControl.Change FMX.StdCtrls.TPresentedTextControl.SetText(???) TestDLLWin.TPPLWin.RefreshSimButtons(nil)

Kromster80 commented 5 years ago

Doesn't happen now (could be fixed by some of my commits?)

Poznamenany commented 5 years ago

FMX.Canvas.D2D.TTextLayoutD2D.DoRenderLayout - problem was in refreshing simulation button every game tick (can be solved by conditions and event onSimulationStateChanged) - it happens in long simulations