Article View: borland.public.cppbuilder.nativeapi
Article #10084Re: LPCSTR
From: Ed Mulroy [TeamB]
Date: Thu, 13 May 2004 07:05
Date: Thu, 13 May 2004 07:05
14 lines
1402 bytes
1402 bytes
const char* for LPCSTR char * for LPSTR I don't see a reason to use LPCSTR in Windows code. I use const char *. . Ed > Sten Larsson wrote in message > news:7q66a01vald1j2ckj6ghu88ud9c9rim712@4ax.com... > > Is there any good reason to use LPCSTR rathter than > char*.... I really dislike using Win specific data types > in generic code.
Technical Details
Message-ID:
<40a31e61$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!38.144.126.70.MISMATCH!feed3.newsreader.com!newsreader.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<7q66a01vald1j2ckj6ghu88ud9c9rim712@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,87911e32b3c1490e X-Google-Attributes: gid10cc67,public From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <7q66a01vald1j2ckj6ghu88ud9c9rim712@4ax.com> Subject: Re: LPCSTR Date: Thu, 13 May 2004 03:05:47 -0400 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 24.74.175.102 Message-ID: <40a31e61$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1084431969 24.74.175.102 (13 May 2004 00:06:09 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!38.144.126.70.MISMATCH!feed3.newsreader.com!newsreader.com!border2.nntp.dca.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail