thanks.
--
---------------------------
Time to get it done!
Remove (d*elete*) to reply
>swprintf is for wide characters(I think)
Good think.
To clarify _and_ confuse:
wsprintf is a similar function that accepts TCHAR arguments (switches
depending on whether UNICODE is defined), and has somewhat different
behavior.
>
>--
>
>---------------------------
>Time to get it done!
>
>Remove (d*elete*) to reply
>
>
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com
sprintf is implemented by the C runtime. wsprintfA (aka wsprintf if you're
writing an ANSI application) is implemented in USER32 by Windows. wsprintf
can output a maximum of 1024 characters and can't handle floats or doubles.
Similarly, swprintf is C, whereas wsprintfW (aka wsprintf if you're writing
a Unicode app) is Windows.
--
Tim Robinson (MVP, Windows SDK)
http://www.themobius.co.uk/