🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

bug of Resource DLL Wizard ??

#690
From: Maxwell Huang
Date: Thu, 19 Dec 2002 09:14
24 lines
2123 bytes
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.

Thank you.
Technical Details
Message-ID: <3E018DFF.3080006@digirose.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

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 01:32:36 PST
Message-ID: <3E018DFF.3080006@digirose.com>
Date: Thu, 19 Dec 2002 17:14:39 +0800
From: Maxwell Huang <maxwell@digirose.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: zh-tw, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internationalization
Subject: bug of Resource DLL Wizard ??
Content-Type: text/plain; charset=Big5
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 61.221.104.152
X-Trace: newsgroups.borland.com 1040289289 61.221.104.152 (19 Dec 2002 01:14:49 -0800)
Lines: 28
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail