Hi,
I'm trying to call a function written in a dll file, from ASP.NET 1.1 web application.
Part of code in global.asax:
<%@ Import namespace="WPPSYSTEMDLLLib" %>
Sub Application_OnStart()
Dim Value As Object
Application("WPPSystem") = new WPPSystem() <-- the name of the class
Res = Application("WppSystem").INIStrGet("WPP", "StartPage", "", Value, "c:\wpp.ini", 0)
I get the following error:
System.NullReferenceException: Object reference not set to an instance of an object
Application("WPPSystem") is not null. It does get the instance of object.
Any idea whats wrong?
Thanks a lot,
zvikorn