Article View: borland.public.cppbuilder.upgrade
Article #498Re: Cannot convert 'std::_Vector_iterator<unsigned char,std::allocator<unsignedchar> >' to 'unsigned char *' ?
From: Bruce
Date: Fri, 17 Feb 2006 01:46
Date: Fri, 17 Feb 2006 01:46
31 lines
1646 bytes
1646 bytes
Bruce wrote: > Ok, > How about this one? > > I'm geting this error: > > Cannot convert 'std::_Vector_iterator<unsigned > char,std::allocator<unsigned char> >' to 'unsigned char *' > > AND it won't let me cast it? > > It compiled and ran file under BCB6.0 but won't compile under 2006. > > Thanks again... > > Bruce > Ok I figured this out... I needed to dereference the pointer.. I wonder how come it compiled before? (I should probably investigate... B) Thanks again guys... Bruce
Technical Details
Message-ID:
<43f529c4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43f5213b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,6479e61947bbbd78 X-Google-Attributes: gid10529a,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 16 Feb 2006 17:46:23 -0800 From: Bruce <bruce_l@westbrookent.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.upgrade Subject: Re: Cannot convert 'std::_Vector_iterator<unsigned char,std::allocator<unsignedchar> >' to 'unsigned char *' ? References: <43f5213b$1@newsgroups.borland.com> In-Reply-To: <43f5213b$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 64.13.14.221 Message-ID: <43f529c4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1140140484 64.13.14.221 (16 Feb 2006 17:41:24 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail