Tushar_Patil wrote:
I want to design ASP.NET application that will take data from that VC++ application [capitalization fixed — SA]
Well, you cannot probably take data from "that" application, because "that" application is probably not designed to be a library, and it is not a .NET assembly.
First, you need to transform your C++ application to a DLL and export some API. You have two options.
First option is: creating the API only using primitive types, wrapping this API in a .NET assembly using P/Invoke. See
http://en.wikipedia.org/wiki/P/Invoke[
^].
Second option: you can re-write your legacy C++ application into C++/CLI class library. You can 1) rewrite all the code from C++ to C++/CLI, 2) you can create a mixed mode assembly (managed+unmanaged) and add some manages code "ref" classes and/or structures to your unmanaged code. On top of this DLL, you should have managed API which you can use by your ASP.NET project. You should reference this mixed-mode or pure-managed assembly as any other .NET assembly. For more detail, see:
http://msdn.microsoft.com/en-us/library/x0w2664k.aspx[
^].
The rest of it depends on the functionality you want get get from your Web site. (Please see my questions in my comment to the question.)
—SA