Thanks in advance
Thanos Karras
tha...@reef.cis.ufl.edu
Not according to Petzold. He uses it just fine. "wsprintf" has the
advantage that it's in a Windows DLL and doesn't add to the size of your
EXE file.
: If so, how do I format a string that contains floating point
: values?
:
Use sprintf without fear for them. I suppose if you use it once it's
in your program and any other uses add nothing to the EXE size.
However, prudence with an eye on the future would indicate using wsprintf
whenever possible. For instance you might want to split an application
up, and if sprintf were used throughout, all the pieces would need a
copy linked in. Confine it to where you need it, and you might be
able to ensure that only one copy was required.
:
--
||)) There is no truth to the rumor that:)))))))))))))))))))))))))))))))))))|
||)) Lotus are suing Apple for copying the look and feel of their lawsuits )|
||))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))|
||Dave Jones (d...@ekcolor.ssd.kodak.com) | Eastman Kodak Co. Rochester, NY |
Just remember to be careful about near/far pointers with sprintf...
And remember to *always* use far pointers with wsprintf...
--
Scott Harper Optical Data Systems, Inc.
sc...@ods.com 1101 E. Arapaho Road
(214) 234-6400 Richardson, TX 75081