🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8633

Re: RAS Sample Source Needed

#8633
From: Bob Gonder
Date: Thu, 30 Sep 2004 19:26
13 lines
1388 bytes
Pedram wrote:

>    char buffer[100];
>    RASDIALPARAMS params;
>    bool password;

How big is password on your compiler? One or 4 bytes?
Windows expects a 4 byte value ( a BOOL, not a bool)
If password is only one byte, then you could be overwritting params
with it.

>        error = RasGetEntryDialParams(NULL, &params,
>            (LPBOOL)&password);
Technical Details
Message-ID: <t6mol0lip07tfj1a9c46uh61duttldgcju@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <415b0fd9@newsgroups.borland.com> <415b1538@newsgroups.borland.com> <415bf638@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,98b2d4516f3e209b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: RAS Sample Source Needed
Date: Thu, 30 Sep 2004 12:26:57 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <t6mol0lip07tfj1a9c46uh61duttldgcju@4ax.com>
References: <415b0fd9@newsgroups.borland.com> <415b1538@newsgroups.borland.com> <415bf638@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.91.48
X-Trace: newsgroups.borland.com 1096572415 69.69.91.48 (30 Sep 2004 12:26:55 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail