Old 25th November 2005, 12:40   #1
BeginningDev
Junior Member
 
Join Date: Nov 2005
Posts: 2
Question How to develope a plugin for NSIS with Dev C++?

Hi,
i'd like to ask how to develope a plugin for NSIS with Dev C++. And how do i pass a variable from plugin to NSIS program? I have look this thread:

http://forums.winamp.com/showthread....hreadid=173485

But i still have no idea.
May anyone give me some guideline?
Thanks a lot.
BeginningDev is offline   Reply With Quote
Old 25th November 2005, 12:49   #2
Instructor
Major Dude
 
Join Date: Jul 2004
Posts: 671
See "${NSISDIR}\Contrib\ExDLL\" in nsis-2.11-src.tar.bz2
Instructor is offline   Reply With Quote
Old 25th November 2005, 12:58   #3
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,220
Take one of plug-ins with source code and rename it.
Common way to return value is push it to stack in plug-in and pop in the script. You also have access to $0 - $R9 and some other vars from plug-in (see exdll.h).
Takhir is offline   Reply With Quote
Old 26th November 2005, 13:59   #4
BeginningDev
Junior Member
 
Join Date: Nov 2005
Posts: 2
Thanks a lot. It's really a great help. Thanks.
BeginningDev is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

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