View Single Post
Old 30th July 2012, 07:59   #4
Junior Member
Join Date: Jul 2012
Posts: 2
Originally Posted by T.Slappy View Post
What about dlltest::testprocedure /NOUNLOAD "This is an DLL MessageBox with NSI-parameter" ??
I tried that, but it is still crashing.
Also /NOUNLOAD was deprecated in NSIS 2.42 (but still works).

Originally Posted by Anders View Post
Try ProcedureCDLL
Yes, that's it
Thank you very very much! I tried it for several hours, but did not got it.

I researched a little bit more, for all who are interested: NSIS-DLL's must use the cdecl calling convention (Windows-default is stdcall) whereas the calling function cleans the stack (at stdcall the callee cleans the stack).
sepp2012 is offline   Reply With Quote