🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #191

Delphi 2 and WideStrings

#191
From: Uke Pete
Date: Mon, 29 Mar 2004 18:33
22 lines
1837 bytes
I've inheritted a project that was built in Delphi 2.  I'm not being
given time or money (at this time) to upgrade to another version of
Delphi.  So, I'm making due.  So even though that's an obvious
solution to my problem, it won't help.  So, can you give me some other
ideas? :

I'm trying to simply declare a WideString variable in D2.  Every time
I compile the code I get an error: "Undeclared identifier:
'WideString'.".  This is a component I downloaded to do some Win API
work, so it needs WideStrings to handle the UniCode I'm guessing.

Are WideStrings usable in D2?  I've seen some old posts/suggestions,
referring to the use of WideString in D2, but I can't find WideString
in any of the HELP files only WideChar.  Do I need to include some
file in my USES statement to get WideStrings in D2?

Is there an alternative?  I tried replacing the WideStrings with
AnsiString.  The code compiled fine that way, but doesn't function
correctly when it gets down to one of the AnsiStrings.

thanks for any help.
-pete
Technical Details
Message-ID: <ce43afe9.0403291033.482b3b77@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews2.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,906f1ab7ac031ba,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-03-29 10:33:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews2.google.com!not-for-mail
From: uke_pete@yahoo.com (Uke Pete)
Newsgroups: borland.public.delphi.nativeapi
Subject: Delphi 2 and WideStrings
Date: 29 Mar 2004 10:33:05 -0800
Organization: http://groups.google.com
Lines: 22
Message-ID: <ce43afe9.0403291033.482b3b77@posting.google.com>
NNTP-Posting-Host: 65.205.28.101
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1080585186 8254 127.0.0.1 (29 Mar 2004 18:33:06 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 29 Mar 2004 18:33:06 +0000 (UTC)