Re: [twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hi,

Thanks! but these avs are at random places each time different place!
So it is from memory fragmentation. When I run in release config,
works smoothly.

Regards,

SZ

On 5/11/09, Matt Minnis  wrote:
> If you are getting AV's use something like EurekaLog to trap and report them
> with a call stack.
> https://www.eurekalog.com/index.php
>
> I use this all the time, saves tons of time tracking these things down.
> Worth every penny/euro.
>
> Matt
>
> -Original Message-
> From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
> Behalf Of Fastream Technologies
> Sent: Monday, May 11, 2009 1:10 PM
> To: ICS support mailing
> Subject: Re: [twsocket] THttpServer under ICSv7 and BCB2007
>
> Hi,
>
> On 5/11/09, Arno Garrels  wrote:
> > Fastream Technologies wrote:
> > > The problem is I must run my C++ project with release config as
> > > otherwise it gives av due to memory fragmentation (HEAVY duty!).
> >
> > If you want to debug, debug information have to be included, that's
> > true. But those AVs are IMO a hint that something went rather wrong in
> > your code, though I'm not very familiar with C++ Builder.
>
> Long time ago, I read that mt apps with much RAM usage is causing these...
> What BCB enables for C++ code is debugging for optimized code. However, this
> is not the case with Pascal code.
>
> Regards,
>
> SZ
>
>
> >
> > --
> > Arno Garrels
> >
> >
> > > Regards,
> > >
> > > SZ
> > >
> > >
> > > On 5/11/09, Arno Garrels  wrote:
> > >>
> > >> Fastream Technologies wrote:
> > >>> Also FYI: I have defined in both gui app and package
> > >>>
> > >> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DE
> > >> BUG_LOG
> > >>> .
> > >>>
> > >>> The Delphi guys may say why don't you step into the code and debug
> > >>> but BCB2007 does not let me step into Delphi code in C++ projects.
> > >>
> > >> It is possible, as long as the path to the .pas files is known.
> > >> I did this several times, however foregot the exact steps how to
> > >> achieve that. It was easy anyway. From memory, when you step in
> > >> with
> > >> F7 C++ Builder even pops up a dialog where you can enter the
> > >> correct path if not yet set up somewhere in the options.
> > >>
> > >> --
> > >> Arno Garrels
> > >>
> > >>
> > >>
> > >>>
> > >>> Regards,
> > >>>
> > >>> Gorkem Ates
> > >>>
> > >>>
> > >>> On 5/11/09, Fastream Technologies  wrote:
> > >>>>
> > >>>> Hello,
> > >>>>
> > >>>> I have an upgraded code from v6. The below line:
> > >>>>
> > >>>> adminHTTPServer = new THttpServer(NULL);
> > >>>>
> > >>>> causes AV (write of address 0014). Any idea what might have I
> > >>>> done wrong? This is a GUI app but for debugging the service so do
> > >>>> not want to use Forms::Application.
> > >>>> Best Regards,
> > >>>>
> > >>>> SZ
> > --
-- 
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Matt Minnis
If you are getting AV's use something like EurekaLog to trap and report them
with a call stack.
https://www.eurekalog.com/index.php

I use this all the time, saves tons of time tracking these things down.
Worth every penny/euro.

Matt 

-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Fastream Technologies
Sent: Monday, May 11, 2009 1:10 PM
To: ICS support mailing
Subject: Re: [twsocket] THttpServer under ICSv7 and BCB2007

Hi,

On 5/11/09, Arno Garrels  wrote:
> Fastream Technologies wrote:
> > The problem is I must run my C++ project with release config as 
> > otherwise it gives av due to memory fragmentation (HEAVY duty!).
>
> If you want to debug, debug information have to be included, that's 
> true. But those AVs are IMO a hint that something went rather wrong in 
> your code, though I'm not very familiar with C++ Builder.

Long time ago, I read that mt apps with much RAM usage is causing these...
What BCB enables for C++ code is debugging for optimized code. However, this
is not the case with Pascal code.

Regards,

SZ


>
> --
> Arno Garrels
>
>
> > Regards,
> >
> > SZ
> >
> >
> > On 5/11/09, Arno Garrels  wrote:
> >>
> >> Fastream Technologies wrote:
> >>> Also FYI: I have defined in both gui app and package
> >>>
> >> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DE
> >> BUG_LOG
> >>> .
> >>>
> >>> The Delphi guys may say why don't you step into the code and debug 
> >>> but BCB2007 does not let me step into Delphi code in C++ projects.
> >>
> >> It is possible, as long as the path to the .pas files is known.
> >> I did this several times, however foregot the exact steps how to 
> >> achieve that. It was easy anyway. From memory, when you step in 
> >> with
> >> F7 C++ Builder even pops up a dialog where you can enter the 
> >> correct path if not yet set up somewhere in the options.
> >>
> >> --
> >> Arno Garrels
> >>
> >>
> >>
> >>>
> >>> Regards,
> >>>
> >>> Gorkem Ates
> >>>
> >>>
> >>> On 5/11/09, Fastream Technologies  wrote:
> >>>>
> >>>> Hello,
> >>>>
> >>>> I have an upgraded code from v6. The below line:
> >>>>
> >>>> adminHTTPServer = new THttpServer(NULL);
> >>>>
> >>>> causes AV (write of address 0014). Any idea what might have I 
> >>>> done wrong? This is a GUI app but for debugging the service so do 
> >>>> not want to use Forms::Application.
> >>>> Best Regards,
> >>>>
> >>>> SZ
> --
--
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hi,

On 5/11/09, Arno Garrels  wrote:
> Fastream Technologies wrote:
> > The problem is I must run my C++ project with release config as
> > otherwise it gives av due to memory fragmentation (HEAVY duty!).
>
> If you want to debug, debug information have to be included, that's
> true. But those AVs are IMO a hint that something went rather wrong
> in your code, though I'm not very familiar with C++ Builder.

Long time ago, I read that mt apps with much RAM usage is causing
these... What BCB enables for C++ code is debugging for optimized
code. However, this is not the case with Pascal code.

Regards,

SZ


>
> --
> Arno Garrels
>
>
> > Regards,
> >
> > SZ
> >
> >
> > On 5/11/09, Arno Garrels  wrote:
> >>
> >> Fastream Technologies wrote:
> >>> Also FYI: I have defined in both gui app and package
> >>>
> >> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG
> >>> .
> >>>
> >>> The Delphi guys may say why don't you step into the code and debug
> >>> but BCB2007 does not let me step into Delphi code in C++ projects.
> >>
> >> It is possible, as long as the path to the .pas files is known.
> >> I did this several times, however foregot the exact steps how to
> >> achieve that. It was easy anyway. From memory, when you step in with
> >> F7 C++ Builder even pops up a dialog where you can enter the correct
> >> path if not yet set up somewhere in the options.
> >>
> >> --
> >> Arno Garrels
> >>
> >>
> >>
> >>>
> >>> Regards,
> >>>
> >>> Gorkem Ates
> >>>
> >>>
> >>> On 5/11/09, Fastream Technologies  wrote:
> 
>  Hello,
> 
>  I have an upgraded code from v6. The below line:
> 
>  adminHTTPServer = new THttpServer(NULL);
> 
>  causes AV (write of address 0014). Any idea what might have I
>  done wrong? This is a GUI app but for debugging the service so do
>  not want to use Forms::Application.
>  Best Regards,
> 
>  SZ
> --
-- 
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Arno Garrels
Fastream Technologies wrote:
> The problem is I must run my C++ project with release config as
> otherwise it gives av due to memory fragmentation (HEAVY duty!).

If you want to debug, debug information have to be included, that's 
true. But those AVs are IMO a hint that something went rather wrong
in your code, though I'm not very familiar with C++ Builder.

--
Arno Garrels
 

> Regards,
> 
> SZ
> 
> 
> On 5/11/09, Arno Garrels  wrote:
>> 
>> Fastream Technologies wrote:
>>> Also FYI: I have defined in both gui app and package
>>> 
>> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG
>>> .
>>> 
>>> The Delphi guys may say why don't you step into the code and debug
>>> but BCB2007 does not let me step into Delphi code in C++ projects.
>> 
>> It is possible, as long as the path to the .pas files is known.
>> I did this several times, however foregot the exact steps how to
>> achieve that. It was easy anyway. From memory, when you step in with
>> F7 C++ Builder even pops up a dialog where you can enter the correct
>> path if not yet set up somewhere in the options.
>> 
>> --
>> Arno Garrels
>> 
>> 
>> 
>>> 
>>> Regards,
>>> 
>>> Gorkem Ates
>>> 
>>> 
>>> On 5/11/09, Fastream Technologies  wrote:
 
 Hello,
 
 I have an upgraded code from v6. The below line:
 
 adminHTTPServer = new THttpServer(NULL);
 
 causes AV (write of address 0014). Any idea what might have I
 done wrong? This is a GUI app but for debugging the service so do
 not want to use Forms::Application.
 Best Regards,
 
 SZ
-- 
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
The problem is I must run my C++ project with release config as otherwise it
gives av due to memory fragmentation (HEAVY duty!).

Regards,

SZ


On 5/11/09, Arno Garrels  wrote:
>
> Fastream Technologies wrote:
> > Also FYI: I have defined in both gui app and package
> >
> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG
> > .
> >
> > The Delphi guys may say why don't you step into the code and debug but
> > BCB2007 does not let me step into Delphi code in C++ projects.
>
> It is possible, as long as the path to the .pas files is known.
> I did this several times, however foregot the exact steps how to
> achieve that. It was easy anyway. From memory, when you step in with F7
> C++ Builder even pops up a dialog where you can enter the correct path
> if not yet set up somewhere in the options.
>
> --
> Arno Garrels
>
>
>
> >
> > Regards,
> >
> > Gorkem Ates
> >
> >
> > On 5/11/09, Fastream Technologies  wrote:
> >>
> >> Hello,
> >>
> >> I have an upgraded code from v6. The below line:
> >>
> >> adminHTTPServer = new THttpServer(NULL);
> >>
> >> causes AV (write of address 0014). Any idea what might have I
> >> done wrong? This is a GUI app but for debugging the service so do
> >> not want to use Forms::Application.
> >> Best Regards,
> >>
> >> SZ
> >
-- 
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Arno Garrels
Fastream Technologies wrote:
> Also FYI: I have defined in both gui app and package
> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG
> . 
> 
> The Delphi guys may say why don't you step into the code and debug but
> BCB2007 does not let me step into Delphi code in C++ projects.

It is possible, as long as the path to the .pas files is known.
I did this several times, however foregot the exact steps how to
achieve that. It was easy anyway. From memory, when you step in with F7 
C++ Builder even pops up a dialog where you can enter the correct path
if not yet set up somewhere in the options.

--
Arno Garrels



> 
> Regards,
> 
> Gorkem Ates
> 
> 
> On 5/11/09, Fastream Technologies  wrote:
>> 
>> Hello,
>> 
>> I have an upgraded code from v6. The below line:
>> 
>> adminHTTPServer = new THttpServer(NULL);
>> 
>> causes AV (write of address 0014). Any idea what might have I
>> done wrong? This is a GUI app but for debugging the service so do
>> not want to use Forms::Application.
>> Best Regards,
>> 
>> SZ
>> 
> 
> 
> 
> --
> Gorkem Ates
> Fastream Technologies
> Software IQ: Innovation & Quality
> www.fastream.com | Email: supp...@fastream.com | Tel:
> +90-312-223-2830 | MSN: g_a...@hotmail.com
> Join IQWF Server Yahoo group at
> http://groups.yahoo.com/group/IQWFServer Join IQ Reverse Proxy Yahoo
> group at http://groups.yahoo.com/group/IQReverseProxy
-- 
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Arno Garrels
Fastream Technologies wrote:
> Hello,
> 
> I fixed this by removing the v6 libs from project file using Notepad.

So not a bug in ICS.

Please note that the THttpServer got an internal timer which iterates
thru the list of clients every 5 seconds to detect timeouts. 
This may be important to know if you use some derived multi-threaded 
component. Also the default timeout is somewhat short.

--
Arno Garrels 


> 
> Regards,
> 
> SZ
> 
> 
> 
> On 5/11/09, Fastream Technologies  wrote:
>> 
>> Also FYI: I have defined in both gui app and package
>> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG
>> . 
>> 
>> The Delphi guys may say why don't you step into the code and debug
>> but BCB2007 does not let me step into Delphi code in C++ projects.
>> 
>> Regards,
>> 
>> Gorkem Ates
>> 
>> 
>>  On 5/11/09, Fastream Technologies  wrote:
>>> 
>>> Hello,
>>> 
>>> I have an upgraded code from v6. The below line:
>>> 
>>> adminHTTPServer = new THttpServer(NULL);
>>> 
>>> causes AV (write of address 0014). Any idea what might have I
>>> done wrong? This is a GUI app but for debugging the service so do
>>> not want to use Forms::Application.
>>> Best Regards,
>>> 
>>> SZ
-- 
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hello,

I fixed this by removing the v6 libs from project file using Notepad.

Regards,

SZ



On 5/11/09, Fastream Technologies  wrote:
>
> Also FYI: I have defined in both gui app and package
> NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG .
>
> The Delphi guys may say why don't you step into the code and debug but
> BCB2007 does not let me step into Delphi code in C++ projects.
>
> Regards,
>
> Gorkem Ates
>
>
>  On 5/11/09, Fastream Technologies  wrote:
>>
>> Hello,
>>
>> I have an upgraded code from v6. The below line:
>>
>> adminHTTPServer = new THttpServer(NULL);
>>
>> causes AV (write of address 0014). Any idea what might have I done
>> wrong? This is a GUI app but for debugging the service so do not want to use
>> Forms::Application.
>> Best Regards,
>>
>> SZ
>>
>
>
>
-- 
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] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Also FYI: I have defined in both gui app and package
NOFORMS;USE_SSL;NO_ADVANCED_USE_OF_HTTP_CLIENT;SECURITY_WIN32;NO_DEBUG_LOG .

The Delphi guys may say why don't you step into the code and debug but
BCB2007 does not let me step into Delphi code in C++ projects.

Regards,

Gorkem Ates


On 5/11/09, Fastream Technologies  wrote:
>
> Hello,
>
> I have an upgraded code from v6. The below line:
>
> adminHTTPServer = new THttpServer(NULL);
>
> causes AV (write of address 0014). Any idea what might have I done
> wrong? This is a GUI app but for debugging the service so do not want to use
> Forms::Application.
> Best Regards,
>
> SZ
>



-- 
Gorkem Ates
Fastream Technologies
Software IQ: Innovation & Quality
www.fastream.com | Email: supp...@fastream.com | Tel: +90-312-223-2830 |
MSN: g_a...@hotmail.com
Join IQWF Server Yahoo group at http://groups.yahoo.com/group/IQWFServer
Join IQ Reverse Proxy Yahoo group at
http://groups.yahoo.com/group/IQReverseProxy
-- 
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


[twsocket] THttpServer under ICSv7 and BCB2007

2009-05-11 Thread Fastream Technologies
Hello,

I have an upgraded code from v6. The below line:

adminHTTPServer = new THttpServer(NULL);

causes AV (write of address 0014). Any idea what might have I done
wrong? This is a GUI app but for debugging the service so do not want to use
Forms::Application.
Best Regards,

SZ
-- 
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