🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1798

Re: console ping example

#1798
From: DeKayA
Date: Sun, 29 Oct 2006 13:30
26 lines
1545 bytes


>Replace the HANDLE hIcmp;
>par :
>HINSTANCE hIcmp;
>LoadLibrary() returns a HINSTANCE not a HANDLE.

It's truest like christmas
Thanks so much for your time.

I made the changes you recommended and looked up the functions to try
to understand the corrections.  

It got rid of all the errors but one linker error.
I can't tell you where the error is, because it doesn't tell me in a
way I can understand.

The error is [Linker Error]Unresolved external'_main' referenced from
C:\BCB4\LIB\C0X32.OBJ

I found C0X32.OBJ in bcb4\lib 
but where and how do I reference it in the code?

Thanks
You have been a tremendous help.
Technical Details
Message-ID: <4544a862.2476000@forums.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45440dc2.34466740@forums.borland.com> <4544818b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,31ea45a742d03588
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: DeKayA@bellsouth.net
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: console ping example
Date: Sun, 29 Oct 2006 13:30:30 GMT
Message-ID: <4544a862.2476000@forums.borland.com>
References: <45440dc2.34466740@forums.borland.com> <4544818b$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 1162128701 72.153.143.202 (29 Oct 2006 05:31:41 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail