Hello,
we use tscripter only for editing Forms with TIDEFormDesigner. Like in the Demo, we generate the toolbar, inspector and componentcombobox. Sometimes after we delete objects from the form, we get some errors:
There was an error during the execution of this program.
The application might become unstable and even useless.
It's recommended that you save your work and close this application.
Zugriffsverletzung bei Adresse 009E905C in Modul 'KVis.exe'. Lesen von Adresse 00000000.
Exception log with detailed tech info. Generated on 29.10.2021 13:13:53.
You may send it to the application vendor, helping him to understand what had happened.
Application title: Visusystem
Application file:
Exception class: EAccessViolation
Exception message: Zugriffsverletzung bei Adresse 009E905C in Modul 'KVis.exe'. Lesen von Adresse 00000000.
Exception address: 009E905C
Main thread ID = 1932
Exception thread ID = 1932
GDI:436 Max GDI:538 User:846 Max User:855 HandleCount:611
Hard to tell without any source code, especially this is a custom code from you, not from scripter. Are you using TIDEEngine? How are you connecting the components (form designer, inspector...)? Can this be easily reproducible in a small sample project?
Hello,
yes we use TIDEEngine, Formdesigner and Inspector. I will try to create a small project. It seems that the error happens when the inspector refresh the property-list.
Exception class: EAccessViolation
Exception message: Zugriffsverletzung bei Adresse 009ECD02 in Modul 'KVis.exe'. Lesen von Adresse 00000001.
Exception address: 009ECD02
Main thread ID = 6292
Exception thread ID = 6292
GDI:168 Max GDI:232 User:535 Max User:537 HandleCount:570
I guess we will need that, thanks, to proper debug it. Probably it's accessing some property that has been already destroyed, so either our code, or your code, it's not properly cleaning up references to the destroyed object.