🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13495

Re: Problem with Stringlist in service application

#13495
From: Remy Lebeau (TeamB)
Date: Sat, 11 Oct 2003 04:03
14 lines
1457 bytes
"Victor G. Baron" <vgbaron@hotmail.com> wrote in message
news:ppueovg2k6grk500sgq49urri491tltrk7@4ax.com...

> TStringList * inputfile = new  TStringList();

You are assigning the new TStringList instance to a pointer variable that is
local to the constructor only.  If you have declared a TStringList pointer
in the thread's header file, it will never be assigned correctly.  Once you
leave the constructor, you will then be trying to access an unassigned
pointer from that point on.


Gambit
Technical Details
Message-ID: <3f87807f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <ppueovg2k6grk500sgq49urri491tltrk7@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4f6a692a96789751
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-10 21:09:05 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <ppueovg2k6grk500sgq49urri491tltrk7@4ax.com>
Subject: Re: Problem with Stringlist in service application
Date: Fri, 10 Oct 2003 21:03:00 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.137.75
Message-ID: <3f87807f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1065844863 67.22.137.75 (10 Oct 2003 21:01:03 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail