Someone's probably already though of this but I thought I might post it for other people to check out. I was trying to get values returned from an API function that returns a null delimited list of strings (GetPrivateProfileSectionNames) and I thought why not dump the returned string into a character array and rebuild the strings afterwards. It worked like a charm, and it will solve a lot of other issues I've had with null delimited lists from API calls. Here's the code for your perusal, please excuse the lack of major commenting.

I apologize if this is obvious, but I thought it was a pretty interesting revelation.

Have a good day...

Chris Fraser.

[This message has been edited by Zaed (edited 08-04-2000).]

[This message has been edited by Zaed (edited 08-04-2000).]