Thread View: borland.public.delphi.winforms.controls.using
4 messages
4 total messages
Started by Mohamed Koker
Sun, 17 Sep 2006 13:02
Winforms Control Import Wizard
Author: Mohamed Koker
Date: Sun, 17 Sep 2006 13:02
Date: Sun, 17 Sep 2006 13:02
10 lines
1006 bytes
1006 bytes
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
Re: Winforms Control Import Wizard
Author: Arie Zilberstein
Date: Mon, 18 Sep 2006 12:00
Date: Mon, 18 Sep 2006 12:00
21 lines
1427 bytes
1427 bytes
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
Re: Winforms Control Import Wizard
Author: Mohamed Koker
Date: Mon, 18 Sep 2006 16:57
Date: Mon, 18 Sep 2006 16:57
51 lines
2707 bytes
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
Re: Winforms Control Import Wizard
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads