🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Newb question

#3200
From: Vassiliev V.V.
Date: Thu, 05 Dec 2002 11:52
35 lines
2059 bytes
Try use Answer->Text = &Minutes[0]; or Answet->Text =
AnsiString(&Minutes[0]); but in BCB6 your code works.

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (LCPI provider) databases.


"Richard" <rich@beddington.fsnet.co.uk> �������/�������� � ��������
���������: news:3def3946$1@newsgroups.borland.com...
>
> [C++ Error] ConvertGPS.cpp(82): E2288 Pointer to structure required on
left side of -> or ->*
>
> That is the error i am recieving in reference to the following line of
code.
>
>     Answer->Text = Minutes;
>
> Answer is a simple Text box
>
> Minutes is a char declared the following way
>
>   char Minutes[8];
>
> Could anyone please suggest how to fix this problem please, ive just
started c++ recently and am not quite familare with fixing some errors (just
good at making them hehe)
>
> Thanks
>
> Richard
Technical Details
Message-ID: <3def3eee@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3def3946$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,4f40292b6866945b
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-12-05 04:08:54 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3def3946$1@newsgroups.borland.com>
Subject: Re: Newb question
Date: Thu, 5 Dec 2002 14:52:05 +0300
Lines: 37
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 212.188.100.183
Message-ID: <3def3eee@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1039089390 212.188.100.183 (5 Dec 2002 03:56:30 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail