Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-14 Thread silvioprog
2012/6/14 Graeme Geldenhuys : > Hi, > > On 14 June 2012 02:19, silvioprog wrote: >> Y!! >> >> Worked fine with this demo in attached! > > > Glad you got it working in the end. > > >> I found this demo in: > > ...and if you look carefully, my sample code called t

Re: [fpc-pascal] fpmake question

2012-06-14 Thread Bernd
Ok, I'm slowly making progress. The Targets.AddUnit() method needs the unit file name (with extension). But there is another problem. fpmake is sl. bernd@t40:~/proj/git_torchat_laz/src/core\ $ time fppkg build Start building package torchat-core for target i386-linux. Compiling

Re: [fpc-pascal] fpmake question

2012-06-14 Thread Sven Barth
On 14.06.2012 17:38, Bernd wrote: I have some questions about fpmake. I cannot find any real examples or helpful explanations about it, so I'm currently experimenting with the incomplete information from the wiki. Currently the best examples seem to be the various fpmake.pp files in $fpcdir/pa

[fpc-pascal] fpmake question

2012-06-14 Thread Bernd
I have some questions about fpmake. I cannot find any real examples or helpful explanations about it, so I'm currently experimenting with the incomplete information from the wiki. >From what I have understood so far (might be completely wrong) I assume that my fpmake.pp is the equivalent of the Ma

Re: [fpc-pascal] Strings and objects crossing dll boundaries

2012-06-14 Thread Mark Morgan Lloyd
kyan wrote: Hello all, A couple of questions regarding handling of strings, dynamic arrays and objects -especially exceptions- when writing programs that use shared libraries (.dll, .so). This seems to be a hot topic at the moment. In Delphi we have the option of either using packages to ens

Re: [fpc-pascal] Strings and objects crossing dll boundaries

2012-06-14 Thread Marco van de Voort
In our previous episode, kyan said: > > A couple of questions regarding handling of strings, dynamic arrays > and objects -especially exceptions- when writing programs that use > shared libraries (.dll, .so). > > In Delphi we have the option of either using packages to ensure that > there is only

[fpc-pascal] Strings and objects crossing dll boundaries

2012-06-14 Thread kyan
Hello all, A couple of questions regarding handling of strings, dynamic arrays and objects -especially exceptions- when writing programs that use shared libraries (.dll, .so). In Delphi we have the option of either using packages to ensure that there is only one instance of the memory allocator o

Re: [fpc-pascal] Re: Playing sounds with standard components

2012-06-14 Thread Graeme Geldenhuys
Hi, On 14 June 2012 02:19, silvioprog wrote: > Y!! > > Worked fine with this demo in attached! Glad you got it working in the end. > I found this demo in: ...and if you look carefully, my sample code called the exact same SDL API's in the same order as the

Re: [fpc-pascal] Debug information again

2012-06-14 Thread Antonio Fortuny
Hi all again. About this boring problem I have maybe a track. I downloaded the latest Lazarus release (0.9.30 as it is on the main download page from France mirror) and installed it in place of 1.1 It runs FPC 2.6.0 Compile and install needed packages Compile and run the test project and get th