Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) <= 32 Then

2009-01-27 Thread Jonas Maebe
On 28 Jan 2009, at 02:02, vmars wrote: Wild is good, but same results: Unable to open file: "%COMSPEC%/c Del2Pas.bat" ErrorCode=0 You have to resolve %COMSPEC% first (it's an environment variable). Jonas ___ fpc-pascal maillist - fpc-pascal@lis

Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) <= 32 Then

2009-01-27 Thread vmars
Wild is good, but same results: Unable to open file: "%COMSPEC%/c Del2Pas.bat" ErrorCode=0 ô¿ô V e r n WinXp sp2 , Delphi5, WebDwarf, Trellian WebPage, Lazarus-0.9.26-fpc-2.2.2-win32.exe, wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1 http://www.flickr.com/photos/vmars956/ Wanted

Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) <= 32 Then

2009-01-27 Thread vmars
I tried many combinations of "%COMSPEC% /c Del2Pas.bat" ExecuteName := ('C:\\WINDOWS\\system32\\cmd.exe ' + AppPathExe + 'Del2Pas.bat'); ExecuteName := ('"%COMSPEC%/c Del2Pas.bat"'); and many more! but still: Unable to open file: "%COMSPEC%/c Del2Pas.bat" Erro

Re: [fpc-pascal] Lazarus Resource...

2009-01-27 Thread Mattias Gärtner
Zitat von "papelhigien...@gmail.com" : > Hi all! > > An stupid question... A resource file (lrs) can have 2 resources with the > same name? The last counts. Which means: no. Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://li

[fpc-pascal] Lazarus Resource...

2009-01-27 Thread papelhigien...@gmail.com
Hi all! An stupid question... A resource file (lrs) can have 2 resources with the same name? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) <= 32 Then

2009-01-27 Thread Bart
Is the problem that you don't see output from del2pas.bat? or is it not executed at all (and how do you know this)? If the problem is the first, that may be so because in a .lnk you specify that the file needs a console, and just running the .bat ma prevent it frome getting a console? Put in your

Re: [fpc-pascal] Xcode access to fpc documentation

2009-01-27 Thread Ken G. Brown
Aha! That's why the unix find of FPCMacOSAll did not find anything either! It's not there anymore. That clears up a couple mysteries for me. Thx, Ken G. Brown At 9:05 AM +0100 1/27/09, fpc-pascal-requ...@lists.freepascal.org apparently wrote: >Date: Tue, 27 Jan 2009 09:42:00 +0200 >From: Jona

Re: [fpc-pascal] Changes in sockets unit

2009-01-27 Thread Marco van de Voort
In our previous episode, leledumbo said: > I saw many deprecated things in sockets unit. Could someone tell me what to > do to port existing code? All the code was already deprecated since 2.0, but the "deprecate" function was only new in 2.2.0, and 2.2.0 had to be 2.0.4 compilable. Use the fp* v

Re: [fpc-pascal] Profiling

2009-01-27 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > If there is no bug report about it, it's very likely that it will be > > forgotten > > over time (as in this case, apparently -- I indeed seem to remember that at > > one point I knew about this). > > There is indeed a problem. I submitted a

Re: [fpc-pascal] Profiling

2009-01-27 Thread Jonas Maebe
On 27 Jan 2009, at 11:30, Mattias Gärtner wrote: Zitat von Jonas Maebe : I've used qprof successfully in the past (not for FPC programs, but for other things). It's a sampling-based profiler, so it shouldn't slow down things too much. Yes, that's why I prefer gprof and used it a lot in the

Re: [fpc-pascal] Profiling

2009-01-27 Thread Mattias Gärtner
Zitat von Jonas Maebe : > > On 26 Jan 2009, at 22:49, Mattias Gaertner wrote: > > > I need to profile lazarus applications under linux. > > I tried gprof, but it is broken since years and shows no record. > > Neither does the bug repository show any record of open bugs against - > pg on Linux. So

Re: [fpc-pascal] Profiling

2009-01-27 Thread Michael Van Canneyt
On Tue, 27 Jan 2009, Jonas Maebe wrote: > > On 27 Jan 2009, at 10:49, Graeme Geldenhuys wrote: > > >I can confirm with Mattias. I tried over a year ago to do profiling > >using gprof. It always generated a empty (0 byte) file. Nothing else. > >I posted messages to the mailing list and was told

Re: [fpc-pascal] Profiling

2009-01-27 Thread Jonas Maebe
On 27 Jan 2009, at 10:49, Graeme Geldenhuys wrote: I can confirm with Mattias. I tried over a year ago to do profiling using gprof. It always generated a empty (0 byte) file. Nothing else. I posted messages to the mailing list and was told to try valgrind instead. It issues with gprof was known

Re: [fpc-pascal] FPC with Firebird SuperServer

2009-01-27 Thread Jonas Maebe
On 27 Jan 2009, at 10:22, Michael Van Canneyt wrote: On Tue, 27 Jan 2009, Jonas Maebe wrote: On 27 Jan 2009, at 10:07, Michael Van Canneyt wrote: TSQLQuery and friends use the dynamically loaded version, for good reason: they must be usable in circumstances where you don't know if the li

Re: [fpc-pascal] Profiling

2009-01-27 Thread Graeme Geldenhuys
On Tue, Jan 27, 2009 at 10:15 AM, Jonas Maebe wrote: > > On 26 Jan 2009, at 22:49, Mattias Gaertner wrote: > >> I need to profile lazarus applications under linux. >> I tried gprof, but it is broken since years and shows no record. > > Neither does the bug repository show any record of open bugs a

Re: [fpc-pascal] FPC with Firebird SuperServer

2009-01-27 Thread Michael Van Canneyt
On Tue, 27 Jan 2009, Jonas Maebe wrote: > > On 27 Jan 2009, at 10:07, Michael Van Canneyt wrote: > > >On Tue, 27 Jan 2009, Jonas Maebe wrote: > > > > > > > >On 27 Jan 2009, at 08:36, Bee wrote: > > > > > > > >2) Is there other advice the forum can offer (eg. does Classic remain a > > > > >reas

Re: [fpc-pascal] FPC with Firebird SuperServer

2009-01-27 Thread Jonas Maebe
On 27 Jan 2009, at 10:07, Michael Van Canneyt wrote: On Tue, 27 Jan 2009, Jonas Maebe wrote: On 27 Jan 2009, at 08:36, Bee wrote: 2) Is there other advice the forum can offer (eg. does Classic remain a reasonable choice, is SuperServer support planned, etc). I simply made a symlink nam

Re: [fpc-pascal] Profiling

2009-01-27 Thread Jonas Maebe
On 26 Jan 2009, at 22:49, Mattias Gaertner wrote: I need to profile lazarus applications under linux. I tried gprof, but it is broken since years and shows no record. Neither does the bug repository show any record of open bugs against - pg on Linux. I found the following page, but it doe

Re: [fpc-pascal] very simple text indexing system

2009-01-27 Thread Eduardo Morras
At 07:47 27/01/2009, you wrote: Hi, I would like to implement a very simple text indexing system (full text search) for one of our products. I know there are a few products our there I can use in combination with RDBMS etc... But I would like to keep the 3rdParty components down to a minimum. S

Re: [fpc-pascal] FPC with Firebird SuperServer

2009-01-27 Thread Michael Van Canneyt
On Tue, 27 Jan 2009, Jonas Maebe wrote: > > On 27 Jan 2009, at 08:36, Bee wrote: > > > >2) Is there other advice the forum can offer (eg. does Classic remain a > > >reasonable choice, is SuperServer support planned, etc). > > > >I simply made a symlink name libfbclient.so in folder /usr/lib wh

Re: [fpc-pascal] very simple text indexing system

2009-01-27 Thread Michael Van Canneyt
On Tue, 27 Jan 2009, Graeme Geldenhuys wrote: > Hi, > > I would like to implement a very simple text indexing system (full > text search) for one of our products. I know there are a few products > our there I can use in combination with RDBMS etc... But I would like > to keep the 3rdParty comp

Re: [fpc-pascal] FPC with Firebird SuperServer

2009-01-27 Thread Jonas Maebe
On 27 Jan 2009, at 08:36, Bee wrote: 2) Is there other advice the forum can offer (eg. does Classic remain a reasonable choice, is SuperServer support planned, etc). I simply made a symlink name libfbclient.so in folder /usr/lib which point to /Library/Frameworks/Firebird.framework/Version