Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

NthArgument in v17?

May
13,035
174
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]
 
Have I got this right? ...

NthArgument inserts NULs in pszLine if and only if ppNthPtr is NULL.
 
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.
 
Back
Top
[FOX] Ultimate Translator
Translate