Article View: borland.public.cppbuilder.nativeapi
Article #15159Re: FTPCommand
From: Boguslaw Fries
Date: Thu, 17 Jul 2003 11:43
Date: Thu, 17 Jul 2003 11:43
24 lines
1505 bytes
1505 bytes
Could you like to write me how to accoplish it?
I tried:
typedef BOOL ( *FTPCOMMAND )( HINTERNET, BOOL, DWORD, LPCTSTR, DWORD,
HINTERNET * );
FTPCOMMAND FtpCommand;
HMODULE NtDll;
NtDll = LoadLibrary( "wininet.dll" );
FtpCommand = ( FTPCOMMAND ) GetProcAddress( NtDll, "FtpCommand" );
....
rc = FtpCommand( Hconnection, FALSE, FTP_TRANSFER_TYPE_ASCII,
s_command, NULL, NULL );
And I got an exception
Best Regards
Boguslaw Fries
Technical Details
Message-ID:
<3f168bd3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f15bd2f@newsgroups.borland.com> <3f15c6e2$2@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-17 05:10:03 PST From: "Boguslaw Fries" <B.Fries@luca-online.de> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f15bd2f@newsgroups.borland.com> <3f15c6e2$2@newsgroups.borland.com> Subject: Re: FTPCommand Date: Thu, 17 Jul 2003 13:43:10 +0200 Lines: 26 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.88.132.144 Message-ID: <3f168bd3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058442195 217.88.132.144 (17 Jul 2003 04:43:15 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail