Article View: borland.public.delphi.winforms.controls.using
Article #15Re: Winforms Control Import Wizard
From: Arie Zilberstein
Date: Wed, 27 Sep 2006 13:28
Date: Wed, 27 Sep 2006 13:28
65 lines
3191 bytes
3191 bytes
Hi, Yes, I've had this problem too with DevExpress controls that end with .1.dll. A workaround (that I don't remember if worked or not) is to simply rename the files and work normally with the renamed DLLs in the IDE. At run-time, both the renamed and the original DLL must exist, to satisfy the strong-name assembly binding logic. Regards, Arie "Mohamed Koker" <Mohamed.Koker@ge.com> wrote in message news:450ed004$1@newsgroups.borland.com... > 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:
<451a7c96$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<450d476d@newsgroups.borland.com> <450e8a78@newsgroups.borland.com> <450ed004$1@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 From: "Arie Zilberstein" <azilberstein@mercury.com> Newsgroups: borland.public.delphi.winforms.controls.using References: <450d476d@newsgroups.borland.com> <450e8a78@newsgroups.borland.com> <450ed004$1@newsgroups.borland.com> Subject: Re: Winforms Control Import Wizard Date: Wed, 27 Sep 2006 16:28:53 +0300 Lines: 67 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 192.118.45.2 Message-ID: <451a7c96$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1159363734 192.118.45.2 (27 Sep 2006 06:28:54 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail