Re: Windows Forms app in Win32



I haven't looked into that option as I just assumed the functionality would
be restricted, but maybe it's worth me checking out.


"Tim Mackey" <tim.mackey@xxxxxxxxxxxxxxxx> wrote in message
news:C4AF3530-3FDD-4216-B327-381CFB9E63EA@xxxxxxxxxxxxxxxx
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






.



Relevant Pages

  • Re: older games dont work
    ... the support of my work have it and will burn a CD to me. ... and any other tips to make this game works will be great. ... Windows 95 including but not limited to: ... to map a pedal as a control ...
    (microsoft.public.windowsxp.games)
  • Re: SP3 potential problem
    ... Catalyst Control Center at ... Open Windows Explorer and check for the two files. ... I have not been able to download Net Framework ... item that appear on the support site for my machine. ...
    (microsoft.public.windowsxp.basics)
  • Re: Problem with slower startup of XP windows SP3
    ... see Help and Support Center at ... "Event Viewer in windows: ... (Source: Service Control Manager): ... When you hibernate your computer, Windows saves the contents of the ...
    (microsoft.public.windowsxp.general)
  • Re: Problem with slower startup of XP windows SP3
    ... "Event Viewer in windows: ... (Source: Service Control Manager): ... see Help and Support Center at ... Close all Internet Explorer windows and other applications. ...
    (microsoft.public.windowsxp.general)
  • Re: Problem with slower startup of XP windows SP3
    ... Download the latest version of the Windows Update agent from here: ... Log on as an user with administrative rights and open Internet Explorer ... Support web page - downloads and drivers and enter in your machine's ... Start the Control Panel Power Options applet (go to Start, Settings, ...
    (microsoft.public.windowsxp.general)

Loading