View Single Post
Old 31st July 2012, 11:03   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Actually the full signature now is:
code:
extern "C" void __declspec(dllexport) name(HWND hWndParent, int string_size, TCHAR* variables, stack_t** stacktop, extra_parameters* extra)
(backwards compatible). As for your question, the parameters you pass in the script are not passed as parameters to the plug-in function. Instead they are passed via the NSIS stack. You use popstring to grab them.

Have you had a look at the System plug-in? You can call normal DLLs with that; would save you converting your one to an NSIS plug-in.

Stu
Afrow UK is offline   Reply With Quote