🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: bug of Resource DLL Wizard ??

#697
From: Craig Farrell
Date: Mon, 23 Dec 2002 23:34
25 lines
1708 bytes
Hi,


> But Frame3 is a frame, NOT a form.

> 7. Run program, and click the button, then "Project1.exe" raised
> a exception "Property does not exist" when it new Frame3.

I don't know about the Resource DLL Wizard but in general
a 'property does not exist' error or Datamodules being
displayed as Form instead of DM can be due to the PACKAGE
modifier on multiple levels of inheritence. To 
workaround that problem use forward declarations:

change...
class PACKAGE TBaseDM2: public TBaseDM

to...
class PACKAGE TBaseDM2; //forward declaration
class TBaseDM2: public TBaseDM

The modifiers seem to throw off the object streaming
mechanism.

--Craig
Technical Details
Message-ID: <3E079D71.1B2CD5C0@insprise.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!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-23 15:39:43 PST
Message-ID: <3E079D71.1B2CD5C0@insprise.com>
Date: Mon, 23 Dec 2002 15:34:09 -0800
From: Craig Farrell <cNO_SPAM.please.farrell@insprise.com>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Re: bug of Resource DLL Wizard ??
References: <3E018DFF.3080006@digirose.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 10.143.15.102
X-Trace: newsgroups.borland.com 1040686449 10.143.15.102 (23 Dec 2002 15:34:09 -0800)
Lines: 25
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news.stealth.net!news.stealth.net!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail