> I have doubt regarding .NET.
> I have a tool which was developed on VC++ 6.0(Win32 Application ).
[quoted text clipped - 9 lines]
> existing VC++ core client into DLL and add it as a reference to .NET
> project.
Well, IMO, the most straight-forward thing to do is to expose a DLL
interface to the library. That done, you can use the facility known as
Platform Invoke from C# as described here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vcwl
kplatforminvoketutorial.asp
and here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conacloserlookatplatforminvoke.asp
Alternatively you can use Managed C++ (or C++/CLI if you use VS.Net 2005 in
beta now) to create a managed class which can take advantage of what is
called "It just works" (aka IJW) which describes the ability of managed C++
to call unmanaged C++ almost by magic. No other .Net language lets you do
that. That done, your managed C++ class can be consumed by C# clients or
VB.Net clients or any other managed client.
There are issues, however, in developing mixed mode applications. See this
for the details:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vcconMixedDLLLoadingProblem.asp
Regards,
Will