the benefits of Pascal string?
Windows API requires pascal strings to be converted  to c-style strings (via Pchar)

The question: What is the meaning of using pascal strings when they always need to be converted to c strings?

How are pascal strings used and stored?? (when they always  need to be converted to c strings?)  

[According to Joel][1]  ASCIIZ is one of the worst ways to store strings, and it should be avoided.
Then, why does Windows API use and require it?

Or did i misunderstand something?





  [1]: http://www.joelonsoftware.com/articles/fog0000000319.html
the benefits of Pascal string?
===

Windows API requires pascal strings to be converted  to c-style strings (via Pchar)

The question: What is the meaning of using pascal strings when they always need to be converted to c strings?

How are pascal strings used and stored?? (when they always  need to be converted to c strings?)  

[According to Joel][1]  ASCIIZ is one of the worst ways to store strings, and it should be avoided.
Then, why does Windows API use and require it?

Or did i misunderstand something?





  [1]: http://www.joelonsoftware.com/articles/fog0000000319.html