Article View: borland.public.cppbuilder.migration
Article #126C++ Builer 2007 problem
From: Michael Corby
Date: Wed, 02 Jul 2008 17:37
Date: Wed, 02 Jul 2008 17:37
25 lines
1673 bytes
1673 bytes
Hello
The line below compiles ok in BDS 2006 under Windows XP.
However in C++ Builder 2007 under Vista is it shown as a linker error.
static_cast<TDBEdit*>(fName->Components[n])->ReadOnly = false;
[ILINK32 Error] Error: Unresolved external '__fastcall
Dbctrls::TDBEdit::SetReadOnly(bool)'
referenced from C:\USERS\PUBLIC\DOCUMENTS\RAD
STUDIO\PROJECTS\DLLFILES\DEBUG_BUILD\DLLFORM.OBJ
Associated lines as follows:-
void __declspec(dllexport) EnabledTrueReadOnlyFalse(TForm *fName)
{
int compCount = fName->ComponentCount;
for (int n=0; n<compCount; n++)
}
Help required please.
Michael Corby
Technical Details
Message-ID:
<486bbcd3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.85.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 110f51,fb2c2c2025b1b3f9,start X-Google-Attributes: gid110f51,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Michael Corby" <mcorby@indigo.ie> Newsgroups: borland.public.cppbuilder.migration Subject: C++ Builer 2007 problem Date: Wed, 2 Jul 2008 18:37:23 +0100 Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18000 NNTP-Posting-Host: 83.71.27.111 Message-ID: <486bbcd3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1215020243 83.71.27.111 (2 Jul 2008 10:37:23 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.85.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail