I am having major problems calling a dll (which is not a true COM dll & has no associated type library)
I have put the dll in the bin directory of the application, give the appropriate user rights for asp.net user to be able to access it.
The same code works from an Windows Application but when run from ASP.NET Application fails. It doesnt give any error message it just will still be running doing nothing 30 minutes later even an hour later.
You are not able to register this dll as it is not a true com dll.
I have put the dll in the bin directory of the application, give the appropriate user rights for asp.net user to be able to access it.
Code:
using System.Runtime.InteropServices;
...
...
[ DllImport( "SLGXAPI.Dll")]
public static extern int slapi_Login(string userName, string password);
int loggedIn = SalesLogixDatabaseFunctions.slapi_LogInto("Database", "User", "Password");
The same code works from an Windows Application but when run from ASP.NET Application fails. It doesnt give any error message it just will still be running doing nothing 30 minutes later even an hour later.
You are not able to register this dll as it is not a true com dll.