calling a dll
Hi
I’m new to NSIS and getting it to do things slowly!
The thing I can’t get my head around is calling an external dll!
Location is installed on my test system and will be preexisting on all system the installer is run on.
In VB.net i would do the following:
Dim Loc As LOCATION.Dirs
Loc = New LOCATION.Dirs
myfolder = Loc.PROG
and after this myfolder contains the path returned to myfolder.
I’m trying
System::Call "LOCATION::Dirs(t "PROG") t .r1"
MessageBox MB_OK|MB_ICONSTOP "Prog $1."
The above just returns a number not the path.