[fpc-pascal] 'Uses' keyword

2009-10-25 Thread James Buren
Is there any way to get FPC to tell me what units get included when I include a unit? I'm asking because I'd like to know so I can find out what units I'm using and what licenses they use so I know what licenses I'm dealing with so I know how it will effect my program.

Re: [fpc-pascal] WORD (2 bytes) to String conversion

2009-10-25 Thread Paul Nicholls
- Original Message - From: "M Pulis" To: "FPC-Pascal users discussions" Sent: Monday, October 26, 2009 9:27 AM Subject: Re: [fpc-pascal] WORD (2 bytes) to String conversion On Oct 25, 2009, at 3:09 PM, Paul Nicholls wrote: - Original Message - From: "Graeme Geldenhuys" >

Re: [fpc-pascal] WORD (2 bytes) to String conversion

2009-10-25 Thread M Pulis
On Oct 25, 2009, at 3:09 PM, Paul Nicholls wrote: - Original Message - From: "Graeme Geldenhuys" > To: "FPC-Pascal users discussions" Sent: Friday, October 23, 2009 11:10 PM Subject: [fpc-pascal] WORD (2 bytes) to String conversion Hi, I'm reading in a WORD (2 bytes) from a binary

Re: [fpc-pascal] WORD (2 bytes) to String conversion

2009-10-25 Thread Paul Nicholls
- Original Message - From: "Graeme Geldenhuys" To: "FPC-Pascal users discussions" Sent: Friday, October 23, 2009 11:10 PM Subject: [fpc-pascal] WORD (2 bytes) to String conversion Hi, I'm reading in a WORD (2 bytes) from a binary file. I can display the Hex format of that value with

Re: [fpc-pascal] streaming child components

2009-10-25 Thread Roland Schaefer
> The lazarus sources contain a complete example of how to write a > TComponent descendant with Parent+Childs. The class TMyWidget can > be found under examples/designnonlcl/mywidgetset.pas. Thanks a lot! This cleared things up, and it seems I mostly got it right. Best Roland

Re: [fpc-pascal] streaming child components

2009-10-25 Thread Mattias Gaertner
On Sun, 25 Oct 2009 21:56:01 +0100 Roland Schaefer wrote: > Hi, > I have another question regarding serialization. I need to stream > child components, and here: > http://wiki.freepascal.org/Streaming_components it says that > "TComponent extends TPersistent by the ability to have child > compone

Re: [fpc-pascal] can not debug on macosx 10.4 ppc

2009-10-25 Thread Jonas Maebe
On 25 Oct 2009, at 19:45, Henrik Genssen wrote: if I use plain -g I get: [TCmdLineDebugger] Debug PID: 15860 TGDBMIDebugger.ProcessResult Error: ,msg="No symbol table is loaded. Use the \"file\" command." Does the directory yourapp.dSYM still exist? (this is what gets generated when you

[fpc-pascal] streaming child components

2009-10-25 Thread Roland Schaefer
Hi, I have another question regarding serialization. I need to stream child components, and here: http://wiki.freepascal.org/Streaming_components it says that "TComponent extends TPersistent by the ability to have child components". The rest I figured from reading the RTL sources, and I'm wondering

RE: Re: [fpc-pascal] can not debug on macosx 10.4 ppc

2009-10-25 Thread Henrik Genssen
Hi Jonas, if I use plain -g I get: [TCmdLineDebugger] Debug PID: 15860 TGDBMIDebugger.ProcessResult Error: ,msg="No symbol table is loaded. Use the \"file\" command." [Debugger] Running GDB version: Apple version gdb-437 [TDebugger.SetFileName] "/Users/hg/Downloads/@compiled/simple.app" [TMainID

Re: [fpc-pascal] can not debug on macosx 10.4 ppc

2009-10-25 Thread Jonas Maebe
On 25 Oct 2009, at 13:17, "Henrik Genssen" > wrote: Hi JoshyFun, yes, I am writeing debug information. I tried: -g -Xg and both with no success the output send earlier was made using both options. -Xg can only work with DWARF on Mac OS X. Either use -gw -Xg or plain - g without -Xg.

Re: [fpc-pascal] someone using indy10 (tiburon)?

2009-10-25 Thread Jürgen Hestermann
is there actually someone using INDY10 with FPC on other platforms than windows? version of IINDY, FPC, OS? If not - is there someone interested in it - or are the alternatives suiting your needs? If so - what are you using? I use Ararat Synapse (http://ararat.cz/synapse/doku.php). Works fine so

RE: Re: [fpc-pascal] can not debug on macosx 10.4 ppc

2009-10-25 Thread Henrik Genssen
Hi JoshyFun, yes, I am writeing debug information. I tried: -g -Xg and both with no success the output send earlier was made using both options. -- Hinnack >This message seems showing that no debug information was found in the >executable file: > >TGDBMIDebugger.ProcessResult Error: ,msg="No sy