NullString

Got a problem you cannot solve? Try here.
Post Reply
smilyface
Posts: 12
Joined: Mon Jun 21, 2010 2:55 am

NullString

Post 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
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: NullString

Post by giaviv »

Dear Frank, this is not possible unfortunately - there is no way to deliminaye a \0
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
smilyface
Posts: 12
Joined: Mon Jun 21, 2010 2:55 am

Re: NullString

Post by smilyface »

No problem. I found a way.

Frank
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: NullString

Post by giaviv »

Dear Frank - please share with us!
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
smilyface
Posts: 12
Joined: Mon Jun 21, 2010 2:55 am

Re: NullString

Post 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
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: NullString

Post by giaviv »

Thank you Frank!
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply