🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16908

Re: visual c to bcb

#16908
From: user
Date: Sun, 20 Apr 2003 12:57
14 lines
1499 bytes
Terry wrote:
> Hos do i use this in bcb?
> 
> PtrArray &arrValues
> 
> i get [C++ Error] Unit1.h(30): E2303 Type name expected
> 
> 
The compiler is telling you that it doesn't know of any type named
PtrArray [CPtrArray]. That's because CPtrArray is an MFC class, not 
readily available in BCB. I think it's possible to patch MFC to be 
compilable by BCB, but I've never tried it. Alternatives would be to 
write your own compatible CPtrArray class or modify the code to use a 
different container, such as an STL vector.
Technical Details
Message-ID: <3EA29929.1020409@domain.invalid>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ea1d3d0$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9f0320eb7adf3b89
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-20 06:01:41 PST
Message-ID: <3EA29929.1020409@domain.invalid>
Date: Sun, 20 Apr 2003 08:57:13 -0400
From:  user@domain.invalid
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: visual c to bcb
References: <3ea1d3d0$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 151.201.18.183
X-Trace: newsgroups.borland.com 1050843453 151.201.18.183 (20 Apr 2003 05:57:33 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail