Article View: borland.public.cppbuilder.internet.socket
Article #992Re: Assertion Failure when sending email with attachment
From: JLoz
Date: Thu, 21 Jun 2007 18:31
Date: Thu, 21 Jun 2007 18:31
55 lines
3315 bytes
3315 bytes
Thanks again. The problem is that I never got it to compile with the debug as the Zlib.pas file makes the compiler crash and the only way I got it to work was to disable debug (this by creating the bpk files manually using the IDE). If you could help me determine why the following lines fail in the FULLC5.bat file that I got by modifying FULLC6.bat, I would probably be able to make it work and probably send the new FULLC5.bat to share with other people. I am using the latest snapshot by the way (Version 10.1.6 I think) dcc32.exe IndyProtocols50.dpk /O..\Lib\Protocols\objs /DBCB /M /H /W /JPHN /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4 dcc32.exe IndyProtocols50.dpk /O..\Lib\Protocols\objs /DBCB /M /H /W /N. /U. -$d-l-n+p+r-s-t-w-y- %2 %3 %4 The first line fails and then by ignoring the error I get the other one to run and it seems to work. However, since I am not familiar with the command line parameters for dcc32.exe I am not exactly sure the differences. You might remember my previous post where I had compiler errors due to some structures in the API header that are not available for BCB5. Well, I commented out those lines in Winsock2.hpp and gave it a try since I do not have any choice being stated that Indy10 will probably not be tested in BCB5 in a long time, if at all. If at least I could compile it without issues it would be great. Thanks for your patience, JLoz "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:467abdaf@newsgroups.borland.com... > > "JLoz" <jfsierra@excite.com> wrote in message > news:467ab52b@newsgroups.borland.com... > >> Thanks for the suggestion. However, I am not exactly sure how >> I could track down the faulty call since I would not be able to >> step into any pascal unit. > > You could recompile Indy with debug enabled. Then you could step > through it. > >> I tried going into the IdAttachmentFile.pas file and see the >> constructor but it is not clear to me where it goes. > > This is not a constructor issue. > > > Gambit > >
Technical Details
Message-ID:
<467ac3ff$2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4679c15b$2@newsgroups.borland.com> <4679fa58$1@newsgroups.borland.com> <467a6b66$1@newsgroups.borland.com> <467ab2f7$1@newsgroups.borland.com> <467ab52b@newsgroups.borland.com> <467abdaf@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3c4c62cd0a13406d X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "JLoz" <jfsierra@excite.com> From: "JLoz" <jfsierra@excite.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <4679c15b$2@newsgroups.borland.com> <4679fa58$1@newsgroups.borland.com> <467a6b66$1@newsgroups.borland.com> <467ab2f7$1@newsgroups.borland.com> <467ab52b@newsgroups.borland.com> <467abdaf@newsgroups.borland.com> Subject: Re: Assertion Failure when sending email with attachment Date: Thu, 21 Jun 2007 14:31:29 -0400 Lines: 57 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 63.163.143.187 Message-ID: <467ac3ff$2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1182450687 63.163.143.187 (21 Jun 2007 11:31:27 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail