🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #311

use NMHTTP in console application

#311
From: Wulf Döring
Date: Sat, 03 Mar 2007 11:46
16 lines
1708 bytes
Hello,
I want to use the NMHTTP component in a pure console application, 
because I don't need any GUI.
How can this be done?
Simply include vcl.h and the http related header files seems not be 
sufficient.

How can I make an instance from the TNMHTTP class?
When using the GUI environment, the main form class definition contains 
just a pointer to TNMHTTP, but something like TNMHTTP* myinstance = new 
TNMHTTP(); isn't visible in the source code.

Does somebody knows a guidance how to use c++ builder components in 
console applications?

Wulf
Technical Details
Message-ID: <esbn2c$o3g$1@online.de>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,d682c672ae11e69b,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail
From: Wulf Döring <wulf.doering-remove-@t-online.de>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: use NMHTTP in console application
Date: Sat, 03 Mar 2007 12:46:36 +0100
Organization: 1&1 Internet AG
Lines: 17
Message-ID: <esbn2c$o3g$1@online.de>
NNTP-Posting-Host: p5b041507.dip0.t-ipconnect.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: online.de 1172922252 24688 91.4.21.7 (3 Mar 2007 11:44:12 GMT)
X-Complaints-To: abuse@einsundeins.com
NNTP-Posting-Date: Sat, 3 Mar 2007 11:44:12 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Win98; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)
X-Accept-Language: de-de, de