G
Guest
I am trying to do some calls to unmanaged DLL that I have written. I am doing
it in the Session_Start of my Global.asax.cs.
The first time I call a function in my DLL it returns correct string value.
The return type in unmanaged DLL is LPSTR (tried LPTSTR too). There are no
in/out params in the functions, just a return value.
The second time (and onwards) when I try to make a call to the same
function, I get an exception "Object reference not set to an object....)." I
am trying this by loading multiple page requests to the web app.
Any ideas where I should look into to resolve this one.
Thanks
Ravneet
it in the Session_Start of my Global.asax.cs.
The first time I call a function in my DLL it returns correct string value.
The return type in unmanaged DLL is LPSTR (tried LPTSTR too). There are no
in/out params in the functions, just a return value.
The second time (and onwards) when I try to make a call to the same
function, I get an exception "Object reference not set to an object....)." I
am trying this by loading multiple page requests to the web app.
Any ideas where I should look into to resolve this one.
Thanks
Ravneet