Article View: borland.public.cppbuilder.internet.socket
Article #930Re: Attachment missing from email
From: Royce
Date: Fri, 07 Sep 2007 18:45
Date: Fri, 07 Sep 2007 18:45
25 lines
1737 bytes
1737 bytes
"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"Royce" <rfessenden@dmp.com> wrote in message
>news:46e06fc0$1@newsgroups.borland.com...
>
>> Now I'm getting an Access violation at the line:
>> txt->Body->Add("With attachment.");
>>
>> Body appears to be NULL
>
>It cannot be. TIdText's constructor instantiates it.
>
>> though the debug shows a valid address for the ->Add() method.
>
>That doesn't mean anything.
>
>
>Gambit
>
>
I didn't think it would be of much use, but then I'm not a Builder or C++ guru by any means. At any rate, the original code compiled and ran, but did not give the desired result. The modified code fails at run time, and anything I try that does not give the runtime error gives the same result as the original code.
Is there any other information I might be able to provide that might help?
Technical Details
Message-ID:
<46e19c52$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46e03084$1@newsgroups.borland.com> <46e044e4$1@newsgroups.borland.com> <46e06fc0$1@newsgroups.borland.com> <46e071bf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,57b1f9f1187ccd3f X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Royce" <rfessenden@dmp.com> Sender: "Royce" <rfessenden@dmp.com> Reply-To: "Royce" <rfessenden@dmp.com> Subject: Re: Attachment missing from email Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 209.248.148.58 References: <46e03084$1@newsgroups.borland.com> <46e044e4$1@newsgroups.borland.com> <46e06fc0$1@newsgroups.borland.com> <46e071bf$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <46e19c52$1@newsgroups.borland.com> Date: 7 Sep 2007 11:45:38 -0700 X-Trace: newsgroups.borland.com 1189190738 207.105.83.66 (7 Sep 2007 11:45:38 -0700) Lines: 25 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail