Article View: borland.public.cppbuilder.nativeapi
Article #13510Re: internet disconnecting
From: Remy Lebeau (TeamB)
Date: Sat, 11 Oct 2003 09:27
Date: Sat, 11 Oct 2003 09:27
29 lines
1694 bytes
1694 bytes
"Borut Sustar" <borut@bokosoft.si> wrote in message
news:3f87c55e@newsgroups.borland.com...
> Ihave problems with compiling this code. I got errors like
> "Undefined symbol RASCONN;
> undefined symbol Ras....
You have to add the RAS header file:
#include <ras.h>
Also note that there is a known problem with the RAS header files. If you
start getting "invalid buffer size" error when calling the Ras functions,
then you will have to do the following workaround when including the RAS
headers:
#define OLDWINVER WINVER
#undef WINVER
#define WINVER 0x400
#include <ras.h>
// include any other RAS headers needed
#undef WINVER
#define WINVER OLDWINVER
#undef OLDWINVER
Gambit
Technical Details
Message-ID:
<3f87cc93$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f8277f3@newsgroups.borland.com> <3f874bfa@newsgroups.borland.com> <3f87c55e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,7304f86cf24c30a3 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-11 02:39:01 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f8277f3@newsgroups.borland.com> <3f874bfa@newsgroups.borland.com> <3f87c55e@newsgroups.borland.com> Subject: Re: internet disconnecting Date: Sat, 11 Oct 2003 02:27:36 -0700 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.75 Message-ID: <3f87cc93$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065864339 67.22.137.75 (11 Oct 2003 02:25:39 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail