Re: [fpc-devel] Access Violation with nested DLL's compiled byFPC(andsome more info on bug #4538)

2005-12-13 Thread Stefan v. d. Berg
L505 wrote: I just tried the bug report source code at http://www.freepascal.org/bugs/showsource.php3?ID=4538 And I did not get an access violation or any errors. Which proves that it depends on your random luck on a random day ;) http://z505.com/images/BrokenDLLisWorking.png Interesting. I'm

Re: [fpc-devel] Access Violation with nested DLL's compiled by FPC(and some more info on bug #4538)

2005-12-13 Thread Stefan v. d. Berg
Marc Weustink wrote: Also passing objects may couse problems. Operators like "is" will fail, since TObject defined in dll1 is not equal to TObject defined in dll2. They have the same memory layout (if compiled by the same compiler), but the class pointer is different, so they are different class

Re: [fpc-devel] TProcess and mpg123/321 issues

2005-12-13 Thread Michael Van Canneyt
On Tue, 13 Dec 2005, Alexander Todorov wrote: > Hi, > I have a GUI application created with Lazarus and I need to let users > play some mp3 files. > I have the following Button.OnClick > - > begin > pMusic.CommandLine := 'mpg123 /home/user/so

[fpc-devel] make cycle fails on win32

2005-12-13 Thread Vincent Snijders
Hi, On win32 I cannot cycle the compiler anymore. I used fpc 2.0.0 and fpc 2.0.2 as starting compilers, but both stop at the same place: D:/lazarus/source/fpc/2.1/compiler/ppc1.exe -Ur -Xs -OG2p3 -n -Fui386 -Fusystems -FuD:/lazarus/source/fpc/2.1/rtl/units/i386-win32 -Fii386 -FE. -FUi386/units/i

[fpc-devel] TProcess and mpg123/321 issues

2005-12-13 Thread Alexander Todorov
Hi, I have a GUI application created with Lazarus and I need to let users play some mp3 files. I have the following Button.OnClick - begin pMusic.CommandLine := 'mpg123 /home/user/song.mp3'; pMusic.Active := true; while pMusic.Running then

Re: [fpc-devel] GetAppConfigDir and GetAppConfigFile output

2005-12-13 Thread Michalis Kamburelis
Felipe Monteiro de Carvalho wrote: Hello, I recently tryed to use those two functions, so I created a test app with 4 functions: WriteLn(GetAppConfigDir(True)); WriteLn(GetAppConfigDir(False)); WriteLn(GetAppConfigFile(True)); WriteLn(GetAppConfigFile(False)); The output on a GNU/Linux

Re: [fpc-devel] GetAppConfigDir and GetAppConfigFile output

2005-12-13 Thread Michael Van Canneyt
On Mon, 12 Dec 2005, Felipe Monteiro de Carvalho wrote: Hello, I recently tryed to use those two functions, so I created a test app with 4 functions: WriteLn(GetAppConfigDir(True)); WriteLn(GetAppConfigDir(False)); WriteLn(GetAppConfigFile(True)); WriteLn(GetAppConfigFile(False)); The o