Old 6th January 2011, 06:47   #1
Eddie Shim
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,
Eddie Shim is offline   Reply With Quote
Old 6th January 2011, 19:13   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
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
Anders is offline   Reply With Quote
Old 7th January 2011, 01:41   #3
Eddie Shim
Junior Member
 
Join Date: Jan 2011
Posts: 2
Thanks,
It resolved.
Eddie Shim is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
dll, plug-in

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump