Re: [lazarus] My Own Conditional Defines

2008-01-13 Thread Felipe Monteiro de Carvalho
On Jan 11, 2008 10:47 AM, Roland Turcan [EMAIL PROTECTED] wrote: Where is the common place for all conditionals? Menu Project -- Compiler Options Tab Others -- Custom options Write -dMYDEFINE there -- Felipe Monteiro de Carvalho

[lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread wfifi
some url can get data(example: http://www.google.com/ ), some others can't(example: http://anime.xunlei.com/Book/category/610), all url can browsered by ie or firefox. how debug can find the reasons? partly my code: procedure TFormMain.MenuItemNewStoryClick(Sender: TObject); var Urlstr: String;

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
Do you have LHTTPClientError event ? If not, please make sure you have and try to show any given error... BTW, do you use a sniffer to see how your request is transferring ? Ido On Jan 13, 2008 10:55 AM, wfifi [EMAIL PROTECTED] wrote: some url can get data(example: http://www.google.com/ ),

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread wfifi
yes, i have a LHTTPClientError event. no error occurred, it looks like program called HTTPClientProcessHeaders, then no data receive. can suggest some sniffer tools(for win xp) procedure TFormMain.HTTPClientError(const msg: string; aSocket: TLSocket); begin StatusBar.SimpleText := 'Error.';

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
On Jan 13, 2008 1:26 PM, wfifi [EMAIL PROTECTED] wrote: yes, i have a LHTTPClientError event. no error occurred, it looks like program called HTTPClientProcessHeaders, then no data receive. Please look at the headers, it can give you error number inside the header, like 500, 510 or even a 302

[lazarus] Sockets programming

2008-01-13 Thread Mark Morgan Lloyd
Sorry but this is another where do I find question. I'm doing various stuff which is best done at the level of the sockets library, I might wrap it as a component later. What is the correct way to get TFDSET, FD_ZERO, select() etc. so as to be portable under unix? Windows is no problem- they're

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
I can't see the content, and from quick googeling, i see that it's a known communication sniffer in china / In tcpdump (when using unix) or wireshark, you can see also the content that you send and receive, so it's easier to know what's going on. Ido On Jan 13, 2008 1:46 PM, wfifi [EMAIL

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread wfifi
200 ok,i use GUNiffer GUNiffer.exe /t /u url http://anime.xunlei.com/Book/category/610 TCP192.168.1.100: 3617 - 58.251.57.69: 80 TTL=128 -S bytes= 60 TCP192.168.1.100: 3617 - 58.251.57.69: 80 TTL=128 A- bytes= 40 TCP 58.251.57.69: 80 - 192.168.1.100: 3617 TTL=

Re: [lazarus] Sockets programming

2008-01-13 Thread Marco van de Voort
On Sun, Jan 13, 2008 at 11:42:30AM +, Mark Morgan Lloyd wrote: Sorry but this is another where do I find question. I'm doing various stuff which is best done at the level of the sockets library, I might wrap it as a component later. What is the correct way to get TFDSET, FD_ZERO,

[lazarus] Introduction

2008-01-13 Thread hy-soft
Hi, I am monitoring lazarus for about five years now and find the whole project is very impressive. You guys did a great job - but unfortunately the IDE is NOT in some state that could be used for a productive work (IMHO). I joined this Mailing-List two and a half years ago. I even did lots of

Re: [lazarus] Introduction

2008-01-13 Thread Lee Jenkins
hy-soft wrote: Hi, I am monitoring lazarus for about five years now and find the whole project is very impressive. You guys did a great job - but unfortunately the IDE is NOT in some state that could be used for a productive work (IMHO). I've been using Lazarus on Windows seriously for

No offense meant - Re: [lazarus] Introduction

2008-01-13 Thread hy-soft
Hi Lee, first of all, thanks for your detailed reply. But let me keepthis short: Lee Jenkins wrote: I've been using Lazarus on Windows seriously for about a year now and I've become pretty damn productive with it. Nice to hear, and I do believe you. But i do not like the mouse and I don't

Re: [lazarus] Introduction

2008-01-13 Thread Graeme Geldenhuys
On 13/01/2008, hy-soft [EMAIL PROTECTED] wrote: I am monitoring lazarus for about five years now and find the whole project is very impressive. I got to know Lazarus three years ago while evaluating alternatives to Kylix. After a few months of testing our company switch over 100% to Lazarus

Re: [lazarus] Introduction

2008-01-13 Thread Graeme Geldenhuys
On 13/01/2008, hy-soft [EMAIL PROTECTED] wrote: Well - here I am again, and would like to become an active member of your community. I forgot to mention in my previous post Welcome back! :-) It's always good getting more developers involved in open source projects. Regards, - Graeme

Re: No offense meant - Re: [lazarus] Introduction

2008-01-13 Thread Lee Jenkins
hy-soft wrote: Hi Lee, first of all, thanks for your detailed reply. But let me keepthis short: Lee Jenkins wrote: I've been using Lazarus on Windows seriously for about a year now and I've become pretty damn productive with it. Nice to hear, and I do believe you. But i do not like the

Re: No offense meant - Re: [lazarus] Introduction

2008-01-13 Thread Graeme Geldenhuys
On 13/01/2008, hy-soft [EMAIL PROTECTED] wrote: That is the value for me and my customers. As nice as Delphi2007 IDE *really* is, it doesn't compile cross-platform or even to 64 bit, but Lazarus does. No.You are right. And since borland changed to inprise, and back to borland,and forth

Re: No offense meant - Re: [lazarus] Introduction

2008-01-13 Thread hy-soft
Lee Jenkins wrote: Ah! I had misunderstood. Have you looked at the freepascal IDE? That's keyboard driven isn't it? What did you think of it? No, I haven't - yet... TNXfor the hint -- -hy ___ | | hy-soft data-engineering | |mail:

Re: [lazarus] Introduction

2008-01-13 Thread Marius
Although i do not know you i'm glad you're back and healthy again after so many months of rehab! It is also really nice to see that fpc/lazarus gets more and more attention (and mayby even a book!) and i think this environment will be a big push for the language. I started to feel a bit as a

Back on the code again was Re: [lazarus] Introduction

2008-01-13 Thread hy-soft
Marius wrote: Although i do not know you i'm glad you're back and healthy again after so many months of rehab! TNX Ialso am glad to be Back on the code again It is also really nice to see that fpc/lazarus gets more and more attention (and mayby even a book!) and i think this environment will

[lazarus] Lazarsu Book

2008-01-13 Thread hy-soft
Marius wrote: It is also really nice to see that fpc/lazarus gets more and more attention (and mayby even a book!) a[...] Well, actually i have been workin' asanuthor of technical s7uff. trnslated some things and the like. I'd really appreciate getting involved in a book about Lazarus. Please

Re: [lazarus] Sockets programming

2008-01-13 Thread Mark Morgan Lloyd
Marco van de Voort wrote: On Sun, Jan 13, 2008 at 11:42:30AM +, Mark Morgan Lloyd wrote: Sorry but this is another where do I find question. I'm doing various stuff which is best done at the level of the sockets library, I might wrap it as a component later. What is the correct way to get

Re: [lazarus] Sockets programming

2008-01-13 Thread Marco van de Voort
On Sun, Jan 13, 2008 at 11:42:30AM +, Mark Morgan Lloyd wrote: The old 1.0.x symbols have been deprecated in 2.2.0+, new variants exist that have proper typing and (standarized) errorhandling. These new variants are called prefix with fp, so fprecvfrom. These are all documented in

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread wfifi
thanks ido wireshark is a great tool, i attach a log, found data is got, but Component's status not change. 2008/1/13, ik [EMAIL PROTECTED]: I can't see the content, and from quick googeling, i see that it's a known communication sniffer in china / In tcpdump (when using unix) or wireshark,

Re: [lazarus] why sometime TLHTTPClientComponent can not get data?

2008-01-13 Thread ik
On Jan 14, 2008 3:59 AM, wfifi [EMAIL PROTECTED] wrote: thanks ido wireshark is a great tool, i attach a log, found data is got, but Component's status not change. I've read your code again (and looked at the log), I noticed this: strstream.WriteString(String(ABuffer)) You are casting a