![]() |
#1 |
Junior Member
Join Date: Jan 2011
Posts: 2
|
Failed to call dll.
Hi all,
I would like to call an external dll using the system.dll plugin, and I could manage it with documents and samples. I could load dll only with my development PC, but always failed other PCs. It seems failed to load dll. I checked whether the dll file exist under the $TEMP. What should I check more ? --------------------------------------------------------------------------------- SetOutPath $TEMP\Ds File C:\Lib\InstallWrapper.dll System::Call 'InstallWrapper::CallTest(i, *i) i(r0, .r1) .r5' DetailPrint 'return : $5' DetailPrint 'pointer : $1' --------------------------------------------------------------------------------- Thanks, |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
|
Open you dll in http://www.dependencywalker.com/ on the system that fails, you are probably missing C runtime or something like that
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jan 2011
Posts: 2
|
Thanks,
It resolved. |
![]() |
![]() |
![]() |
|
Tags |
dll, plug-in |
Thread Tools | Search this Thread |
Display Modes | |
|
|