Page 1 of 1

NullString

Posted: Wed Apr 06, 2011 6:47 am
by smilyface
Hello,

for a special function in a c-dll I have to concat some strings with a NullString ('\0') for an input parameter.
What I want is:
Set Variable Parameter1 to File1.dll$NullString$File2.dll$NullString$File3.dll$NullString$$NullString$

But there is no pre-defined variable like $NullString$.

What is the best way to solve the problem?

Best regards,

Frank

Re: NullString

Posted: Wed Apr 06, 2011 11:55 am
by giaviv
Dear Frank, this is not possible unfortunately - there is no way to deliminaye a \0

Re: NullString

Posted: Wed Apr 06, 2011 1:55 pm
by smilyface
No problem. I found a way.

Frank

Re: NullString

Posted: Wed Apr 06, 2011 4:33 pm
by giaviv
Dear Frank - please share with us!

Re: NullString

Posted: Thu Apr 07, 2011 2:02 am
by smilyface
No problem. I concatenate the strings in InstallAware with a | and then I replace it in my c-dll with a '\0'.

Frank

Re: NullString

Posted: Thu Apr 07, 2011 5:53 am
by giaviv
Thank you Frank!