🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #692

Re: bug of Resource DLL Wizard ??

#692
From: Oliver Rutsch
Date: Thu, 19 Dec 2002 14:17
48 lines
3429 bytes
Hi Maxwell,
> Is it a bug ?
> 
> When I create a new resource DLL, something wrong.
> My steps :
> 1. Create a project, a main form(Form1) and a frame(Frame2).
> 2. Create a frame(Frame3) inherited from Frame2.
> 3. Save all project files and compile.
> 4. Create a resource DLL by wizard.
> 5. When I open the project source file(Project*.cpp) located in the
> sub directory of your project directory, the wizard generate lines
> above. But Frame3 is a frame, NOT a form.
> 
> USEFORMRES("Unit1.dfm", Form1, Form); /* TForm: DesignClass */
> USEFORMRES("Unit2.dfm", Frame2, Frame); /* TFrame: DesignClass */
> USEFORMRES("Unit3.dfm", Frame3, Form); /* Frame2: DesignClass */
> 
> 6. Edit something on Frame2, and compile the resource DLL.
> 7. Drag a button on Form1, and new Frame3 when user click.
> 7. Run program, and click the button, then "Project1.exe" raised
> a exception "Property does not exist" when it new Frame3.
> 8. If I rename "Form" to "Frame" manually, and reload prject again,
> everything work.
> 

<Valid for C++Builder 5 Ent.>
The ITE has serious problems with inherited forms (inherited by IDE, not
general with c++ inheritance). I found that translations on inherited
forms are easily destroyed (and some other strange things) by various
actions. This bug was confirmed by borland (long before quality central
was online), but they don't care about and in CPPB6 it looks like the
ITE is totally broken (as I read here and in QC, I don't have CPPB6).
Maybe your error hits the same problem.
After two years working with the ITE I couldn't recommend it at all. It
has too many bugs and it is sometimes very dangerous to use. For example
there's no control, if the resource dll fits to your code. Nevertheless
it will compile, but your program with the language dll will show some
AV's and other strange things although your code is OK.
I would try a different tool like the TsiLang components.
It looks like internationalisation is not a big subject to borland or to
most of the users (low traffic here).

Bye,

-- 
Dipl. Ing. Oliver Rutsch
EMail: orutsch at sympatec.com
Sympatec GmbH Germany
Technical Details
Message-ID: <1040307493.42494@post.sympatec.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!telocity-west!DIRECTV!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3E018DFF.3080006@digirose.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10297d,87cd18dd9eb79ff2
X-Google-Attributes: gid10297d,public
X-Google-ArrivalTime: 2002-12-19 06:24:52 PST
Date: Thu, 19 Dec 2002 15:17:20 +0100
From: Oliver Rutsch <nospam@sympatec.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: de, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: bug of Resource DLL Wizard ??
References: <3E018DFF.3080006@digirose.com>
In-Reply-To: <3E018DFF.3080006@digirose.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <1040307493.42494@post.sympatec.net>
Cache-Post-Path: post.sympatec.net!unknown@rutsch2.tksympatec
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
NNTP-Posting-Host: 217.6.163.138
X-Trace: newsgroups.borland.com 1040307493 217.6.163.138 (19 Dec 2002 06:18:13 -0800)
Lines: 49
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!telocity-west!DIRECTV!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail