Quote:
Originally Posted by T.Slappy
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).
Quote:
Originally Posted by Anders
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).