Article View: borland.public.cppbuilder.internet.socket
Article #1808Re: WSADATA and BCB4 Windows app
From: DeKayA
Date: Mon, 30 Oct 2006 13:37
Date: Mon, 30 Oct 2006 13:37
24 lines
1373 bytes
1373 bytes
>Did not include winsock.h?
Yea I deserved that.
Since I don't think its possible to look any more stupid...
Why was it not required in the console app? A couple of messages
back. Did this somehow load it?
hIcmp = LoadLibrary( "ICMP.DLL" );
Where is the default destructor?
When I add this is says it has already been defined.
I can't seem to locate it, looked in header.
__fastcall TForm1::~TForm1()
{
if( WasInitialized )
WSACleanup();
}
Is it onclose()?
Thanks
Technical Details
Message-ID:
<4546ff52.90268529@forums.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45467532.54908193@forums.borland.com> <45457d21$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,de49e8cdd75df900 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: DeKayA@bellsouth.net Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: WSADATA and BCB4 Windows app Date: Mon, 30 Oct 2006 13:37:30 GMT Message-ID: <4546ff52.90268529@forums.borland.com> References: <45467532.54908193@forums.borland.com> <45457d21$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.5/32.452 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 72.153.143.202 X-Trace: newsgroups.borland.com 1162215525 72.153.143.202 (30 Oct 2006 05:38:45 -0700) Lines: 27 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail