Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

2008-12-12 Thread Matt Minnis
Is the 0th item null or something odd like that?
 

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Arno Garrels
Sent: Friday, December 12, 2008 11:30
To: ICS support mailing
Subject: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

Hi,

What's going on:

for (I = 0; I  HttpCli1-RcvdHeader-Count; I++)
AV here == DisplayMemo-Lines-Add(hdr +
HttpCli1-RcvdHeader-Strings[I]);

HttpCli1-RcvdHeader is assigned (of course) and Count is greater zero,
however
I get an AV on the first iteration??

--
Arno Garrels



  
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

2008-12-12 Thread Arno Garrels
Arno Garrels wrote:
 for (I = 0; I  HttpCli1-RcvdHeader-Count; I++)
 AV here == DisplayMemo-Lines-Add(hdr +
 HttpCli1-RcvdHeader-Strings[I]); 

Turned out to be just the common 'compiler switch hell' in C++ Builder.

--
Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

2008-12-12 Thread Matt Minnis
Which compiler switch? 

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Arno Garrels
Sent: Friday, December 12, 2008 14:10
To: ICS support mailing
Subject: Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

Arno Garrels wrote:
 for (I = 0; I  HttpCli1-RcvdHeader-Count; I++)
 AV here == DisplayMemo-Lines-Add(hdr +
 HttpCli1-RcvdHeader-Strings[I]); 

Turned out to be just the common 'compiler switch hell' in C++ Builder.

--
Arno Garrels
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp

2008-12-12 Thread Arno Garrels
Matt Minnis wrote:
 Which compiler switch?

If that were only clear? :( 
I changed the DCC32 | Debugging | Symbol Reference Info
from Definitions Only to Reference Info for the ICS packages and the 
error was gone. However turning all back again and rebuild worked 
as well. This was C++ Builder 2007, Builder 2009 and 2006 worked fine
with the default switches.

--
Arno Garrels

 
 -Original Message-
 From: twsocket-boun...@elists.org
 [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels
 Sent: Friday, December 12, 2008 14:10
 To: ICS support mailing
 Subject: Re: [twsocket] C++ Builder strange AV in OverbyteHttpTst.cpp
 
 Arno Garrels wrote:
 for (I = 0; I  HttpCli1-RcvdHeader-Count; I++)
 AV here == DisplayMemo-Lines-Add(hdr +
 HttpCli1-RcvdHeader-Strings[I]);
 
 Turned out to be just the common 'compiler switch hell' in C++
 Builder. 
 
 --
 Arno Garrels
 --
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be