I get the following when running a console app. The app runs fine, but something seems to be going on during cleanup after the app runs:

An unhandled exception occurred at $0040A2E2 :
EInvalidPointer : Invalid pointer operation
  $0040A2E2  CONCAT_TWO_BLOCKS,  line 652 of C:/temp/lazbuild/fpc-patched/rtl/in
c/heap.inc
  $00407254  TOBJECT__FREEINSTANCE,  line 223 of C:/temp/lazbuild/fpc-patched/rt
l/inc/objpas.inc
  $00407142  TOBJECT__FREE,  line 152 of C:/temp/lazbuild/fpc-patched/rtl/inc/ob
jpas.inc
  $00409312  FINALIZEUNITS,  line 687 of C:/temp/lazbuild/fpc-patched/rtl/inc/sy
stem.inc
  $00409505  DO_EXIT,  line 769 of 
C:/temp/lazbuild/fpc-patched/rtl/inc/system.inc

Also, lazarus keeps complaining that it cannot find heap.inc and system.inc if I restart the IDE and try again. Once I guide it to the correct files in fpc\2.2.0\source\rtl\inc, but closing and reopening the IDE loses knowledge of the file locations when the program excepts again during (what I believe) is cleanup.

Any help or suggestions would be appreciated.

--
Warm Regards,

Lee

"My wife is better at Guitar Hero than I am and it's really irritating."

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to