🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #14

Re: Winforms Control Import Wizard

#14
From: Mohamed Koker
Date: Mon, 18 Sep 2006 16:57
51 lines
2707 bytes
Arie Zilberstein wrote:
> Hi,
> 
> While I don't think I've encountered this specific error before, I can say 
> that the wizard is pretty flaky. I usually wrap the WinForms UserControl 
> with another, simpler UserControl, and apply the wizard on it.
> 
> Regards,
> Arie
> 
> "Mohamed Koker" <Mohamed.Koker@ge.com> wrote in message 
> news:450d476d@newsgroups.borland.com...
>> Hi Folks,
>>
>> I keep getting a Error in module: Module header is missing or incorrect 
>> when I try to open the project produced by the above.
>>
>> Any ideas why this is happening?
>>
>> Cheers
>>
>> -Mohamed 
> 
> 
Hi Arie,

This is both an intriguing and interesting approach that would never 
have occurred to me.

The particular problem I am experiencing occurs because the assembly 
containing the control (from DevExpress), ends in a number.

For some reason, this conflicts with Delphi.NET's rules for namespaces 
and it doesn't appear to have an easy way to reconcile clashes of this 
nature. I think the most elegant solution would be to extend the syntax 
of the requires clause so that it allowed you to define an "alias" for 
the offending assembly.

I am going to suggest this once I review the rules for namespaces.

I keep thinking that if someone could come up with an easier way to host 
  Winform Controls on VCL forms, they would really clean up.

The closest thing I have seen to this is the TCLRUserControl in the 
Managed-VCL product but it only supports the WIN32 personality and the 
author has no interest in making it work for VCL.NET which is 
essentially a competitor product.

Cheers

-Mohamed
Technical Details
Message-ID: <450ed004$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!tethys.csu.net!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <450d476d@newsgroups.borland.com> <450e8a78@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,83f33d551e1c845
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 18 Sep 2006 22:27:00 +0530
From: Mohamed Koker <Mohamed.Koker@ge.com>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.winforms.controls.using
Subject: Re: Winforms Control Import Wizard
References: <450d476d@newsgroups.borland.com> <450e8a78@newsgroups.borland.com>
In-Reply-To: <450e8a78@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 59.163.122.35
Message-ID: <450ed004$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1158598660 59.163.122.35 (18 Sep 2006 09:57:40 -0700)
Lines: 51
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!tethys.csu.net!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail