Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Delphi Plugin (http://forums.winamp.com/showthread.php?t=301123)

RBIBBY 16th December 2008 14:41

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

Anders 16th December 2008 18:47

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

RBIBBY 17th December 2008 11:50

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 17th December 2008 11:51

i mean there is lots of documentation about plugins... but no so much how to write them,

Speed78 17th December 2008 18:14

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

RBIBBY 17th December 2008 18:26

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


All times are GMT. The time now is 04:31.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.