Article View: borland.public.cppbuilder.nativeapi
Article #2718Re: Need to translate to Win API
From: Mike Collins
Date: Mon, 15 Jan 2007 10:50
Date: Mon, 15 Jan 2007 10:50
29 lines
1885 bytes
1885 bytes
not quite as simple a task as simply calling one api. thats why the wrapper vcl's and handly. You can do this with WinINet but theres quite a few calls that you need to make. I have a working live update system for our applicaitons that uses WinINet. if you like, i can provide you with some help / code examples that you my be able to use - msdn is pretty definatly if not a bit cryptic - i started form an article on Dr Bob's. Post back your e-mail if you want more help and i'll send you my details Mike C "Mark" <mn987@nospam.net> wrote in message news:45a14d79$1@newsgroups.borland.com... > > > Hi, > I need to translate this to Win API or WinINet. > > AnsiString URL = "http://awebsite/cgi-bin/writesomething.pl"; > NMHTTP1->OutputFileMode = false; > NMHTTP1->Post(WideString(URL), "name=Name Lastname&number=12345"); > > Memo1->Text = NMHTTP1->Body; > >
Technical Details
Message-ID:
<45ab5c6b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder02.uucp.at!feeder08.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<45a14d79$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8845e0655a7fb471 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Mike Collins" <its@TheBottomOfThePost.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <45a14d79$1@newsgroups.borland.com> Subject: Re: Need to translate to Win API Date: Mon, 15 Jan 2007 10:50:38 -0000 Lines: 31 Organization: SDA Ltd X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.2826 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2826 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 84.13.143.92 Message-ID: <45ab5c6b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168858219 84.13.143.92 (15 Jan 2007 02:50:19 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!feeder06.uucp-net.de!reader.uucp.at!feeder02.uucp.at!feeder08.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail