[fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-19 Thread Seth Grover
> Fixed. > It seems that using the heaptrc unit masks some access violations. > Michael. Good to know. That fix seemed to work, but there's an issue with having an "else" in a case statement. If you remove the else it works. == unit timelib; {$mode objfpc}{$H+} interface

Re: [fpc-pascal] Re: fcl-passrc package question about source file and line number info

2012-07-19 Thread Michael Van Canneyt
On Wed, 18 Jul 2012, Seth Grover wrote: Hm, it's still failing for me. Here's what I get with test_parser from examples given this input: === unit timelib; {$mode objfpc}{$H+} interface implementation procedure SmonthToCmonth (const sMonth

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-19 Thread OBones
Mark Morgan Lloyd wrote: OBones wrote: Mark Morgan Lloyd wrote: Basically, what I was trying to do was this. In the main thread: fIpcPipe:= CreateNamedPipe(PChar(fIpcName), PIPE_ACCESS_INBOUND, PIPE_TYPE_MESSAGE + PIPE_READMODE_MESSAGE,

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-19 Thread Mark Morgan Lloyd
waldo kitty wrote: On 7/18/2012 08:48, Mark Morgan Lloyd wrote: I was reminded of this when somebody was asking about portable signalling APIs the other day, but I think it's also relevant to discussion of e.g. how to pass a keyword to a help viewer. I am obviously aware of the fact that FPC