🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Encrypting/Decrypting stringlist

#8129
From: roger
Date: Tue, 23 Nov 2004 20:40
23 lines
2101 bytes
thanks i will try breaking it down...

"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:ca77q0lfjuvgusulur55l0e64bqo6v9q7m@4ax.com...
> roger wrote:
>
> >I am using the simple loadfromfile and savetofile... is this not
suitable.?
>
> I haven't a clue.
> But if I were in your place, I'd find out very quickly by placing a
> breakpoint immediately after LoadFromFile(), and checking that the
> string is as expected.  If it is short, then, no, it isn't suitable.
> If it is always the correct length, then the problem lays further on
> in your code.
> If the Load length is correct, then verify in subsequent steps, that
> the correct length is passed to the decoder.
>
> That is basic debugging. Verify at each step, that the data is
> correct. When the data is incorrect, backtrack until it is correct,
> then see why the next step corrupts it.
>
>
Technical Details
Message-ID: <41a3a037$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41a37ce2$1@newsgroups.borland.com> <41a385b5$1@newsgroups.borland.com> <41a3907d@newsgroups.borland.com> <41a3917d$1@newsgroups.borland.com> <41a39362$1@newsgroups.borland.com> <v557q0d2d44dd2ada0vrtv3mslvlpbffue@4ax.com> <41a39764$1@newsgroups.borland.com> <ca77q0lfjuvgusulur55l0e64bqo6v9q7m@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8141b40d2daa221d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "roger" <rogersmail@ntlworld.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41a37ce2$1@newsgroups.borland.com> <41a385b5$1@newsgroups.borland.com> <41a3907d@newsgroups.borland.com> <41a3917d$1@newsgroups.borland.com> <41a39362$1@newsgroups.borland.com> <v557q0d2d44dd2ada0vrtv3mslvlpbffue@4ax.com> <41a39764$1@newsgroups.borland.com> <ca77q0lfjuvgusulur55l0e64bqo6v9q7m@4ax.com>
Subject: Re: Encrypting/Decrypting stringlist
Date: Tue, 23 Nov 2004 20:40:42 -0000
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300
NNTP-Posting-Host: 81.103.69.122
Message-ID: <41a3a037$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101242423 81.103.69.122 (23 Nov 2004 12:40:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail