runtime error 217 lazarus / 13-General ---------------------------------------------------------------------- christophe_D · 2006-12-12 12:17 hello , after compiling my prog without probleme when i start my programme , i have an "acces violation" with this debug message Quote no heap dump by heaptrc unit exitcode = 217 runtime error 217 at $00514322 $00514322 DOUNHANDLEDEXCEPTION line 156 of c:/lazarus/fpcbiuld/2.0.4/fpcsrc/rtl/inc/except.inc $0050fb0c fpc_reraise line 266 of c:/lazarus/fpcbiuld/2.0.4/fpcsrc/rtl/inc/except.inc $0040c07c TAPPLICATION__CREATEFORM line 1522 of ./include/application.inc $00401061 main, line 33 of telecartiste.lpr $0050f6ae EXE_ENTRY line 420 of system.pp with lazarus 0.9.20 but no probleme with lazarus 0.9.16 thank for your help ---------------------------------------------------------------------- Vincent Snijders · 2006-12-12 13:18 Can you run the application in the IDE / debugger to see why there is an error in TAPPLICATION__CREATEFORM line 1522 of ./include/application.inc. Chances are that there is some error in the form contructor. ---------------------------------------------------------------------- CCRDude · 2006-12-13 21:51 Ah, that's why I some time ago asked why SysUtils isn't placed in the first place for all units... since runtime error 217 imho happens when exceptions are thrown when SysUtils isn't loaded first (then you won't even be able to use try-clauses to catch those exceptions). ---------------------------------------------------------------------- christophe_D · 2006-12-14 06:42 Quote from: "CCRDude"Ah, that's why I some time ago asked why SysUtils isn't placed in the first place for all units... since runtime error 217 imho happens when exceptions are thrown when SysUtils isn't loaded first (then you won't even be able to use try-clauses to catch those exceptions). yes when i remove the unit use the " try / except " , i have no error so i looking for the order of the unit ---------------------------------------------------------------------- Vincent Snijders · 2006-12-14 08:01 Can you explain what you did with code examples. I don't understand what CCRDude meant and what you did. ---------------------------------------------------------------------- christophe_D · 2006-12-28 08:19 Quote from: "Vincent"Can you run the application in the IDE / debugger to see why there is an error in TAPPLICATION__CREATEFORM line 1522 of ./include/application.inc. Chances are that there is some error in the form contructor. i'm found !! it's when the application create all the component i use a TRadioGroup and use the event OnChangeBounds but when the RadioGroup is create , the event OnChangeBounds is call and my procedure OnChangeBounds call an other component will not create at this time !!! it will be hard to found this bug !! found when i compile the program under linux, and execute under the console there is more info !! ---------------------------------------------------------------------- Vincent Snijders · 2006-12-28 08:36 If you compile your app without the the -WG flag (see compiler options, linking tab), you will see the same information on windows too.