🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: FTPCommand

#15094
From: Boguslaw Fries
Date: Sun, 20 Jul 2003 15:01
21 lines
1588 bytes
Thanks a lot Remy Lebeau,

I made two error

1.     dwBytesRead = 2048; // I did not set it
    rc = InternetGetLastResponseInfo(& drc, buff, &dwBytesRead );

2. More serious :

#ifdef UNICODE
    FtpCommand = ( FTPCOMMAND ) GetProcAddress( NtDll, "FtpCommandW" );  //
was FtpCommandA
#else
    FtpCommand = ( FTPCOMMAND ) GetProcAddress( NtDll, "FtpCommandA" );   //
was FtpCommandW
#endif
/*

Best regards

Boguslaw Fries
Technical Details
Message-ID: <3f1aaeb3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f15bd2f@newsgroups.borland.com> <3f15c6e2$2@newsgroups.borland.com> <3f168bd3$1@newsgroups.borland.com> <3f16d299$2@newsgroups.borland.com> <3f197694$1@newsgroups.borland.com> <3f19bd24$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,92530846b9e5d1bb
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-20 08:02:21 PST
From: "Boguslaw Fries" <B.Fries@luca-online.de>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f15bd2f@newsgroups.borland.com> <3f15c6e2$2@newsgroups.borland.com> <3f168bd3$1@newsgroups.borland.com> <3f16d299$2@newsgroups.borland.com> <3f197694$1@newsgroups.borland.com> <3f19bd24$1@newsgroups.borland.com>
Subject: Re: FTPCommand
Date: Sun, 20 Jul 2003 17:01:01 +0200
Lines: 23
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: 217.225.46.34
Message-ID: <3f1aaeb3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058713267 217.225.46.34 (20 Jul 2003 08:01:07 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail