>> How to use the C++ header files in C#.Net windows application as a template and use it in .Net application ?
Wrap the unmanaged DLL in managed C++ as a mixed mode assembly and then call the managed C++ from C#. See below as a simple example
http://msdn.microsoft.com/en-us/library/x0w2664k.aspx"Mixed assemblies are capable of containing both unmanaged machine instructions and MSIL instructions. This allows them to call and be called by .NET components, while retaining compatibility with components that are entirely unmanaged. Using mixed assemblies, developers can author applications using a mixture of managed and unmanaged functionality. This makes mixed assemblies ideal for migrating existing Visual C++ applications to the .NET Platform.
Alternative. It is possible to call exported function in DLLs and EXEs using Interop Services. If you can modify the code of the EXE to expert the functions you need to call you can use DllImport to import them into your C# code.
http://www.csharphelp.com/archives/archive52.htmlhttp://msdn2.microsoft.com/en-us/library/9h658af8(VS.80).aspx