[fpc-pascal] Documentation and posts suggestions [LONG]

2009-03-15 Thread Francisco Reyes
Whether coming from Delphi or a totally new to pascal user there are a couple of changes we could made to the documentation to make it friendlier and to posts we make on the list. I was thinking that including the unit and, if needed, the compiler mode for functions in the documentation may be

Re: [fpc-pascal] Documentation and posts suggestions [LONG]

2009-03-15 Thread Michael Van Canneyt
On Sun, 15 Mar 2009, Francisco Reyes wrote: > Whether coming from Delphi or a totally new to pascal user there are a couple > of changes we could made to the documentation to make it friendlier and to > posts we make on the list. > > I was thinking that including the unit and, if needed, the co

Re: [fpc-pascal] Documentation and posts suggestions [LONG]

2009-03-15 Thread Tomas Hajny
On 15 Mar 09, at 17:50, Michael Van Canneyt wrote: > On Sun, 15 Mar 2009, Francisco Reyes wrote: > > > Whether coming from Delphi or a totally new to pascal user there are a > > couple > > of changes we could made to the documentation to make it friendlier and to > > posts we make on the list. >

[fpc-pascal] Windows find out if an application already is running

2009-03-15 Thread Rainer Stratmann
I tried system.hprevinst, but this shows always 0. If there are more copys of the program then hinstance is always the same value. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Windows find out if an application already is running

2009-03-15 Thread dmitry boyarintsev
it's better to use named mutexes (supported on all Windows versions) to find out if there's another instance of the app running. do the following on application start: - create a named mutex (constant name) - try to lock the mutex (0 time waiting), if failed then there's another instance already r

Re: [fpc-pascal] Windows find out if an application already is running

2009-03-15 Thread Rainer Stratmann
that works with getlasterror = error_already_exists when try to create a second mutex. thanks! Am Sonntag, 15. März 2009 21:00 schrieb dmitry boyarintsev: > it's better to use named mutexes (supported on all Windows versions) > to find out if there's another instance of the app running. > > do th

Re: [fpc-pascal] Documentation and posts suggestions [LONG]

2009-03-15 Thread Francisco Reyes
Michael Van Canneyt writes: The unit name is always displayed on the top of the page. Thanks for pointing it out. Every time I have used the rtl.pdf I have used primarily the search function and had never noticed that. or Delphi. Regular functions do not need a mode at all. This is a simpl

Re: [fpc-pascal] Documentation and posts suggestions [LONG]

2009-03-15 Thread Francisco Reyes
Tomas Hajny writes: I'm not sure if Francisco meant the Reference Guide or possibly some examples appearing in the other documents; I was looking specifically about the rtl pdf. if it's the latter, a more concrete example would be probably useful. Where are the examples? I recall seem the

Re: [fpc-pascal] Documentation and posts suggestions [LONG]

2009-03-15 Thread Jonas Maebe
On 15 Mar 2009, at 23:20, Francisco Reyes wrote: Michael Van Canneyt writes: or Delphi. Regular functions do not need a mode at all. This is a simple rule, which can easily be remembered, no ? If those are the only two cases sure, but if there are other instances that may suffer from the

[fpc-pascal] fpdoc search engine progress

2009-03-15 Thread leledumbo
How's the progress of adding search engine to fpdoc? Either Graeme's work with Tipue and someone else's with Ioda. -- View this message in context: http://www.nabble.com/fpdoc-search-engine-progress-tp22531684p22531684.html Sent from the Free Pascal - General mailing list archive at Nabble.com.