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:😁irs(t "PROG") t .r1"
MessageBox MB_OK|MB_ICONSTOP "Prog $1."
The above just returns a number not the path.
calling a dll
3 posts
Is the dll .NET? If so then you have to write a non .NET wrapper to call it. This could be a dll or a command-line executable.
Stu
Stu
No its c++ and I was calling via interop as it COM, does this help?