You can refer C++ DLL in .NET program and so utilize the methods in it.
Herez an example to use linear search done in C++, used in ASP .NET button click event as:
Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click
Dim MorphID As Integer, rc As Short
rc = LNSearch.InitializeLangData("D:\DataFiles",MorphID)
End Sub
Public Class LNSearch
Declare Auto Function InitializeLangData Lib
"D:\Release\LNSearchDLL. dll" (ByVal DictPath As String, ByRef MorphID As Integer) As Short
End Class