Article View: borland.public.cppbuilder.database.ado
Article #3172Re: E2034 Cannot convert 'char' to'char*'
From: Kim Hellan
Date: Thu, 28 Nov 2002 14:12
Date: Thu, 28 Nov 2002 14:12
21 lines
1376 bytes
1376 bytes
GPS[GPSmarker] is probably a single char
"'" is a string (char*)
try:
if (GPS[GPSmarker]== '\'') {
Kim Hellan
"Gareth Hutchinson" <gbh_2@hotmail.com> wrote in message
news:3de33ae4$1@newsgroups.borland.com...
>
> Does anyone know how to fix the error that i have stated in the Subject
title.
>
> One of the lines that it appears on looks like this.
> if (GPS[GPSmarker]== "'") {
>
>
> Thanks for any help you can provide.
>
>
> Gareth
Technical Details
Message-ID:
<3de62445@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3de33ae4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,cd67f522adbf31d9 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-11-28 06:17:26 PST From: "Kim Hellan" <khe@NOSPAMdksign.dk> Newsgroups: borland.public.cppbuilder.database.ado References: <3de33ae4$1@newsgroups.borland.com> Subject: Re: E2034 Cannot convert 'char' to'char*' Date: Thu, 28 Nov 2002 15:12:21 +0100 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Host: 131.165.63.132 Message-ID: <3de62445@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038492741 131.165.63.132 (28 Nov 2002 06:12:21 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail