πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: use NMHTTP in console application

#312
From: Remy Lebeau (TeamB)
Date: Sat, 03 Mar 2007 21:15
23 lines
1613 bytes
"Wulf DοΏ½ring" <wulf.doering-remove-@t-online.de> wrote in message
news:esbn2c$o3g$1@online.de...

> How can I make an instance from the TNMHTTP class?

The same way you instantiate an instance of any other class
dynamically - via the 'new' operator, ie:

    TNMHTTP *http = new TNMHTTP(NULL);
    //...
    delete http;

> 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.

That is because the DFM streaming system handles the creation at
runtime and then assigns the pointer afterwards.


Gambit
Technical Details
Message-ID: <45e9e599$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <esbn2c$o3g$1@online.de>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,d682c672ae11e69b
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <esbn2c$o3g$1@online.de>
Subject: Re: use NMHTTP in console application
Date: Sat, 3 Mar 2007 13:15:56 -0800
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.34.171
Message-ID: <45e9e599$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172956569 75.83.34.171 (3 Mar 2007 13:16:09 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!208.48.142.85!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail