🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: FTPCommand

#15162
From: Boguslaw Fries
Date: Thu, 17 Jul 2003 12:20
26 lines
1730 bytes
U�ytkownik "Boguslaw Fries" <B.Fries@luca-online.de> napisa� w wiadomo�ci
news:3f168bd3$1@newsgroups.borland.com...
> 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" );
>
Autocorrection:

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

then is ok
best regards
Technical Details
Message-ID: <3f169489$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsgate.cistron.nl!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f15bd2f@newsgroups.borland.com> <3f15c6e2$2@newsgroups.borland.com> <3f168bd3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10cc67,92530846b9e5d1bb
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-17 05:40:06 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>
Subject: Re: FTPCommand
Date: Thu, 17 Jul 2003 14:20:21 +0200
Lines: 28
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: <3f169489$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1058444425 217.88.132.144 (17 Jul 2003 05:20:25 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsfeed.online.be!newsgate.cistron.nl!skynet.be!skynet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail