🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1626

Use of AnsiString Functions

#1626
From: Scott
Date: Wed, 09 Jun 2004 20:29
19 lines
1664 bytes
Good Afternoon!

I am having trouble using the following AnsiString function in a program.
The program needs to take input from an input box (by default the type is
AnsiString), and then somehow convert this to an integer.

int __fastcall ToInt() const;

I have included the necessary header files but the linker tells me the
function is not defined even though I can trace it to the header file
definition.

Perhaps I am just using the function wrong.  If anyone could give me a hint
as to what I'm doing wrong it would be most helpful.  I'd also greatly
appreciate any alternate methods of converting AnsiString Types to Ints, or
how to change Edit boxes to return data as type "int".

Thanks!
Scott
Technical Details
Message-ID: <40c77309$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e7d2b3b3ff7cb04b,start
X-Google-Attributes: gid10698b,public
Reply-To: "Scott" <the1scot@aol.com>
From: "Scott" <the1scot@aol.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Use of AnsiString Functions
Date: Wed, 9 Jun 2004 16:29:02 -0400
Keywords: AnsiString, ToInt
Lines: 21
Organization: Boston University
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: 128.197.177.182
Message-ID: <40c77309$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086812937 128.197.177.182 (9 Jun 2004 13:28:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail