Archive: Failed to retrieve a text after calling a dll


Failed to retrieve a text after calling a dll
Here is what my dll function look like:

int my_function( char * str)
{...}

Now I am calling like this from my script:

StrCpy $0 ""
System::Call 'my_lib.dll::my_function((*t .r0) i .r1 ?u'

but then $0 remains empty even if my function is returning something. What did I do wrong ?


Now it is working...

System::Call 'my_lib.dll::my_function((t .r0) i .r1 ?u'


Do you really need those two "("'s?