i have compiled the test that comes with the dll, and every single call fails. the error roughly reads "cannont load c:\test\sysinfo.dll"
the output i get instead of the expected numbers is the the name of the 'attribute' i was looking for. eg for
The variable $VerOSMajor will end up containg the string "MajorVersion"
!insertmacro GetSysVer 'MajorVersion'
StrCpy $VerOSMajor $9
it works fine on my work machine, winXP, but i just formatted and setup a Win2k Sp3 machine and it fails on that.
i can only assume it's the line, from the example with the dll, containing CallInstDLL in
that is failing, since i see nowhere else for the error to occur.
!macro GetSysVer VALUE
Push ${VALUE}
CallInstDLL "$R0" GetSystemVersionValue
Pop $9
DetailPrint 'GetSystemVersionValue: ${VALUE}: $9'
!macroend
i've tried hardcoding a location for the dll, and researched the archives for anything relating to 'sysinfo' or 'CallInstDLL' but with no solution.
help 🙂