🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Mark Sun, 07 Jan 2007 19:43
Need to translate to Win API
#2694
Author: Mark
Date: Sun, 07 Jan 2007 19:43
10 lines
1051 bytes

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;
Re: Need to translate to Win API
#2718
Author: Mike Collins
Date: Mon, 15 Jan 2007 10:50
29 lines
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;
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads