--- In [email protected], Vishva <vishv...@...> wrote:
>
> Well, I think Paul is right, destLong should be a pointer to a long
> so the swscanf code should be like..
> 
> ret = swscanf(srcStr, _T"%s=%lu", destString, &destLong);

...but the format string is incorrect as described previously, so it should be:

ret = swscanf(srcStr, _T"%[^=]=%lu", destString, &destLong);

(assuming the _T is correct)


Reply via email to