🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #247195

TList i problem z danymi

#247195
From: Tomasz Littau
Date: Sat, 30 Sep 2006 20:44
26 lines
1626 bytes
Mam funkcje porownujaca dwie listy TList

pRec1 = new STRUCTPROCESS;
pRec2 = new STRUCTPROCESS;


for( i=0; i < DynOldList->Count; i++ )
	{
	pRec1 = (STRUCTPROCESS*)DynNewList->Items[ i ];
         pRec2 = (STRUCTPROCESS*)DynOldList->Items[ i ];

tu pojawia sie problem poniewaz pRec1->cProcName zawiera nazwe procesu 
natomiast pRec2->cProcName zawiera jakies bzdury. Lista na pewno jest 
dobra bo jak np zamienie i jako pierwsza odczytam liste DynOldList a 
jako druga DynNewList to bzdury sa z DynNewList. Mam wrazenie ze cos sie 
miesza z adresami i wsazuja nie to co trzeba tylko dlaczego.


-- 
_____________________________

tlen: lemkat
   gg: 4891654

http:///www.lemkat.soft-pc.pl
_____________________________
Technical Details
Message-ID: <efml3v$16j$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Tomasz Littau <lemkat@eranet.pl>
Newsgroups: pl.comp.lang.c
Subject: TList i problem z danymi
Date: Sat, 30 Sep 2006 22:44:02 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 26
Message-ID: <efml3v$16j$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: cax59.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1159649216 1235 83.30.95.59 (30 Sep 2006 20:46:56 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sat, 30 Sep 2006 20:46:56 +0000 (UTC)
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
X-Antivirus: avast! (VPS 0639-4, 29-09-2006), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit