How to make a C++ application available on the Web

F

Farzin Imani

Hi all,
I am new to web services. I have written an application program in C++ that
I would like to make it available through the web. The application program
gets a short text string as its input and generates a JPEG image. How can I
make it available through web services?
I have read some books for SOAP and Web Services in Java and C# but I have
not seen a practical book for C++. If .NET is the fast way please let me
know where should I start.
Thanks,
Farzin
 
L

Lee H Fuller

Farzin Imani said:
Hi all,
I am new to web services. I have written an application program in C++ that
I would like to make it available through the web. The application program
gets a short text string as its input and generates a JPEG image. How can I
make it available through web services?
I have read some books for SOAP and Web Services in Java and C# but I have
not seen a practical book for C++. If .NET is the fast way please let me
know where should I start.
Thanks,
Farzin

You can use ATL Server to create a web service in unmanaged C++, which
basically gives you an ISAPI filter and thus is independent of
ASP.NET. Alternatively, you could knock up a C# .asmx web service,
which then calls your C++ code either via interop / COM (wrapping your
C++ code into a COM component or a vanilla DLL) or move your C++ into
being managed code (and thus make use of the .NET libraries).

Here are some articles to get you going on ATL Server:

http://www.codeproject.com/atl/atlserver.asp

http://msdn.microsoft.com/library/d...hroughbuildingwebservicewithunmanagedcode.asp

Cheers,

Lee.
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top