'----- replace line 16 (USING Afxnova) with this block of lines ----
#include once "AfxNova/CIniFile.inc"
USING Afxnova

declare function get_webrootpath() as DWstring
declare function get_webrootpuri() as DWstring

function get_webrootpath() as dwstring
   
DIM cIni AS CInifile = "AfxNovaWeb.ini"
    DIM wszName AS WSTRING * 260
    wszName = cIni.GetString("AfxNovaWeb", "Root")
    get_webrootpath=str(wszName)
end function

function get_webrootpuri() as dwstring
    DIM cIni AS CInifile = "AfxNovaWeb.ini"
    DIM wszName AS WSTRING * 260
    wszName = cIni.GetString("AfxNovaWeb", "PUri")
    get_webrootpuri=str(wszName)
end function
'----- replace line 16 (USING Afxnova) with this block of lines ----
