Thanks for your reply, Bryan. What I'm trying to do is to make some
legacy apps I developed years ago available on the web. I did some
research and found that in VS 2003 only support wrapping COM
compliant apps. Is there any way to wrap those legacy apps and
make them look like COM?
Thanks again.
> While it is possible to do so, it will be difficult at best to keep such
> an application running in the long term. There are better ways of
[quoted text clipped - 9 lines]
> > Is there a way in VS .Net 2003 to wrap an existing application, say a DOS
> > app., as a web service and publish it? I'd appreciate any response.
Bryan Phillips - 19 Oct 2006 07:22 GMT
If you don't mind writing some managed C++, you could wrap anything that
runs in the Win32 subsystem without much problem. I write a lot of
managed C++ wrappers for complicated Win32 functions especially if they
use structures. It is also easier to use the header file than to write
a function signature, p/invoke style, to match the exported function.
In the end, it produces a .Net class library that I can reference from
C# or VB.Net. You don't need to make the legacy code look like COM.
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> Thanks for your reply, Bryan. What I'm trying to do is to make some
> legacy apps I developed years ago available on the web. I did some
[quoted text clipped - 17 lines]
> > > Is there a way in VS .Net 2003 to wrap an existing application, say a DOS
> > > app., as a web service and publish it? I'd appreciate any response.