🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: RAS API A & W

#10554
From: Bob Gonder
Date: Sun, 04 Apr 2004 22:02
13 lines
1502 bytes
Babak wrote:

>Hi , when I'm Looking in RASAPI32.dll I can see there is API kind of type A
>and Type W
>Can anyone tell me what is different :-?

The A type uses normal single byte char arrays for the parameters.
The W type uses WideChar arrays for parameters.

When coding, you normally use the function name without the A or W,
and allow the compiler to choose which version to call.  The header
file actually does the choosing/renaming depending on if you are
compiling with regular or wide as the default char size.
Technical Details
Message-ID: <881170t6i28i7agvc7oa026rfehbb00271@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <407068ff@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,72d9a3d8f889f971
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-04 15:09:31 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: RAS API A & W
Date: Sun, 04 Apr 2004 15:02:33 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <881170t6i28i7agvc7oa026rfehbb00271@4ax.com>
References: <407068ff@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: 4.228.222.197
X-Trace: newsgroups.borland.com 1081116155 4.228.222.197 (4 Apr 2004 15:02:35 -0800)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail