Converting VB6 DLL call to asp.net
I need to convert a VB6 application to a ASP.NET web application. The VB6 application call a dll written in C++. The DLL does not get register. Instead, it must be in the same directory as the application.
Below is one of dozens of function calls that need to be convert.
Can someone tell me/explain to me how the code below should be written in ASP.NET?
Private Declare Function swe_azalt Lib "swedll32.dll" _
Alias "swe_azalt_40" ( _
ByVal tjd_ut As Double, _
ByVal calc_flag As Long, _
ByRef geopos As Double, _
ByVal atpress As Double, _
ByVal attemp As Double, _
ByRef xin As Double, _
ByRef xaz As Double _
) As Long 'geopos must be the first of three array elements