Re: [lazarus] TRegistry crash on Mac OS X

2007-10-15 Thread Dominique Louis
Tom Gregorovic wrote: I have just tested it and it works well for me. The TRegistry should be saved to reg.xml file in the same dir as the executable. Please create a bug report with further description. On Mac OS X, the reg.xml file is saved to the root directory, but on some user's

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-07 Thread Tobias Giesen
Hello, there are one or two bugs in xmlreg.pp that can cause crashes. I am talking about the xmlreg.pp in fpcsrc\packages\fcl-registry\src. Around line 355, it is not verified whether Node.FirstChild is nil. Around line 720, the function does not return any value. I have copied the file into

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-07 Thread Felipe Monteiro de Carvalho
There are detailed instructions about how to create a patch here: http://wiki.lazarus.freepascal.org/Creating_A_Patch They are mostly about lazarus, but should apply to fpc too. In you case you should download the fpc source code from subversion, substitute your file on the currect place, and

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-07 Thread Joost van der Sluis
Please create a bug report for fpc (not lazarus) (http://www.freepascal.org/mantis) and attach your files to the bug-report. Joost. Op zondag 07-10-2007 om 23:05 uur [tijdzone +0200], schreef Tobias Giesen: Hello, there are one or two bugs in xmlreg.pp that can cause crashes. I am talking

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-05 Thread Tom Gregorovic
Dominique Louis napsal(a): As mentioned I'm porting a Delphi app to Mac OS X and noticed that every time it tries to make use of the TRegistry functions an AV occurs. Does anyone know why this may be happening, and also where does it save these Registry settings? I have just tested it and

Re: [lazarus] TRegistry crash on Mac OS X

2007-10-05 Thread Dominique Louis
Hi Tom, I'll step through the code this week-end and write something up. Dominique. Tom Gregorovic wrote: Dominique Louis napsal(a): As mentioned I'm porting a Delphi app to Mac OS X and noticed that every time it tries to make use of the TRegistry functions an AV occurs. Does anyone know