I've developed a static C library: NSISWS.a.
NSISWS.h->
NSISWS.c->extern unsigned char* activateLicence(char* licence_type_code, char* customer_code);
I've copied NSISWS.a file on the same directory of my NSIS script. In order to call this function I use System plugin as follow:
unsigned char* activateLicence(char* licence_type_code, char* customer_code)
{
unsigned char* result;
result = "fdfdfdfdfdfdfdf...";
return result;
}
The result is:
System::Call "NSISWS::activateLicence("bl", "bl") c .r0
DetailPrint "Licence: $0"

Can you help me please?
What Am I doing wrong?
I will appreciate your help a lot.