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 <ma...@firestreamww.com> 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 <arno.garr...@gmx.de> 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 <arno.garr...@gmx.de> 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 <ga...@fastream.com> wrote: > > >>>> > > >>>> Hello, > > >>>> > > >>>> I have an upgraded code from v6. The below line: > > >>>> > > >>>> adminHTTPServer = new THttpServer(NULL); > > >>>> > > >>>> causes AV (write of address 00000014). 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