Re: Windows Forms app in Win32
- From: "Tim Mackey" <tim.mackey@xxxxxxxxxxxxxxxx>
- Date: Wed, 7 Nov 2007 14:58:42 -0000
hi,
sounds like you are in a pickle alright.
could you host internet explorer inside your Win32 app and then use that in turn to host your winforms code?
tim
"S Clough" <sccNOSPAM@xxxxxxxxxxxxxx> wrote in message news:%23OD3McGIIHA.4592@xxxxxxxxxxxxxxxxxxxxxxx
The help page ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.V80.en/dv_fxmancli/html/0a26d99d-8135-4895-8760-c9a2b5f67f14.htm states that:
"with the exception of Microsoft Internet Explorer & MFC, Windows Form controls are not supported in applications designed to host ActiveX control. Other applications and dvelopment tools that are capable of hosting ActiveX controls, including the ActiveX test containers from versions of Visual Studio that are earlier than Visual Stueio .NET 2003, are not supported hosts for Windows Forms control. These constraints also apply to the use of Windows Forms controls through COM interop. The use of a Widows Forms control through a COM callable wrapper is supported only in IE."
Alas I discovered this too late, and now I have a problem. My company has a complicated piece of software written in Delphi 5. Part of this is a display engine, which needed to be updated, as it's being given new data. Enter me, and I write a display engine in Visual Studio 2005, C#.NET, with OpenGL. I've written it as a dll, and display it in a test harness, also in C#.NET, works fine as you would expect.
I now need to get my dll, the basis of which is a Windows Forms Control, to display in the Delphi app, but I'm having no luck, and have been hitting my head against brick walls for weeks and weeks. I've made it into a COM assembly, but it's just no good as windows forms aren't supported through this.
I've tried downloading the trial versions of Delphi 2006 & 2007 to use a intermediaries, but Delphi 2006 uses the framework 1.1 and my app is written in 2.0, and delphi 2007 doesn't support windows forms.
I've tried asking the Delphi newgroups but no luck, so I've come here. Does anyone know a way of getting my windows forms control to appear in a win32 application?
Thanks in advance,
S Clough
.
- Follow-Ups:
- Re: Windows Forms app in Win32
- From: S Clough
- Re: Windows Forms app in Win32
- References:
- Windows Forms app in Win32
- From: S Clough
- Windows Forms app in Win32
- Prev by Date: Re: custom controls
- Next by Date: Re: Windows Forms app in Win32
- Previous by thread: Windows Forms app in Win32
- Next by thread: Re: Windows Forms app in Win32
- Index(es):
Relevant Pages
|