Old 16th December 2008, 14:41   #1
RBIBBY
Junior Member
 
Join Date: Oct 2008
Posts: 8
Delphi Plugin

Hello,

I want to write a plugin using Delphi.

I have found the example exdll.dpr but I wondered if there was some documentation somewhere that explains what the requirements for NSIS plugins are?

Thanks.

Richard
RBIBBY is offline   Reply With Quote
Old 16th December 2008, 18:47   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
just a dll with one or more exported functions (cdecl) the parameters are optional, but you need them if you need access to the stack or variables

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 17th December 2008, 11:50   #3
RBIBBY
Junior Member
 
Join Date: Oct 2008
Posts: 8
ok.. but is there some documnentation that describes how the paraneters defined.

I mean I can look at the code, but i want to understand why as well.

Richard
RBIBBY is offline   Reply With Quote
Old 17th December 2008, 11:51   #4
RBIBBY
Junior Member
 
Join Date: Oct 2008
Posts: 8
i mean there is lots of documentation about plugins... but no so much how to write them,
RBIBBY is offline   Reply With Quote
Old 17th December 2008, 18:14   #5
Speed78
Senior Member
 
Join Date: Jul 2003
Location: Germany
Posts: 114
Hi,

take a look at the plugin source of my plugin. This plugin is written in Delphi and can help you. You can found the "NSIS Simple Service Plugin" in the wiki.

Best regards

Rainer
Speed78 is offline   Reply With Quote
Old 17th December 2008, 18:26   #6
RBIBBY
Junior Member
 
Join Date: Oct 2008
Posts: 8
Hello,

Thanks for that. The code is very easy to understand. The best part is I am already using your plugin in my NSIS Install Script.

/Richard
RBIBBY 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