Creating a Web Wrapper for COM and OCX
<p>Today we have a windows application that, using an OCX, creates a web page (visible by a WebBrowser control in a small .NET WinForm application) and communicates through COM to the main application/client. (not relevant but this is Pascal)</p>

<p>I'm currently responsible to re create this application in a web environment so we can have the same functionality shared through Web as the user can see the same in a Web Browser.</p>

<p>The Windows application has almost 4 years on it and I need to re create everything from scratch, and all the bugs/features find in the future in the Windows Application I have to re create them again in the Web...</p>

<p><strong>Ohh well, you can see where this will end.</strong></p>

<p>I was thinking... is there any way I can create a Wrapper, even using 3rd party commercial objects, to:</p>

<ul>
<li>Communicate with the COM Object</li>
<li>Can expose the content of the OCX</li>
</ul>

<p>(this in my most confortable language, ASP.NET C#, but other are welcome)</p>

<blockquote>
  <p>I was thinking out loud, can this be accomplish with a Java Applet? Silverlight 4?</p>
</blockquote>

<p>Any ideas or any point to the right road will be appreciated. </p>
