只要在DLL中修改EXE中主表单上的某个对象的值,
例如:
  vMainForm.Var.v1:='123';            //vMainForm的值为Exe中的主表单
程序在运行期间一切正常,程序在关闭时会出现:
Project Project1.exe raised exception class EInvalidPointer with message 'Invalid pointer operation'. Process stopped. Use step or Run to continue.
按F7查错也查不出任何语句有错误。
是不是应用程序在关闭时还自动做了一些额外的工作导致出现这样的错误?