NthArgument in v17?

May 20, 2008
12,332
134
Syracuse, NY, USA
How do I get a pointer to the Nth argument without NUL terminating it? I want a pointer to the tail of a string starting at the Nth argument. With v16, this was sufficient; it doesn't wotk in v17.
Code:
WCHAR *pTail = NthArgument(szString, N, NULL, NULL);[CODE]
 
NthArgument (obsolete & deprecated in v17) never inserts any NULs into the line. (That is done by a different function in the parser.)

There isn't any way in v17 to use NthArgument to return an offset, without specifying the third (buffer or NULL) and fourth (pointer offset) argument.
 

Similar threads