How to embed a win32 application in a .NET application

U

Udi

Hi All,
I need to embed the ethereal process inside my .NET app. ( http://www.ethereal.com
)
I assume the best solution would be getting hands on the ethereal main
window form
and host it in my app. (BTW - unmanaged code...)
However, I'm not sure how easy it is or even if its possible, so I was
thinking about launching the ethereal process from my application and
"just" displaying it's main form in one of my application's panes. (My
app contains a docking manager in it).

Any ideas on how to do it?
Thanks!
 
N

Nicholas Paldino [.NET/C# MVP]

Udi,

You can always try to call SetParent through the P/Invoke layer. That's
probably where I would start, but in general, apps that embed other apps
within them are never a good idea, as the application is within it's rights
to assume that it is in control of the main window.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top