Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Strings


1 reply to this topic

Ioana

Ioana
  • Members
  • 41 posts

Posted 08 December 2004 - 08:45

Hello,
Could you tell me how can i read a string variable ( passed from a DLL ) witch contains more then one NULL terminated string?
Thank you.

Perotin

Perotin
  • Full Members
  • 407 posts

Posted 08 December 2004 - 09:33

CODE

// svResult is the "multi-string"-string with NULL as delimiter between the strings
listID = ListCreate( STRINGLIST );
svTemp = "";
StrGetTokens( listID, svResult, svTemp );

Then you have a list with all the string that the dll passed in one string.
You may look into the online help for StrGetTokens and GetProfString.

Edited by Perotin, 08 December 2004 - 09:33.

Gruß / regards
Thomas